#zigbee-archived
1 messages · Page 42 of 1
My sonoff devices have been pretty good about picking back up the network, I haven't tried any of the in wall versions
I'm using ZHA and it's been pretty good at recognizing devices that have already been paired
Based on the wiring diagram I found it looks like it's always powered and handles the switches
The FP1 actually does react fast if you use the right event. The YouTubers that reviewed it all missed this but robc pointed it out a while back
I changed my automations to use them and now I’d say it’s probably as fast as my hue motion sensors
Yup I mentioned to them too 🤷🏻♂️
To the YouTubers? Is there a super secret line of communication to the cool kids? Edit: I’ll take that as a yes.

I know this might have already been discussed, but has anyone else had issues with the IKEA scene or on/off buttons? Mine will work maybe 25% of the time
The IKEA remotes I have work fine but the smaller button devices don't seem to send information after they're added to the network
remove and readd maybe. dunno but I've seen weird behavior with the ones I've paired until it's "all good" too but after that no issues
Z2M or ZHA?
ZHA with the Sky connect, I've tried re-adding but I still get the non responsiveness
Seeing many issues with ZHA on some of the latest versions 2023.4 101 issues open. Wondering if this is just coincidental or if the issues I'm seeing are part of ZHA and I should just quit and double down with Z-Wave.
- Brand new Aqara sensors losing 25% battery in 1-2 days
- Hue bulbs initially paired, but now unavailable & won't re-join after deleting
- Powered devices also go unresponsive
- Reconfigure doesn't complete successfully, even for devices that appear responsive
Rather frustrating for such simple devices; my HUE bridge is 6 years old and I was hoping to ditch it completely after wiping all bulbs and disconnecting it in favor of my Nortek HUSBZB-1 stick, but now connections seem so unstable I'm re-considering Zigbee entirely. Any guidance appreciated.
I've noticed some hiccups with the latest update, but overall I'm happy with the ZHA performance
There does seem to be pretty frequent updates. I find I need to do a full system reboot to clear any weirdness
I was having issues that I couldn't track down until the first April update, then I got a repair warning that my thread channel wasn't the same as my ZigBee network channel. My ZigBee was on 20, and the thread default's to 15. I had to remove the thread network and readd it
This might just be a skyconnect problem
I had been having issues of scenes not fully starting or transitioning properly
Get rid of the husbzb. The radio in that thing is old as shit
the hue bridge is way better than that
even with my sonoff 3.0 stick the hue bridge just performs better with hue bulbs
@forest saddle you can turn the switch off and on 10 times and it will put the zbmini into pairing mode, this works for zbmini-l not sure about zbmini as that has never gone offline for me
Thats surprising given they were both purchased around the same time... I suppose I can keep my Z-Wave network running from it but just migrate Zigbee to get the latest and greatest? Any recommendations?
The Sonoff 3.0 stick seems fairly popular
ZHA is a popular integration so there are going to be a ton of opened issues. Device joining/unresponsiveness issues, however, are not controlled by the integration and indicate network-level problems, likely stemming from interference. What exact Aqara sensors are you referring to?
Actually zwave is even worse with that stick
@grim igloo I almost gave up on zwave entirely because of that stupid nortek
hey everyone, I'm trying to debug my new Aeotec (formerly SmartThings, also Samjin) multipurpose sensor, the door sensor using the magnet works fine, but it does not properly update temperature or acceleration (I can force update temperature by looking up the TemperatureMeasurement measured_value attribute, but it won't do it on its own)
In my head Aeotec are zwave only. Didn’t realize they had zigbee stuff
Click the "Reconfigure" button
was hoping to use it to detect when my dishwasher is running, I'm not sure the vibrations will be enough to trigger it but it hasn't updated the temp either and it rose by over 10C over an hour
yeah, I think the zigbee stuff they have is recent, there's way less details on their website
hmm, half the clusters failed on binding during reconfiguration, but reporting is fine
Make sure the sensor is awake
Click buttons on it, move it around, trigger the door sensor's reed switch with a magnet, etc.
I'll retry once I can manipulate it, hopefully simple as that
even with opening/closing the door repeatedly half the bindings fail in the reconfig but in spite of that it looks like it's actually updating both acceleration and temperature now, so I'll see if it lasts
I'm having the same issue with Hue bulbs, can't get them to show up. This is a new HA Yellow setup. Came here to ask about it.
I'm trying to get my Hue bulbs connected. I have reset them with the remote. They were previously paired with a Nortek stick with no issues. Trying to get them working with an HA Yellow. Even practically next to the HAY the bulb doesn't show up.
Where is your Yellow positioned? Near any SSDs, USB 3.0 devices, WiFi routers, etc.?
Not near wifi... SSD? No, I don't think so unless m.2 NVMe counts.
USB 3.0 devices is pretty vague. 🙂
Any active USB 3.0 ports
I was able to pair an old Iris motion sensor.
But I can try moving the yellow away from any other equipment. 🤷
If the bulbs aren't trying to join the Yellow's network, it usually means one of three things: they haven't actually been reset, the Yellow isn't permitting joins, or there is too much interference.
No auto scan for zigbee yet for zha right?
What do you mean by "auto scan"?
It's been in stable since 2023.4.0
So he should already be on the best channel if he set it up after that?
@austere patio So let's address those one at a time. I'm fairly certain they are being reset. I have the hue remote (literally got it today, so not paired with anything). Turn on light, hold remote near bulb, hold down power. Bulb turns off, on, and eventually shows green color, then steady white. That should be reset, correct?
What would be an indication of the second thing of Yellow not permitting joins? (I joined the motion sensor just an hour ago)
If you can join stuff, that part works
And as far as interference... It's now practically sitting in the middle of a room by itself. No change.
Leaving just interference or the Hue bulbs not resetting properly. I don't have a Hue remote to test, unfortunately, so someone else that has used it to reset the bulbs may need to chime in.
I believe that’s accurate but a couple of my bulbs I had to reset twice with the remote
If you still have a hub you can join to the hue hub then delete the device in the hue app. That 100% makes it automatically start trying to join a network
That I don't have.
Shouldn’t need to just an option
Btw you’re trying to join bulbs closest to the coordinator first right?
I have one about 2 feet from it.
Try moving it further away
I can join mine rooms away, through multiple walls, so it's not really a distance thing. But it could be if you're way too close.
About 10 feet away now.
And is it a PoE Yellow, or a non-PoE Yellow? If the latter, are you using the included PSU or a generic one?
Non-PoE, included PSU
Moved to 10 feet, no dice. Also tried another bulb in another room. Nada.
Logs don't show anything useful that I can tell.
Which points to the Hue bulbs, unfortunately. Scanning and joining is done by the device, not the coordinator, so if you see nothing in the logs, nothing has attempted to join. Are you resetting the bulbs within a minute of clicking the "Add devices" button?
I don't mean they're defective, it's just that they're likely not resetting properly. I think you can form ad-hoc networks between the bulbs and the remote, without a coordinator in the mix. If you can, find a video or something that shows your exact combination of devices. Even simple ones like bulbs that reset after an off/on pattern aren't easy to get right 😄
I'll take a look.
I’m seriously wondering if there isn’t a hardware defect on certain skyconnect and yellow si chip devices given the amount of people who either have no issues or all the issues and nowhere in between
I think you nailed it @austere patio....
I just hit the power button on the remote... All the bulbs turned off. 🤦♂️
So instead of resetting the bulbs it was pairing them with the remote!
I didn't even know that was a thing
Ya it’s useful for certain scenarios
I'm sure... But not right now! lol
I followed the directions on the z2m site with resetting via remote
Maybe look there and see if those directions differ from what you’ve been doing
I wonder if it's because I have the dimmer with the on/off on the same button?
hi everyone!
My problem is: after 2023.4 upgrade installation lost connect with devices connected router but not coordinator
not just my HA more than 3 home system too. i am using zigbee2mqtt
After upgrade any device can't join, an i can't see anything when i am trying it on th log window
HA upgrades don't have anything to do with Z2M - your problem is unrelated to the update of HA
Check the logs in Z2M
How do I make my hue bulbs default to a normal white when they receive power, instead of turning blue?
I unplugged the zigbee stick and plugged it back, for some reason Zigbee2mqtt created new entities on HA, oldnames + "_2"
like Kitchen_1 became Kitchen_1_2
and I still have all the old entities, that are unavailable
Is there any way to solve this?
It seems that resetting with this remote is not possible. I think I'm going to try the hue-thief with my nortek stick.
I am having a problem with zigbee2mqtt, I installed it as docker container, it connects to my mosquitto server, but when I try to see the web panel I get this error ERR_CONNECTION_REFUSED
why could this be?
as an add-on inside HA or do you mean independent docker containers you're managing?
oh wait you said it connects together. are you trying to see the web panel for Z2M? how are you trying to connect to that?
yes it is a different container I am trying to connect and I get that error
Do you have frontend: defined in your configuration.yaml? Which port?
@fair mountain I converted your message into a file since it's above 15 lines :+1:
that was quick, magic cube arrived.
but pairing it is no bueno.
press button for 5 seconds, get 3 flashes and nothing.
grabbed an extra z31zb and it paired right up.
Hey everybody, I have been trying to install my Tuya Smart Sockets. The guide says "add them to the smart life" app.
The Smart Socket just won't connect to the app, after many resets but INSTANTLY connects to my Zigbee2MQTT web interface the moment I allow it. What gives?
Do I not have to connect it to the app anymore?
How long should it take for a Zigbee network to 'work' again after a firmware updaet? im like 30 minutes in and the controller keeps dropping off.
Would be nice I guess
No…
It's starting to see traffic, but keeps disconnecting:
2023-04-11 17:17:33.967 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD4C8](lumi.sensor_motion.aq2): Update device availability - device available: True - new availability: True - changed: False
2023-04-11 17:17:35.445 DEBUG (MainThread) [zigpy_znp.zigbee.application] Trying to reconnect to socket://192.168.5.100:5678, attempt 21
2023-04-11 17:17:35.446 DEBUG (MainThread) [zigpy_znp.uart] Connecting to socket://192.168.5.100:5678 at 115200 baud
2023-04-11 17:17:35.449 DEBUG (MainThread) [zigpy_znp.uart] Opened socket://192.168.5.100:5678 serial port
2023-04-11 17:17:35.451 DEBUG (MainThread) [zigpy_znp.uart] Connected to socket://192.168.5.100:5678 at 115200 baud
2023-04-11 17:17:35.451 DEBUG (MainThread) [zigpy_znp.api] Toggling RTS/DTR pins to skip bootloader or reset chip
So many guides telling me to connect it to the app first and then to Zigbee
Well you can’t pair to two things at once
Once it’s on your zigbee mesh you control it with hass
Whether the hass app or webui or automations or whatever
The Tuya integration integrates all Powered by Tuya devices you have added to the Tuya Smart and Tuya Smart Life apps.
All Home Assistant platforms are supported by the Tuya integration, except the lock and remote platform.
well sounds good to me 👍 if I dont have to connect it to their app we good
I gotcha, it just got recommended to me I guess in this discord 😅
but for now if it measures the power consumption I am happy
If you search tuya in this discord usually we are good about scaring people away from it
Gonna assume this means the network is trying to 'settle':
im sorry my friend, I got scammed 😦 I guess some Tuya employee really slipped one in there
So what Smart Socket that measures power consumption in the EU would you recommend? My goal is to map out ALL energy consumption per device.
if I ever find the guy that recommended me Tuya, I cant hold myself accountable
wee~ the network is starting to come back
I found the tuya employee that sold them to me but hes a nice guy so its all okay 🙂
magic cube is about to become magic baseball.
?
Are you using the nice blueprint for it?
I'm trying to get it to pair with z2m.
What does the z2m product page say?
That’s what I follow
Not ‘docs’ that come written in broken English from a Chinese company lol
Wow that’s surprising
found a different one. https://www.zigbee2mqtt.io/devices/CTP-R01.html#xiaomi-ctp-r01
Most product pages on there are really good with pairing instructions
Just added 3 hue bulbs using zha. One of the three lights turn on when motion is detected in another room. It's not added in the automation that turns on the bathroom light, and in the log of the hue light it is triggered by service light.turn_on . Any idea what causes the issue and how to remedy this?
just had to keep tapping the button. looks like it is paired now.
When ZHA does an incomplete add I see ..
2023-04-11 18:05:59.480 DEBUG (MainThread) [zigpy.appdb] Error handling '_save_attribute' event with (mac, 1, 0, 5, 'VZM31-SN') params: FOREIGN KEY constraint failed
That there is puddly talk
It won't add a device to the database until it completes the basic initialization, which is just reading model/manufactuer info, endpoints, and clusters. These are logged under DEBUG because they're not errors 😄
Hot damn
did you see my previous re: the coordinator firmware pooping itself after I turn off a bunch of devices?
discord did something weird to it.
If I say puddly backwards three times fast in a mirror do you appear?
I just flashed CC1352P2_CC2652P_launchpad_coordinator_20230410.hex and im waiting for the network to recover
its been an hour lol
It should take a minute, max
with 166 devices?
Device count doesn't really matter all that much beyond routes, which will be rebuilt on demand
Does the network work?
It's working now, kinda
But for the first while Iw as seeing controller disconnects
It was doing this.
and yes im aware USB serial cant be sent RTS
so I either rebooted the machine or reconnected the USB device
With which Hue dimmer did you reset the bulb? Did you hold the reset buttons until the bulb stopped flashing?
Did you try power-cycling the light 6 times? (only works for newer bulbs)
If it’s a Bluetooth bulb, can you add it through the Hue app and then click the „factory reset“ button there? (Then, allow joins with ZHA)
It looks like you upgraded the firmware by just unplugging the stick while ZHA was running and then plugging it back in. It won't resume working until ZHA does a cold start, which will let it restore a backup successfully.
No bt bulbs. V2 dimmer switch. These bulbs are at least 4 yrs old.
I saw ZHA restoring the backup in the logs, and I reloaded ZHA
I've restarted HA like 30 times
So you’re holding the button on the top and on the bottom (until the light stops blinking)?
So my process was:
- Upgrade the stick
- Plug the stick back in
- Restart HomeAssistant
That should be enough
If it's not recovering routes, that's entirely handled by the firmware
the whole zigbee network is kinda screwy. even light switches i have directly bound to light switches are responding slowly
.. bulbs
That definitely isn't controlled by the coordinator
only started since the upgrade of the firmware, so idk what to say
I tried that. It didn't do anything that way. Only by holding the top button OR the bottom button did it do anything.
Did you power cycle the light once before trying the reset process (holding both buttons)?
Absolutely
It’s a security feature to not allow touch link resets after 30 minutes of being powered on
Never more than 30 min for sure. Never more than 5. 😁
Hmm. Resetting on v1 and v2 dimmers is done with holding both the first and fourth button though
So that is supposed to work?
Yes
Did I mess up at some point trying to pair the dimmer? Which did work...
But it will try with doing the top and bottom buttons again.
Well, when you pair the dimmer directly without joining it to a real network first, it’s not reset
Holding the buttons 5–10cm near the socket should work
Right now I think I have the dimmer reset and not joined anymore.
So yeah. I will try with the top and bottom buttons again. Thank you for the guidance.
Oh, I may have misunderstood this. You can join the dimmer to your network and the reset process should still work
Ok. That's good to know.
If you have a v1 dimmer by chance, then also try that
I do not.
What was happening before was that I was pairing the bulbs directly to the dimmer so they weren't even trying to pair with anything else. That's what holding down just the top on/off button on the V2 does.
so he has the new v2 dimmer and it doesnt reset them?
or it should and he's just having issues?
@grim igloo that's what I'd like to know. 😁
Ah yeah. (Then, they won’t join a network)
v2 dimmer should work with holding the first and fourth button very close to the bulb socket
Same as with the v1 dimmer
I'll try that again.
lol and there goes the coordinator again
Will report back tomorrow.
cube is joined and shows up in a card on overview, side updates and action changes. imported the blueprint and it doesn't see the device or entity.
are you using zha or z2m?
there is a different blueprint for each
then directions for adding a helper or two i dont remember
z2m
well i linked to the zha one above lol
New Fw for them just finally came out today too. (not in json provider yet though)
Hi I'm looking for some support/help
I posted in the #general-archived channel just before but...
Fairly recently I picked up a Skyconnect USB stick for Zigbee, and I've successfully connected a couple of devices to it (Both Hue Lightbulbs and Linkind leak sensors)
After everything was connected and vaguely working I couldn't leave well enough alone and saw the update to matter firmware button....
And now the leak sensors don't work
Am I SoL, and in need of downgrading the firmware, or is there a compatibility button I can press somewhere?
The errors are pretty obtuse and seem to be very protocol levelish
json provider? do you mean https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json?
no the inovelli provider for zigpy/zha: https://files.inovelli.com/firmware/firmware-zha.json
I have several Ikea TRADFRI bulbs that have worked fine with ZHA before but the one I just paired is showing up as a switch instead of a light. Is this a known issue? I can't figure out what's going on.
is this a new thing ..?
the docs are lacking on zha and i dont see this anywhere
they contributed it around the time the switches first shipped
OH.
got it 🙂
Inovelli seems super responsive, I had a problem with a stripped neutral in one of the switches and they authorized an RMA with the seller
I think the cube is defective.
it hasn't been seen in 57 minutes.
trying to get an automation working.
t1 pro
I've got sonoff outlets around the house.
I'm 20 feet from the coordinator if that.
when I first paired it I could flip sides and watch that stuff change in z2m.
now nothing.
anyone bother getting a new antenna for the sonoff dongle?
hmm. reddit post is saying they had to update firmware to get the t1 pro to work right.
If a quirk for a ZigBee device becomes available will homeassistant automatically start using it or would I need to do something on my end?
I m trying to get my Hue bulbs connected
it's a signal issue.
walk ouit into the living room where the coordinator is, and it works.
less than 20 feet. 😦
20 ft to your living room. must be nice having so much room lol
ah lol
living room is 13 by I think 18?
one floor or two?
that shouldn't be too bad to cover with signal though
2.4ghz is no problem for wifi.
even 5ghz really
laptop will drop from 5ghz to 2.4ghz if I close the hall door.
is it a steel door lol
oh huh
I just paired my Tradfri Motion Sensor with my Zigbee Controller (Skyconnect) however the motion sensor always just says motion is 'clear'
despite me moving infront of the sensor
What HA version are you running? Also, try "reconfiguring" the sensor (or just re-pairing it).
And the HA Core version?
the latest
2023.4.2
i setup ha like 3 days ago
The device reconfiguration failed. Additional information may be available in the logs.
This is in logs rn: [0x8E75:1:0x1000]: 'async_configure' stage failed: 'ControllerApplication' object has no attribute 'ieee'
@mellow geode
Do you know if it’s a first gen motion sensor?
Yeah, that’s an issue that will be fixed in the next HA Core release (2023.4.3).
If it’s on somewhat recent firmware, I don’t think it should affect anything though
Actually, can you what "Quirk" that device got?
You can find it on the device page
Quirk: zhaquirks.ikea.motionzha.IkeaTradfriMotionE1745_Var02
Ok, should be running somewhat recent firmware at least
Just try to allow joins again (Add Device button) and press the pairing button four times quickly again
No, try without deleting first
well it wasnt working without deleting
so i deleted and redid it
so ive readded it and now im at the same state as b4
Hmm. Try again when HA Core 2023.4.3 is available
I think it should already work at the moment though
I have other motion sensors of different brands i can try
like philips hue
smartthings
Yeah, should both work
Allow joins and hold(?) the reset/setup button on the back
i think the setup button is like a pin press or smth
@mellow geode so ive setup my philips hue sensor
and it gives Occupancy: Detected when I move past it
but Motion remains as Clear
is this normal? what does this mean? sorry to bother you so much
Ah, that sensor is a bit weird. It uses the occupancy cluster for motion
Just disable the "on/off/motion" entity and set the occupancy one to motion
ok ty ill try that
Motion sensor working all good.
Hi, someone tested Curtain wall switch with z2mqtt? I need this 14x for Somfy exterior curtain motors https://www.aliexpress.com/item/1005002758067519.html?algo_pvid=8be835ea-6341-49d2-b310-475a30c9041c&algo_exp_id=8be835ea-6341-49d2-b310-475a30c9041c-10&pdp_npi=3%40dis!EUR!48.63!25.29!!!!!%40211bf2da16812843107105907d07a7!12000032397410312!sea!SK!843976110&curPageLogUid=Tx89H1QQZhfL or is better Curtain module behind my switch? Price is same... 25€ smart switch or 13€ module + 14€ manual switch + more work. I don't know, advise which solution is better for long-term use in HA. thanks
I have an IKEA light panel (irsta) which is connected to a light power supply that has zigbee connectivity
How would I approach pairing the (hard to move) power supply driver to my skyconnect controller
Hey! Slightly unrelated to Home Assistant, but if I buy a Zigbee dimmer, and a normal Zigbee hub, and use the Tuya app to make a schedule for the dimmer to turn on and off, where is that schedule stored? In the dimmer, in the hub, in my phone, or in the cloud somewhere? I'm just trying to understand how the base technology works before I add Home Assistant on top of it all 🙂
It would be in the Tuya cloud, or maybe in the Tuya Zigbee hub if you'd made the mistake of buying one
The solution is to not use the Tuya app, or anything Tuya WiFi
My dad uses something like this with his Zigbee setup: https://www.amazon.es/gp/product/B07WNJ7PZS/ref=ppx_od_dt_b_asin_title_s00?ie=UTF8&th=1
If I understand the Home Assistant homepage correctly, using Home Assistant you'd buy something like a USB dongle for your Raspberry Pi and then have that communicate directly with all the Zigbee devices, meaning you don't need any hub like the one linked above right?
Alright, and by port forwarding to the raspberry pi I can access everything in my home from my phone when I'm not at home I'm guessing?
Or by using a VPN, or a Cloudflare tunnel
All depends on what you want to do, and what you want to access
A slightly unrelated question but I hope it's ok that I ask it here; When you install HA on a RBP, is that a linux OS running on it then running the HA app, or is it an OS by itself? I'm wondering if I'm able to run other services on the RBP other than HA at the same time on it. Like a Samba server sharing a harddrive over my LAN, and a script that changes my DynDNS's IP whenever my own public IP changes.
You were right! It did work. Thank you!
Just to double check before I buy stuff:
https://www.amazon.es/Switches-breaker-Compatible-Assistant-1gang-1Pack/dp/B09RF2C1L9/ref=sr_1_3
+
https://www.amazon.es/Gateway-EFR32MG21-Coordinator-Assistant-Zigbee2MQTT/dp/B0BG1LJ687/ref=sr_1_6
+
My Raspberry Pi 3 Model B
Is all I need to get started with Home Assistant and controlling some LED lights using it?
You will need a USB extension cable for the "gateway", and you'll want to use it with ZHA, not Zigbee2MQTT
The pinned messages here are worth a read
If I run my Pi with an ethernet cable rather than Wifi do I still need an USB extension?
anyone know with the shelly 2 is each channel controlable?
Just try it and see. sometimes without the extension also, it works fine
Assuming it's a Pi3 then you'll possibly be fine without it, but honestly... just buy an extension cable
Improving your signal is never a bad thing
Hello I am new to HA 🙂
I got this zigbee PGST door sensor:
https://www.aliexpress.com/item/4000085456965.html
I am trying to connect it using Zigbee2MQTT but I can't find the device.
The device seems to work by a red light when the second part attached.
I also managed to connect a "smart plug" to the Zigbee2MQTT.
any ideas what to do?
I am using the sonoff USB dongle plus as a gateway
Is your dongle on a USB extension cable?
Never mind
PGST Window Door Sensor for All *** 433mhz***
That's not Zigbee
YER 433MHZ will be talking back to its own base station
Or your choice of other solution
i had been using a plastic 3d printed adapter for my smart lock to fit my door (not the sturdiest, i know), and it finally gave way last night
actually impressed tbh, it lasted just a few days shy of a year
What's the thought process behind the automatic naming of devices in ZHA? For example, adding a switch named "foo" get called switch.foo_switch, a light gets called light.foo_light. Why the redundancy after the underscore?
well what would happen then if you had 2 different sensor entities sensor.device_update and sensor.device_illuminance
so now do you want a standard naming scheme thats domain.device_devicetype or do you want to complicate it by doing domain.device_devicetype if devicetype != domain else domain.device
so whatever devicetype is actually called, it makes sense to not complicate the process and just create a standardized naming scheme
maybe theres probably a more technically accurate explanation but form a logic perspective, thats how i see it
New to Home Assistant - trying to setup Conbee II
yesterday all my zigbee2mqtt entities on HA (from MQTT integration) doubled with _2 at the end of each entity.
for example Kitchen_1 became Kitchen_1_2 and the original one became unavailable.
I spent about 1 hour to manually change all the new names to previous and delete the original entities.
Now after a restart, it has just happened again...
What should I do?
Hey guys, I have MOSZB-140 Motion Sensor from Frient/Develco connected to RaspBee II and controlled by **ZHA **using this quirk https://bit.ly/416kASI . I am wondering, how can I trigger or implement a function to be able to trigger manufacturer specific attributes (atts, not clusters) ? I can't see them being implemented in the quirk and am unable to fire command from ZHA on specific cluster. This device supports 3 Occupancy states based on setup of Manuf spec attributes for each. 1st Occupancy will change it's state if movement detected + temp below target, 2nd if movement detected + temp above and 3rd if movement detected + Lux below. But these temp above/below and lux atts are not simply there. For more info please see develco technical documentation https://bit.ly/3MysoZ3 , page 21
Why not just handle the logic in HA?
Of course I can handle it in nodered, but why not to move unnecessary logic to device itself if it's its feature, right?
Spreading out the logic makes it more likely you'll wonder why things are misbehaving when you forget what you did
Well agree and disagree. There are pros and cons of both approaches. But that's for another topic.
Ohh you are right, how can I connect it?
#integrations-archived can probably help you
@foggy gyro : seems like Ikea will stock the vindstryka for my store in a week or so
Same date is listed as the 18th for my local store
guess I'll plan to pick one up to try it out
hello, I just blindly bought temperature and humidity sensor (TH01Z) but I didn't check if ZHA or zigbee2mqtt is supporting it or not. It has a temperature, humidity, and clock on the display. Sadly the whole thing doesn't work with my ZHA. It doesn't show any sensors, it's just an empty device in my Home Assistant. Is there any way to add it myself or at least help with implementing it in the ZHA? (Without any coding knowledge, maybe just sending some kind of info about the device to the right person...?) Would really love to see this device being added. Thanks a lot for answers and have a great day!
What's the "manufacturer id"?
first step before getting a device is always to check here https://zigbee.blakadder.com/search.html second is to check https://github.com/zigpy/zha-device-handlers to see if theres a custom quirk if youre using zha, not sure the protocol for zigbee2mqtt. third for zha would probably be to make a new issue and make a device support request.
gonna guess its possible your device is similar to one of the existing ones, liike these for example which are supported, https://zigbee.blakadder.com/Tuya_ZG227C.html, https://zigbee.blakadder.com/Tuya_WL-TH02.html, might make it easier to create a custom quirk, but i dont have any knowledge about that
I would also double check these sources, making sure you have the model listed exactly as it is in zha, on the off chance its different, or even spaced differently, you might find something on one of the two sites
do you mean like here
"node_descriptor":...
...
},
"manufacturer": "LUMI",
"model": "lumi.sensor_magnet.aq2",
"class": "zhaquirks.xiaomi.aqara.magnet_aq2.MagnetAQ2"```
its not possible to expose energy on lights that dont have it by default is it? im guessing that its exposed if it is supported and if its not exposed that light doesnt support it?
I know, I F'ed up. I usually check on blakadder to see if it's compatible but sadly I impulse-bought two of those devices without checking. That first thing looks similar but doesn't show clock. This is the device I've got - https://i.imgur.com/j6SfvJb.png
Hi! I'm just getting back into HA and getting some zigbee devices going, is there a zigbee equivalent of the aeotec multisensor 6? I'm aware of the BRUH multisensor but that's very dated, is there a next gen version?
Can’t go wrong with hue multisensors
i thought the hue motion sensor just did occupancy, i didnt realize it edid temp and illuminance too
Temp is very accurate too
Hi, is it possible to use Home assistant as a Zigbee hub?
Think where you wanna install that device before buy. Frient is nice device but motion sensors are being usually mounted on or near ceiling so the temp sensor might be useless unless you do some grouping with other temp sensors to get average temp. Also if you want that device only as informative element, you should be good. But if you start build a automations depending on that temp sensor you will most probably have to do that grouping as mentioned before or apply manual offset. However the difference might not be so drasticall in you flat/house, it depends also on your isolation and heating system you have. I live in old victorian house with high ceilings wich is not isolated at all and difference between floor and ceiling can be even 5°C . Other issue is TRV's are being mounted near floor so my automation is being driven by external sensor in more proper 1.7m height. In summary think first what you want to achieve and then buy device to build your project. Buying multisensors now might be fun now, but can be expensive later.
In lieu of immediate h,elp I've done some more digging on my own
https://zigbee.blakadder.com/Linkind_LS21001.html My device is listed as working... but there's a quirk under ZHA device handlers (https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/linkind/a001082.py)
Is it possible that after the firmware upgrade the quirk isn't being "applied"? I have seen my device listed as "unk" manufacture/device, though that seemed to fix itself with time?
Why the crap is deconz so incredibly unreliable. Keeps dropping devices, and then when I try to re-add them, deconz refuses to actually send the deletion update to home assistant, so the device is just locked in
I think I need to beef up my zigbee network, or move it to a different channel.
the only thing zigbee that I've found reliable besides tubes coordinator is the smartthings motion sensors, love those things.
THe solution always is just spend more money
run an energy scan with zigpy-cli https://github.com/zigpy/zigpy-cli to figure out the best channel. for non usb coordinator you can use socket://ip:port (6638 for tubeszb) instead of the serial device path
you can also run from a non ha machine just stop z2m first (before running scan)
you can check by going to the device page for your zha device and clicking the expand button beside zigbee info. There should be a line that says Quirk: zhaquirks.[quirkname]
I've just gone ahead and nuked the firmware and am rebuilding the network :K
But now it says " Quirk: zhaquirks.linkind.a001082.LinkindA001082 "
We're still not 100% back, but alas, my lunch break is over and it's back to the drudgery of the office and enterprise Java
wish me luck
@molten linden looks like 20 and 25 are less congested than 11.
You can use the same tool to change the channel
You’ll have to re pair every device
that magic cube prompted this. 🙂
Now is a good time to change network_key, pan Id, and extended pan id for security
Most mains powered devices will typically move fine
I set those when I set it up.
Rare
did the "generate"
You’d just need to update the channel to match in your z2m config and in the backup
I know people who have changed channels with minimal repairing if that’s what you are referring to as rare
i miss the old smartthings lineup. the sensors were great and also affordable. aeotec jacked the price of everything up without adding anything of value
yeah, almost double for that motion sensor.
i had plans on getting the multipurpose door sensor when it was 20 bucks
now its 40 and out of stock half the time
The zooz zwave stuff works well too.
my buddy had like 10 zwave switches fail,. all GE brand.
Him changing network key etc during setup
his house is 8k square feet.
never got zwave. when i switched over from smrtthings i still didnt have any zwave devices, so no reason to invest with matter/thread on the horizon
I try to scream it from the rooftops
Must be nice
then again i do live in a 1 bedroom apartment lmao
it's an interesting place.
Palace?
like someone bought 2 properties next to each other then joined the houses.
in Pahrump, NV.
he refers to it as the mystery house.
linus from ltt set up his new home with zwave and ha. hes made some...interesting choices
So how does this work? You restart z2m on a new channel and devices just migrate?
Do they need to be power cycled or anything?
Zigpy-cli starts the network and sends out channel change broadcasts
Oh with the python tool
You can do it a few times to make sure everything hears it
Then you start up z2m after changing the config and backup so it doesn’t revert the channel
How does that work tho? Like once devices move over don’t other devices lose the ability to talk to them?
Then you figure out what you have to repair
Still sounds unenjoyable at best lol
fix everything while more things break, ah my favorite game
thats life brother
No life is much much worse
dmulcahey did it and only 13/180 needed resets
Impressive
I’m at 50 or so mostly hue bulbs. I need to change pan Id etc and have been putting it off
I figured I’d wait til I bought one of your PoE coordinators then do it
Cool, just added more stock and reduced the price recently
Nice the pick n place ended up a success?
As a time sink yes
I still haven’t jumped into smd stuff
I have an old HomePod to repair and need to buy a heat gun to fix it
Couple tiny fuckin diodes 30 steps in need to be replaced
something about 13 being a low number here is oddly hilarious to me
Question, I think I forgot or messed up a step in my MQTT config/installation.
I am using docker-compose for the installation of my containers.
What I got running:
- Zigbee2MQTT dashboard where I connected my first device (Tuya Smart socket) and I can see that it is working in the dashboard.
- On the MAP in the Z2M dashboard I see my coordinator and my SmartSocket connected with a 128/139 link quality (decent)
- In my home assistant I have made a new user and added a integration 'MQTT' and connected that to my HA ip, that connected smooth. (I did not adjust anything in there like the Qos)
- on my host server I have mosquitto-data with data and log dir in there.
- on my host server I have zigbee2mqtt-data with configuration.yaml coordinator_backup.json database.db log state.json in there. In the configuration.yaml file I have the newly added device in there.
The problem is.. the device does not show up in HA.
Feels like im so close
I might've found the problem in my Z2M config file.
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://mqtt
serial:
port: /dev/ttyUSB0
frontend:
port: 8080
The server probably needs to be mqtt:// and then my ip address:1883 but im not sure
uhh
permit_join: true....
what is you doin
also i doubt ttyUSB0 is the right thing there
its the right one
also I am I guess learning but the official documents say put permit_join:true the first time and then just change it to false to stop accidental connections
that's not what the docs say at all
By setting permit_join: true in your configuration.yaml the joining will automatically be enabled when starting Zigbee2MQTT. Joining is not automatically disabled.```
Enabling joining via the frontend ensures that joining is disabled automatically after 255 seconds. The joining button can be found in the right top.```
someone convinced you to switch from haos to docker didnt they?
and now you're fumbling forward instead of just enjoying shit working lol
Is there any way to troubleshoot pairing issues? I bought a bunch of Inovelli blue switches and it's taking many pairing attempts (5 or more) to add them to my network.
Please don't help me anymore thank you. I'm good.
@neon orbit much easier to just dedicate an old thin client or pi to this and not try to host it all on something else.
meh. VM is fine if you know what you're doing 🙂
yeah, it works, but it's extra hassle.
the gledopto showed up today. doesn't seem as bright as before on the old single led lights.
pretty impressive pairing it, couple seconds and it was done.
zigbee led controller?
i have a few of them, too. works really nicely
strangely, smartthings couldn't adjust color temp correctly, it couldn't go lower than what looked like ~2900K
works great under ZHA
similar to mine, although mine is "Pro WWCW Controller"
my old setup has 3000k led tape strips in diffusers under the cabinet.
I think @grim igloo posted the link to it.
trying to get away from the delay in the lights coming on.
how long a delay?
mine seem pretty responsive
although my primary use case is having them set by time of day, don't often hit the switch on them
old setup is a couple seconds as you flip the switch an the 12v power supply has to come up.
want to keep 12v applied and let the controller handle turning them on/off.
oh right yep, no delay on the gledopto
Z-Stack 20230410 is buggy. The stick keeps crashing and of course you can't actually send a RST over USB ..
@austere patio If I want to debug a crashing coordinator, any thoughts on what I should be looking for in the logs?
oh dear, i see NWK_TABLE_FULL
downgrading to 2022120 and the network is responsive now
What is a known 'stable' Z-Stack firmware?
As far as I know, https://github.com/Koenkk/Z-Stack-firmware/releases/tag/Z-Stack_3.x.0_coordinator_20221226 is the one you want. It's working great for me
I don't know why the 20221102 is listed as the latest. I don't think it's recommended
the one listed as latest there is the router
Hello there!
after quite some years I moved form Home assistant "os" to Home assistant "core" in a docker (Intel NUC with Ubuntu server with CasaOS). I got everything to work as it was before (except the add-ons of course) but I have problems with ZHA, it does not find my ConBee II.
Form my search I can tell that I need to reconfigure the device path both in the docker container settings and in ZHA but I don't know how and where to start. Could someone help me find out how to do it?
I found this :
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 1cf1:0030 Dresden Elektronik ZigBee gateway [ConBee II] Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Ah, good point.
Definitely don't use that for a coordinator 🙂
SimpleLink SDK 6.20, 6.30, 6.40/6.41 all seem to have an issue that causes the coordinator to crash after a couple of todays. That’s why Z-Stack 20221226 reverted back to SDK 6.10.
There were reports in some closed feedback issue on the Z-Stack repo, but that thread also contains more stuff that’s not really relevant. (There’s a new one now too)
And there’s also an issue on the zigpy-znp repo about newer versions crashing.
(Although it’s not an issue in zigpy-znp)
I might ve found the problem in my Z2M
Can someone help me with Zigbee issues? Im trying for days solve this. Basically everytime that I restart HA, my Zigbee devices works flawleslly (using zigbee2mqtt). A few hours later, every zigbee devices have really bad latency. What can be causing this? If I restart HA they work just fine again
Start with the standard things:
- What coordinator?
- Is it on a USB extension cable?
- Did you pick a Zigbee channel, or leave it at the default?
1 - Its a Sonoff Zigbee Dongle Plus (Dont rembember the number)
2 - Yes (It was happening before as well)
3 - Tried change it from default to 25 to see if things would go better, same issue.
Did you check for WiFi interference?
I read about it but dont know exaclty how to check or which software to use. Can you help me out?
@limpid finch When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.
You have to change this every time (thank the Discord devs for that).
There's pinned messages that'll help you, but any WiFi scanner software is a good start
Does wifi scanner scans for zigbee?
like, does it compare it between zigbee and wifi?
No, it does however tell you about active WiFi
Which ... you know ... is a big source of interference for Zigbee
20221226 crashes the coordinator until it gets power cycled if I have a power blip or flip a breaker and a number of Zigbee devices go offline/online at the same time. I can also crash the coordinator if I pull the air gap on an Inovelli switch to like 4 or so lights. Which is a real problem if I am trying to pair an Inovelli switch (I'm installing >30 of them) because I end up in this loop of having to power cycle everything like ten times to get something to pair.
Sonoff coordinator?
Yes, the TI one. CC2652P.
Do you know what the deal is with 20221102? I've seen it mentioned a bunch of times in the issues on Z-Stack. I just flashed it yesterday night after my ramblings in here, and so far the network seems stable and responsive. But I was having issues >7 days with some other firmwares. Here's all the other ones I've tried, first time trying 20221102:
CC1352P2_CC2652P_launchpad_coordinator_20211217.hex CC1352P2_CC2652P_launchpad_coordinator_20221226.hex CC1352P2_CC2652P_launchpad_coordinator_20220219.hex CC1352P2_CC2652P_launchpad_coordinator_20230410.hex CC1352P2_CC2652P_launchpad_coordinator_20220726.hex
Which ones are "fine"? Besides tube's 😛 Or were you going to suggest that one? (I see a bunch of bug reports on Z-Stack issues for his as well.)
I plan on adding another 40 or so Zigbee devices to my network which will push me >200.
Tube, ZZH, Slaesh, etc
I'll be switching from my Sonoff to Slaesh once I replace the Terncy sensors
I have to wonder how much of a pain it would be to swithc coordinators
From CC2652 to other CC2652 ... none
Why a Slaesh ?
and does CC2652RB count as CC2652?
Because I already have a Slaesh (and a couple of ZZH)
Slaesh can be flashed without having to push any buttons, much like the Sonoff
lol
I feel like for me having a button to allow it to flash might be a good thing 🙂
Is there any primer on Zigbee, focused on interoperability and tradeoffs? I see that both Hue and Tradfri are Zigbee based, but I'd like to use just the bulbs with my HA Yellow - it looks straightforward, but I bet there's a sea of caveats there... :D
Ok, I downloaded a Wifi Scanner. And it seems that the futherst wifi channel is 14. I set my wifi to channel 1 and zigbee to channel 25. I also followed everything on this guide that I think you have posted https://www.youtube.com/watch?v=L9lC0Mse0K4. What it gets me is that as soon as I restart zigbee2mqtt everything works flawlesly, looks like it building up latency as hours pass by. Any sugestions?
What about ... other people's WiFi?
The scanner only found 4 neighbours wifi. 1 on channel 1, 1 on channel 5, 1 on channel 6 and one on channel 11. Im on channel 1
How do I know if these can interfere with my zigbee on channel 25?
There's a pinned message with an image that explains it
Well, the image that I looked at, says that wifi 1, 6 and 11 doesnt overlap with zigbee channels 11-22
*sorry I meant, only overlaps with these ones
The "safe" Zigbee channels are usually 15, 20, 25, and 26
And maybed you can overlap other channels due to sidebands
So if Im already using a safe channel, what should I do? I think the only thing that can possibly be interfering is the sideband from the neighbor wifi that is on channel 11. But Im not sure
Check Zigbee2MQTT's log file when it happens again
Cool, what are things to look for? If Im not wrong when I was having the issue. Everytime that I pressed any switch, it slowly published 5 messages MQTT. But now that I just restarted those 5 messages are published straight away
If there were some sort of interference would I ever be running that smoth everytime that I restarted?
That's a good point. Sorry for the noob question. Should I check this in HA? if so, where?
Well, you check it on the computer running Zigbee2MQTT
No worries, I use a virtual box, but I believe you are talking about the Task Manager outside of it. If so, I will keep an eye on it. Thanks so much for the help
You want to see if Zigbee2MQTT is starting to use lots of CPU/RAM
No cavets with Hue
Other than don't make the mistake I did and buy their outdoor bollards 🙂
Guys quick question, what if I want to delete and re-install HA from scratch, what happens with my zigbee devices, do I need to re-pair them? or are thay saved into my cordinator?
If that so, when I install ZHA again will all my devices appear again automatically?
ZHA has a separate backup (and restore) option
Coordinator state is spread between /config/zigbee.db and the stick itself. If you delete everything in /config/ and set up ZHA from scratch, it will ask you what you want to do: either keep the settings on the stick (and slowly re-discover some devices on your network on its own), or form a new network and start completely from scratch.
Is spread the right word or do you mean duplicates?
I’m not trying to be pedantic but if the entire config is in the zigbee.db then that’s a lot different than specific required data also being split to the coordinator
Well ZHA assumes the stick state is accurate (will change in the next release) and will prefer to use it over what's in zigbee.db. But the database contains a copy of everything the stick does in the form of a backup.
I see
So technically if I don't have the /config/zigbee.db anymore the ZHA will show all my saved devices but without the devices/entity names that I previously assigned right?
No
If you do have zigbee.db, that is what will happen. If you delete everything and just keep the stick, then ZHA will have no idea what is on your network and just treat existing devices that contact it as new joins, so over time some old devices will be re-discovered (i.e. routers, but likely not all sensors).
What exactly are you trying to do?
hey @austere patio:
With ser2net you originally recommended NONE 1STOPBIT -XONXOFF NOBREAK, but the z2m serial page recommends 8DATABITS NONE 1STOPBIT. Which means they allow software flow control. Thoughts?
Whatever works works 😄
Trying to track down my crashes and @tropic depot recommends I get rid of ser2net to rule it out as the problem
115200 baud with no flow or parity, one stop bit, and 8 data bits
Just wondering what will happen If I decide starting from scratch because I have all my lights permanently connected directly to the power break
I'm not sure I follow
If you want to reset the Zigbee network, re-configure ZHA via the migration button, select re-configure the current serial port, and then erase network settings. All of your entity and device customizations will remain but the network will be gone, allowing you to re-join devices. Why do this, though?
I suspect I should add -RTSCTS because the SONOFF stick does not support hardware flow control ..
You'll know if your settings are correct as long as you don't see communication errors with the application
It was set at 1DATABIT before which I feel may be contributing to some of my issues
If the serial port settings are in any way incorrect, things just will not work. If you're referring to the USB crash you were seeing before, that's definitely not caused by incorrect settings. Are you running ser2net on another computer or another pi?
So ZHA will alow me to rejoin all my devices (but sensors) without having to repair them?
If you plan on keeping the Zigbee network exactly the way it was before, why delete your entity customizations and the rest of HA's config though?
Dedicated RPi 3 over ethernet.
Switch to another device to rule out the pi. The error you're seeing is specific to it.
the error went away when i switched firmware versions
20211217 = original firmware, no crashing. radio issues, NWK_TABLE_FULL
20220219 = mostly stable, had some radio issues where zigbee wouldnt erspond. would not crash
20221226 = network fully stable, but able to crash if I flipped a breaker or air gapped a Inovelli switch
20230410 = massive issues,after upgrade the network took like 2 hours to be stable, had to restart USB/rpi many times because it kept dropping. NWK_TABLE_FULL errors again, light commands wouldnt work properly even after a day. No more crashing when flipping a breaker. But then the controller itself randomly crashed.
20221102 ( what I'm on now) = Network immediately came back up after a downgrade, netwokr is stable, all lights are working, everything is responsive. No crash yet, but I haven't tried to flip a breaker again.
This is why I don't think it's ser2net or the RPi itself.
What about renaming some or all entities on the process?
Hello! I'm new to home assistant, and I'm having an issue with z2mqtt/mosquitto... any help would be appreciated!
I'm trying to point the zigbeemqtt to the mosquitto broker, but I'm not getting anything coming through in the logs...
When I press a button I have, it emits in the z2mqtt logs just fine, but not in the mosquitto logs.
Any tips on how to diagnose/fix this?
I have a feeling it might be an issue with the server IP I'm using?
setup/details:
I'm running home assistant in vmware on an extra pc I have using the bridged network adapter mode.
I have a zigbee usb adapter plugged into that machine
have an aqara button that I have connected to z2mqtt
Zigbee2MQTT won't even start if it can't reach the broker
hmm... so should I not expect any output in the mosquitto logs when I press the button?
Mosquitto won't write about messages in its logs
At most you can expect messages about client connection/disconnection
If you want to see published messages use a tool like MQTT Explorer or MQTT fx and subscribe to #
ok, that's great to know. Thank you!
quick one for y'all - anyone have a good outdoor zigbee repeater? building a connected/automated zigbee sprinkler system and i just want to strengthen the signal out there
maybe you could look into some directional antennas?
or maybe there's a way to backhaul it via wifi/ethernet/etc
I guess it's the same with wifi since it's 2.4ghz just easier to find directional stuff I imagine
i just use my outdoor hue lights
Yeah I think that’s what I’m gonna have to break down and do. Eventually I want to get their bollard lights but $$$$$
dont do it. read /r/hue
i seriously regret buying them.
Oh yeah? Good to know!
Oh yeah nuts to that then. Back to the drawing board for path lighting
yeesh. yeah forget that. i mean the el-cheapo stick in the ground solar ones i have are fine, but if fine was enough i wouldn't be on this discord lol :p
they do look very nice ..
@austere patio i spoke too soon, the new firmware crapped out again. im starting to wonder if there's something wrong with the hardware so I pulled out a spare sonoff stick and i migrated the network to it ..
same deal with the other stick, except back to the reboot/freeze on the newer firmware. going to try without ser2net
@austere patio i just tried with USB.. directly to my HA machine.. it works. -_-
Is this still with a pi?
No, an old Intel NUC i7.
The problem with it is that it's in an area with 5 motor loads, and an access point. So not great to have my zigbee coordinator there, which is why I have it on an old RPi 3.
Wondering if it's my PoE to Ethernet/USB splitter causing power issues (I don't see any low voltage alerts from the RPi, and the SONOFF only uses 100 mA), a problem with the RPi 3 itself, or an issue with the USB driver (I have tried both the dwc2 and the dwc_otg mode for the USB controller.)
Or if it's ser2net ...
nevermind @austere patio. stick dropped again.
Downgrading from 20230410 and immediately no more issues with 'max concurrency'
And it's doing 5 firmware updates.
Something is seriously wrong with 20230410 Z-Stac
Is there a way to tell if the coordinator is still connected within HA?
Would be nice to add a notification if the coordinator stops responding.
After a good digging I think I know what is causing the issue. I have one Ikea switch that at some point seems to goes crazy and no stopping publshing messages on MQTT. And when this happens it seems that delays any other zigbee action that I do. What Im saying make sense?
I know the logs show " Coordinator is disconnected, cannot send request"
Can someone help me how I can make this stop? This is the message that repeats over and over non stopping
"MQTT publish: topic 'zigbee2mqtt/Interruptor Escritorio', payload '{"action":null,"battery":74,"last_seen":"2023-04-14T12:27:13+08:00","linkquality":138,"update":{"installed_version":587699761,"latest_version":587699761,"state":"idle"},"update_available":null}'"
Last seen for the coordinator seems to only show when the coordinator originally connected.
@austere patio BTW I saw https://github.com/home-assistant/core/issues/89311
I have 4x SML001 and 4x SML003 and have not experienced any of the issues mentioned in that ticket. Wonder if it's environment specific?
What coordinator are you using?
I have a weird issue with my Aqara P1 PIR sensors. I have two of them. The other has always been dropped from the zigbee network after couple of hours. Re-pairing fixes it until it happens again.
I removed the dropping one using zha.remove service, added it again, and now it is working but the other is dropping out.
Any ideas how to investigate this?
I'm using Sonoff USB stick as the coordinator
Anyone got advice on a coordinator like the ZZA and how it stacks up agains the SkyConnect?
Hey guys i have the aqara p1 sensors do you need the aqara hub to connect them? have a tuya zigbee hub and they just won't connect flash for a second but don't connect at all..
Yes. Or get out of vendor locked hubs and use a zigbee coordinator with ZHA or zigbee2mqtt 🤷🏼♂️
SONOFF 3.0 CC2652P running 20221226
I have them in my four bathrooms, kitchen, hallways and they're used to trigger lights ..
anyone use zigbee window sensors? I'm using some sengleds right now but they are continually going offline and reading new batteries as being almost empty
I have Aqara (original and E1) that I've been very happy with
Terncy too, but they're unlikely to pair to a TI coordinator
I'm only seeing one window sensor on their website https://www.aqara.com/us/door_and_window_sensor.html ; this is original ?
e1 is your hub?
Nah, a CC2652 stick is my "hub"
E1 is (one of) their Zigbee 3.0 range(s)
They also do T1 and P1
interesting, I'll give this a shot, thanks
they drop off the network a lot. they are 'sticky'
Of all the ones I have (and I have a lot) only one has ever been a problem, and that just needed a new battery
All my $5 Chyna aqara window sensors have been great
My Terncy ones are awesome, but they don't like CC2652 coordinators
I paired them to the closest router and called it a day. If they migrate randomly I’ll put them back
Does that matter if their parent is a router not the coordinator?
It seems to, yes
I haven't fully tested since they pair directly with my Sonoff coordinator, but not to my ZZH or Slaesh
Weird
My Sonoff being one of the many ones with ... issues
The Aqara P1 door sensor will also only pair with a non-CC2652 based coordinator
E1 is the 3.0 one tho right?
Yeah... it's a ... bit of a mess
And they just changed the letter randomly
Almost as bad as the naming convention for HA 😛
Like what
T1 is (in theory) the China only range, and E1 is international as is P1
Like how zha defaults to wild names?
I mean more that HA Core is a method and the software we all use
Oh
and a floor wax and a dessert topping. it's all very confusing
Which dessert?
What is a reliable Zigbee, locally controlled multi-color LED bulb that works with ZHA?
Well, by definition any Zigbee device is locally controlled
Hue are generally the gold standard, Tradfri and Innr are good alternatives
Yeah Hue is just crazy expensive...guess you get what you pay for?
Yup
Been having issues with my Philips Hue motion sensors becoming unresponsive, but my Samsung SmartThings ones I got years ago work great with Zigbee
$45/bulb for Philips Hue, yikes. Thanks for the suggestions I'll poke around!
I've got some Tradfri CCT bulbs and those are great - ignoring the firmware issues that can cause them to stop routing for other devices
Gotcha. I have a few TP Link bulbs, but they're wifi and are hit or miss when they become unresponsive. I just want something to work well. Just installed an Aqara smart light switch to act as a Zigbee router near the bulbs
Their indoor lighting is really worth it. I have color bulbs that are almost ten years old, that have been on for 12-16 hours a day.
IKEA ambiance LEDs have garbage yellow/white reproduction.
but I've seen some articles where people have 100+ bulbs
I have like 140.
guess it's a build out over time kinda thing anyway
nah maybe a few less.
140 bulbs? damn lol
Bulbs, Blooms, and outdoor.. although their outdoor are garbage quality
Do you have any Hue bulbs in enclosures? How do they handle the heat?
A lot of my bulbs are just ambiance, they are more reasonably priced.
They handle it by voiding the warranty 🙂
I did have them in some enclosures and they did work at my previous house ,though.
But they say "not for used in enclosed fixtures" on them, and /r/hue has mentioned people having them cooked
Hue's warranty for their outdoor fixtures say they don't warranty them for more than 3 hours of power on a day .. lol
based on up to 3 hours average working time per day/7 days per week, when used as directed (the “Warranty Period”)
I have 4 hue bulbs 💡 outdoor in enclosures and they’ve survived three Texas summers and winters
So.... 91 days of lifespan is what they warranty
I wonder how much that boosts by if you soft cap their max brightness to 90%
I'd imagine by quite a bit
Good question. I have been running mine at max brightness for nine years ..
9.1W -> 7.4W for a cheap Linkind bulb, I'll have to test a Hue one later. Not much of a drop in heat output it seems.
I have a thermal camera lol
I could check ..
https://github.com/Koenkk/Z-Stack-firmware/issues/440#issuecomment-1509048703
Any idea what details Koenkk is looking for?
Max concurrency is a ZHA thing, I don't think he knows what you're referring to 😄
With 20230410 Z-Stack firmware, the adapter can't keep up and I get concurrency issues. If I downgrade it's fine, trying to figure out what's going on with 20230410
His request is "adapter information", so I'm curious exactly what he'd like to know ..
I'm not familiar with the ZHA logging, is there any way to see responses from the adapter?
That would be any line containing zigpy_znp.api (i.e. Sending request: and Received command:). In your debug log, you excluded everything but the max concurrency warning, which doesn't help much.
But it's best to include the whole thing, as otherwise you're wasting the maintainer's time as they ask repeatedly for more of the filtered log 😄
@austere patio like, a 4GB log file? 😛
I don't think you need to include the whole thing if the concurrency problems (likely stemming from devices not responding) happen in the first minute
Well, from the log it looks like your adapter disconnected halfway through
Which probably explains the errors
But those lines from the log file are filtered out so it's not immediately obvious 🤷♂️
i dont think that's helpful, because it's just showing the stick falling over
okay. yes that is what I thought.
let me include a more complete copy.
Sonoff sticks are .... often problematic
its a firmware issue, its fine on the past stable release.
My own one (on slightly older firmware) locks up under certain situations - and I know others who have the same problem
but I have a reproducabel crash on the 20221226 release, hence running a dev version
And somebody on the forum has one with faulty NVRAM
I have a bunch of the SONOFF sticks, so first thing I tried was swapping it
I'm waiting for my new Aqara sensors to turn up so I can ditch the Sonoff for my Slaesh
@austere patio https://github.com/Koenkk/Z-Stack-firmware/files/11236265/complete-output-20230410-firmware.txt is this better?
The FP1s?
Cracking... Royal mail got the package all the way to my local sorting office, and then shipped it back because they couldn't identify the delivery address....
Yet... they could text me to tell me that it was in the country
That makes no sense, means its in their system and they OCRed it.
Typical Royal Mail
Although their theoretical warranty terms might not be great, 2 years of consumer rights still apply regardless of that warranty (at least here).
In my experience, "their warranty" has been great and they’ve ignored multiple things which probably weren’t covered.
I even ended up with extra Hue lights now.
Compared to the "warranty" that OSRAM/LEDVANCE has (literally refused to warranty a DoA), Hue support has been great (for me).
Also never had any issues with lights in enclosed fixtures both indoors and outdoors.
Only issue I ever had was with water (condensation?) inside my Hue Callas light.
They replaced 7 lights now lol
I do hope that it’s somehow fixed in newer revisions, but I guess I’ll find out
My only issue has been with the Callas. I
I had 2 fail on the blue LED at 1 year 2 weeks, the warranty in Canada is 2 years. They sent me new lights brand new in packaging. They are the same design as the previous ones.
Wait I was talking to you about this in PM :p
I mean internal changes. But yes, their Callas seem to be somewhat of a failure
Yep, right 😄
too many Canadian plants for me
So the reason I'm even trying 20230410 is because with 20221226 I can crash the USB coordinator if I power cycle a bunch of lights at the same time.
So toggling a breaker with a bunch of Zigbee lights should crash the stick?
This is unfortunate because I'm installing a bunch of Inovelli switches, so every time I power off a breaker.. coordinator goes boom, and then it's a royal pain to get the switch to pair, and if I air gap the switch .. crash again
yes sir
Hmm. I think ZHA re-initializes everything (attribute reporting set up, attributes read, …) when a light is rejoining. Z2M only does this for IKEA lights due to some bug they have
So @tropic depot mentioned I should try with the coordinator plugged in directly via USB, instead of ser2net. I haven't had a chance to try that with 20221226. But I can confirm that the coordinator no longer crashes with 20230410 under THAT specific scenario.
Current state: 20221226 firmware, I can use all my lights properly again, mostly stable. This evening I will see if it still crashes when I flip a breaker.
So it doesn’t recover after a crash ever?
nope
I have to unplug the USB stick and plug it back in
Or reboot the machine
Initially I thought maybe it was a RPi issue with their USB controller, that hacky dwc_otg driver, so I switched to dwc2 ... since I don't need OTG.
Open up the stick and poke the reset button
and see if it comes back?
If that doesn't cause it to start working again, it's a problem with your computer. If it works after that, it's a hard firmware lockup.
I've seen others with similar issues when there's more messages than the stick can handle - similar to the problem I have. Seems to be a bit of a Sonoff problem.
I know somebody who had to split their mesh into two meshes, and somebody else who found that disabling circadian lighting was all it took
Is there an easy way to get serial data off of it?
What do you mean?
The commonality was the use of a Sonoff stick - switching to any other stick had no problems
I use adaptive lighting .. Eek.
Interesting. Currently running Tubes PoE CC2652 coordinator with 20221226 firmware and that’s been pretty stable. I’ll see if I can crash that too
You’d probably need a TI dev kit to properly debug(?)
I'd bet that it won't, but that if you swap to a Sonoff you will 😛
are they available?
Should still have a few lying around 😄
I have a box of them D:
I just ordered the ember sonoff stick
So today I will confirm if ser2net is the cause or if it is a firmware bug, and also try @austere patio's reset thingy
wish work wasn't so busy. currently rebuilding our packer junk at work to generate AWS AMIs. "boss: we need AMIs yesterday plz"
Should still be. They’re pricey though (and not sure you could easily find the root cause)
Not that you really need it, but I think there’s a fork of NabuCasa/silabs-firmware-builder that has updated EZSP firmware for that stick
If you're in any way trying to investigate firmware bugs, eliminate everything but the firmware. Use a stable x86 computer and a direct connection to the stick without ser2net.
That is what I am doing now
It's connected directly to the HA machine
But then I have to deal with interference ..
Likely unrelated, but are you running custom integrations?
many
a fork of DaikinAC I did, adaptive lighting, reolink, a samsung soundbar integration i wrote
why?
five motor loads 😦 and a wifi AP.. https://mail.pfak.org/upload/OxW2Qs4uin3Jt2UbfrjxPIky/qPyCm3OOTzqAmC-8CsXlVg.jpg
ironically its still working better here than it was with ser2net
In simple terms: if "async stuff" isn’t implemented properly, it might cause ZHA to slow down and that could cause issues with coordinators
oh
yeah i ran into issues with that before.
but I fixed all teh async issues that I was aware of, and HA complains heavily about them now so
Even if, the coordinator shouldn’t really crash completely, but only slow down
You've clearly not used the CC253x based TI coordinators 😛
Those are easy enough to crash to the point of needing power cycled to recover
I wish there was a sensor in HomeAssistant that I could use to see if the coordinator is connected
I'm almost to the point where Iw ant to feed these logs to elasticsearch
and the alert using sensu for particular conditions
It's all in the debug log. If it's a firmware crash, you would see a watchdog failure
I even checked zha-toolkit to see if I could read the state of the coordinator
yeah but I cant throw a notification with that via a home assistant automation. I would have to use something else.
99.999% of people don't have this problem so it's just not a feature that exists 😄
I can always check for "Watchdog check failed"
There could be lots of silent failures and reconnections that people aren't aware of.
and even though HA knows the coordinator is offline, and light.light_on or something will fail, it doesnt set the status of any entity to unknown
would be neat if there was an exposed sensor for the coordinator
dreams
😂
But this does disconnect on watchdog restarts as the serial connection is dropped and re-established.
Hey! Do any of you know of a battery powered zigbee dry contact sensor? Something I could use with a microswitch? I guess I could get a button or door/window sensor and hack it, but is there anything purpose designed?
I’m envisioning a little box with an led, pairing button, and a few screw terminal 🙂
Most of the leak detectors have screw terminals
Ahhh! That would work
I want to add a float switch to a drain pan so I can get alert if it fills up
ie condensate drain blocked/backflow
Leak detector sitting in the drain pan will work too
If it’s overflowing into the emergency drain pan you kinda want to know before it fills up
water will necessarily collect in the drain pan, which I think the OP was referring to
Yes the drain pan is normally wet
But if the water level hits a couple cm, something is wrong
the leak sensor idea is a good one, though
the evaporator drip drip drip into it so I can’t just leave a leak sensor in it. The leak sensor connected to a clip-on float switch is perfect
Mine has an emergency drain pan under the unit itself
I will do
Mine doesn’t have such a thing 😧
these guys, for instance, have screws that you could easily attach wires to: https://www.amazon.com/gp/product/B09MVKNNNQ
https://home-assistant-guide.com/guide/how-to-build-the-easiest-zigbee-chair-occupancy-sensor/ otherwise this connected to your float is fine
This is perfect, thank you
the aqara ones do too, as do the round tuya one.
Ya the aqara one is what’s featured in the link above
third reality has a siren nice and loud alert too. and they at least contribute firmware
Along with mqtt config to take the guess work out of what options he has
Haha
I’m in a condo with a vertical fan coil unit…. It’s modern enough and it already has a float switch that cuts power if the pan fills. But I had an overflow last time due to the drain backing up… shutting off my unit was not enough. An extra alert would be nice, so this is a nice little project
I've always considered how to do leak detection on my mini splits which are installed on the wall .. Is that what you mean?
mini split would be harder i'd think
yeah not much room to do anything
maybe you can splice into the wires it uses for a float sensor
cant even fit a leak detector into the condenste pan
i assume they still use a float sensor to turn off in case of backups
well it does something
its daikin. they suck.
We had a mini split at work with an external condensate pump, and it had a sensor to kill the mini split if its bowl filled up
Well semi-external, it was bolted to the side of the head. Sort of ugly but it was in our server room
ya so figure out what it does and then splice into it maybe?
or see what kind of existing esphome projects are out there
probably dont need to recreate the wheel
This was a commercial LG unit and I think it had integration for it
ooh that is cute
i was looking for an arduino that was a usb stick the other day, never found one
I thought those were a pretty decent brand
but yeah the only mini splits I've seen with a float switch are ones with a condensate pump
but you don't want those
If you can just fit 2 wires and keep them separate where the water would be you can connect them to the leak detector
I do this and run wires into a floor drain to detect when the water rises to run critical alerts for possible sewer line issues… just caught one the other night.
Hopefully won’t need soon as getting lateral replaced soon 🤦♂️ roots and a belly not a good combo.
so I got one of these aqara window sensors, it doesn't say unavailable like my sengleds do, but it seems to get stuck either open or closed
it will work for a bit and then I get no change if I open/close the window, if I remove and readd the device it starts working again but gets stuck after a bit
this gave me the idea for a leak sensor dishwasher automation lmao
not sure itd work tho
as in after dishwasher is finished?
if you do a heated dry cycle you can put a temp/humidity sensor outside the vent and automate off that
interesting
i set it up the other day with a vibration sensor
thought the aqara one turned off automatically after a minute but turns out it sents a vibration zha event when vibrations been on for a while, so its e ven possible to monitor more granual changes
they're horrible. the integrated thermostat logic allows +3C for heat and +1.5 or something for cooling
and the unit excessively heats/cools the integrated thermistor, so it always has the wrong temperature.
ah I think the problem with the air handlers is that they read the temp ... well at the air handler
and theres no option for an external thermistor
I've seen mitsubishi have support for reading the temp at a "remote" one
also they ru nthe fan all the time, so they just blow all the humidity back into the room :/
I cut a jumper to turn the fan off, and then the temp readings are even worse.
my fan runs all the time too, that's normal to circulate the air isn't it
what happens is all the humidity collects on the coils and then when it stops cooling it just blows back out. smells bad 😦
so I ran tstat wire to each room for an ecobee, and then i control the daikin via homeassistant with some cheap wifi adapters i got for the daikins.
not perfect though.
hmm I haven't had mine long enough but if it smells bad you probably need to clean it? XD
its the smell of the humidity
it started smelling when i got them
not like mold growing inside it or something
and i clean the coils every six months
correct
I actually got a discount when they came to service because of how clean the units were ..
hah wow
i think id do mistsubishi next time
if I hadnt of only paid $12k for 4 heads on a 36k btu id be hopping mad
I'm currently using sensibo with my mini split but dunno part of me wonders if local control would be better
beep .. beep .. beep
i was using esphome to control them via IR
but the esphome IR codes are wrong, and i never quite figured it out
yeah i wanna see if I can put a relay to force heat/cool
but that'd def void my warranty (=
I have a few Aqara switches that are being flakey. When I try and change the state in z2mqtt the command times out. Any idea how to troubleshoot this?
I have about 14 switches deployed and a few of them are being unresponsive at times. Not sure what the issue could be.
The physical switch works fine, but the state is not updated in HA and it doesn't respond to commands sent through HA.
Restarting HA or z2mqtt didn't help. Removing the switch and rejoining it did. Troublesome though.
Asked this in #integrations-archived but got pointed in this direction.
Can someone point me in a direction on what “hub” (usb) I would need to buy for Aqara sensors? I have read so many posts about this depending on what kind of integration you are doing, supported devices for zigbee2mqtt etc. I just want the most straightforward way 🙂
I forgot to add that even if I have read about the ZHA and Z2M options and each have their recommended hardware, I also got the impression that all of those is maybe not compatible with aqara sensors? Which of the recommended zigbee devices should I buy?
@silent shore I have several Aqara sensors connected to a Sonoff ZBDongle-P with Z2M, it's rock solid.
I followed the guide here: https://www.smarthomejunkie.net/how-to-install-zigbee2mqtt-with-the-sonoff-zigbee-dongle-e-tutorial/
It looks more complicated than it is.
Really, the only hard decision is to pick between Z2M and ZHA. Once you've done that pretty much any (current) supported coordinator will do. Don't buy something old or known to be a problem (so, don't buy a ConBee, don't buy anything CC253x based, and don't buy Sonoff's CC2652 based coordinator)
Wait why aren’t we doing sonoff p dongle now? The tiny percentage of them that corrupt nvram?
Any recommendations on Z2M vs ZHA? I guess the answer differs depending on who you ask…
Correct
Thanks, will look into it!
See the pins about why you'd pick one or the other
Corrupt NVRAM, crashing under load...
Easier setup is zha, community favorite is z2m at least historically that’s true
Are you referring to what pfak is dealing with?
Might misunderstand, you don’t recommend sonoff because corrupt nvram issues?
I thought he’s been using tube cc2652 coordinator
I've found plenty of others with the same problem
The Sonoff P stick is a roll of the dice - maybe you'll get a good one, maybe you won't
I guess I won’t be a good candidate to test that.. I don’t have a busy mesh
Is there a more solid option that would work with aqara devices? I got the impression that not all zigbee sticks works.
That’s the wrong impression
Once you pick ZHA or Z2M then worry about the stick
Yea
Ok, read a lot of posts from people having a hard time getting it to work
With CC2652 sticks though Tube, ZZH, and Slaesh are all great choices
Dont overthink it.
Aqara devices aren’t forced to only work on some coordinators
Aqara devices are generally not the problem, except the P1 door/window sensors which won't work with a CC2652 coordinator
Well that’s cuz people follow old guides or just do dumb stuff and expect magic
It seems ZHA is the one I would like to try, any advice on stick based on that 😁
Skyconnect?
Or any current generation EZSP based stick
Tinkerer can we get a bot command for that since it help supports nabu casa and is recommended for zha?
See the pinned message in #botspam
I don’t see what you’re alluding to
There's two messages there
One of them is a link to the list of bot messages/commands
To say that’s unintuitive would be an understatement
I scrolled for 2minutes on mobile and didn’t see skyconnect
I also tried auto fill in discord to see if it existed
So submit a PR 😉
@austere patio Koenkk is saying the instability/crashing/lagginess after upgrading to 2023041 Z-Stack is an issue with ZHA and not Z-Stack. Don't see how it's a ZHA issue, when downgrading to 20221226 makes everything stable: https://github.com/Koenkk/Z-Stack-firmware/issues/440#issuecomment-1509600285
At what point does it make more sense for puddly and him to have a chat instead of you getting bounced around like a beach ball on spring break? 
Probably just around the point where I've ordered a TI dev kit to debug the issue 😛
If the flesh is willing…
or my Embernet stick has arrived on the 20th
There’s a good 4/20 joke in there somewhere with an ember stick coming on that day
ever since we legalised it, i haven't really heard any 4/20 jokes. weird.
Ordered a skyconnect! But it seems that it is z2m 😄
It is technically supported by Z2M, but use ZHA instead
