I use Zigbee since probalby around 5 years now - at first I just had a couple of lamps and a zigbee plug that turned a heater on/off. I barely knew about home assistant back then and only used the Philips Hue hub and the app to control those things …
As I got more into home automation and Home Assistant, I soon switched to ZigBee2MQTT and everything seemed fine. My ZigBee network grew over the time and now has almost 100 devices. Devices I rely on to work perfectly every time I need them to. For example, in parts of my home, I started to use Zigbee wall switches to turn ZigBee lamps on and off - there’s no other (convenient) way to control them any more, so it needs to work reliably and all the time … At first I thought it’s not a problem if occasionally I have to wait a couple of seconds, because one of the devices is offline momentarily. However, as the conversion to ZigBee grew, so did the problems and inversely proportional did my patience.
Most Zigbee Devices look something like this:
Even though the latter two don’t look super unreliable - they also don’t react way more often than what should be considered accaptable. They often turn unavailable just the moment I want to switch them.
Also, these are only some devices that are plugged in - battery devices don’t report availability the same way… So even though, for example a lamp has perfect linkquality, this doesn’t mean the zigbee wallswitch just next to it will not sometimes struggle to send a press to HA…
There are door sensors that work great - but ever so often, they don’t report a state change. Opening and closing the door again usually fixes the problem, but that’s not what I want to do all the time. (considering I even recognize the issue right away)
Also, battery powered devices will occasionally just lose connection to the network alltogether. From working perfectly fine one moment, to dropping out of the network with the need to be manually re-paired, the next… What is up there?!
Here a contact sensor, that yesterday evening just dropped out of the network - it did that once before in its 2 years of operation.
The battery is perfectly fine and the sensor worked fine for months. It’s a window so it only changes state about twice a week. No idea if that is relevant in any way
All devices should have great connectivity - speaking in terms of distance, routers are never more than 3-5m apart from at leas one other reouter or the coordinator. And like I said - the linkquality is always great… it can be 75 and directly connected to the coordinator, but still go unavailable for a minute from one moment to the next.
I would just like to understand what the problem here could be. Is it likely a general ZigBee problem?! Or ZigBee2MQTT?!
It’s completely illogical to me, why this would happen. And quite frankly, it costs me my last nerve to always have to hunt down and re-pair dropped devices at least once a week, or having to explain to visitors, if the bathroom light doesn’t turn on, just wait 10 seconds and try again - it will probably work then…
This is not what I had in mind when I started using Zigbee. This technology should make life easier - not complicate it!
I already tried to move the coordinator around the house - this has absolutely no impact on reliability. I switched the Zigbee Chanel to 25 (as suggested, so it won’t interfere with 2.4GHz WiFi so much). Still nothing. What devices go unavailable or drop out is completely random (at least for me). It can be the one closest to the coordinator, the one farthest away, or anything in between - there’s no difference that I could see.
Also there appears to be no difference between expensive (Philips Hue) or cheap (Xiaomi) Devices - they all have the same connectivity issues.
Edit: the stick is a Slaesh CC2652 and connected to a RPi via a 1m USB extension to prevent any interference
The one thing I have learned (once again) from using Zigbee is, that in the future I will not ever build anything on wireless technology ever again! KNX it will be for every new home that I’ll move to (at least for vital devices like lights) … or ESPHome - which works amazingly well, even though it’s wireless too (and takes a lot time to initially build a device) - but after turning off band-steering in my router, I never had a device not work/react without a good and comprehensible reason.