I have a few new under cabinet ZigBee lights. A whole four of them. I have a simple automation to turn them on when I enter the kitchen (based on a motion sensor), and turn them off when I leave.
When I first set them up, they all turned on at the same time, every time. I don’t know when they turned off because for that to happen I am often not in that room anymore.
Now I walk in and sometimes one either doesn’t turn on, or takes a few seconds longer than the rest. And when I leave, some are still on even hours later.
Using ZB2MQTT, here’s an example of the debug log:
Put them in a Zigbee Group (you can certainly do this with Z2M) and then it’s one single command that will trigger all 4 at once as opposed to sending individual commands to them (note a HA group still sends individual commands unlike the Zigbee Group).
Zigbee Groups show up in HA just like native HA groups.
Also make sure there is a decent router/repeater nearby in case you are simply experiencing a poor mesh.
In that case you must have a mesh issue. Maybe a noisy device (mm-wave sensor maybe?) that is clogging the network. The only other thing I would suggest is possibly re-pairing them in the hope that they find a better router to talk to?
There’s one mmW sensor but it’s on ESP wifi. It probably is noisy, and is right in the way of KCL 1 + 2 (but not 3), but isn’t ZigBee. Would that be a problem? Because I can’t exactly move it. And there’s a ZB repeater 1ft away from the mmW sensor as well. The KCLs are all connected to the repeater, too. Though I heard IKEA’s Fyrtur repeaters kinda suck.
I did try a whole remesh yesterday in an attempt to fix this problem. I stopped Z2M, disconnected HA for 30+ minutes, and then turned it all back on. I think it redid the network but it’s impossible to tell from the dense spiderweb if anything changed. Regardless, the problem persists.
Make sure you aren’t clashing Wi-Fi channels with Zigbee channels.
As an example because my Zigbee is channel 11 - I only use Wi-Fi channels 6 and 11 for my Unifi mesh - which keeps it well clear of the Zigbee channel.
I ended up changing my wifi channels to 1 and 6, and then changed my ZB channel from 11 to 25.
Changing a ZB channel requires re-pairing every single device on the network. Now I can’t seem to get two of these four lights that were giving me issues to pair again. Not sure what to do besides buy a 25ft USB extension cable. Or I could just give up on ZB and only use Z-Wave. If I could send that message back in time to myself, I would.