Having moved my home assistant from the middle of my house to a garden shed/office, check your WiFi network is not on channel 1. As that will most likely be the same part of the spectrum as your ZigBee network, if you have your ZigBee on channel 11.
On another note. A zigbee network is a mesh network set up at pairing. Moving your host around will not re-generate the routes in the network and make your devices drop.
Pair your devices (and hub) in there position they will be in when installed.
Also: mains powered devices (lightbulbs, smart plugs, zigbee repeaters) will all act as a repeater in your mesh. Depending on your home it might help to add in a few of them. But keep in mind that this will not magically make your existing devices use them. When setting up your network always pair your permanent powered devices first so they can act as endpoints for your battery powered ones.
I don't know if that's the (entire) story -- the mesh is supposed to occasionally reroute based on the link quality of the individual nodes and the repeaters they can see.
Well, this explains a whole lot. I've recently paired a few devices in front of the receiver and then moved them into position and wondered why some of them kept dropping off.
Also have a read of this https://www.metageek.com/training/resources/zigbee-wifi-coexistence/
Thanks TIL! Although I prefer this diagram that has all the wifi channels on it, instead of just the 3 common ones.
I had a similar problem with Aqara leak sensors. I solved it by installing a smart switch very close to it, about 30cm in my case. For shitty sensors, it's important to have strong signal close to them and set them up at the location of usage so they connect through that strong node.
Don't try fiddling with the receiver much, instead treat your network as a mesh, which it is. Ensure there's a good path of nodes between the receiver and the edges of the network. I did this initially by sprinkling IKEA smart switches around. I have at least one in every room. The same is valid for Z-Wave.
This is in addition to fixing your channels as suggested by others.
The most popular way (and might also be the best) is to use z2m instead of deconz
Do you have any zigbee routers (mains powered devices) scattered around your house? I had the same problem, then I strategically placed a bunch of smart plugs throughout my house. Haven't had any problems since.
No, I don't have any ZigBee routers, just the Aqara sensors. My home is pretty small, so I didn't think I would need them, but I am leaning towards that being the issue. Last night I paired one of the sensors again, right next to the controller and left it there - literally 5 cm from it. It has stayed online so far, which is more than it usually does.
Weird thing is that I have another sensor in that same room just like a couple meters away and that one keeps dropping. Is ZigBee's range really that short?
What criteria should I follow to place the routers? One per room should be enough?
My experience is that Zigbee's range is fine, but it is highly susceptible to interference/electrical wires/water pipes that might be in walls. I put my Conoff dongle on a 12 ft USB extension (my HA Raspberry Pi is right next to my router, modem, and home server). Then, as I was having issues with devices staying connected, I added routers. I tried to place them so they had clear line of sight with each other (or the dongle), or only through one wall. After that, I've had no problems. It ended up being about one per room. Ikea's smart plugs are cheap and I use them only as routers.
I use Z2mqtt and still get random powered devices showing as unavailable. Too bad there isn’t a “ping” feature like ZWave.
Nothing moves, and yet I get random unavailable devices that come and go randomly.
I guess I need to check my WiFi channels. One of my biggest complaints around Zigbee vs ZWave. I don’t have these issues with my ZWave devices.
Once everything is online have you checked the network map to see how it's all connected? That might give you an idea. If everything is connected directly to your gateway your problem is probably there. If it's all bridged through one relay device that device is likely the issue.
Yes would agree, more mains powered devices can help with network range
^This ...
I have seen a few places now where devices drop randomly if they're two "hops" over from a gateway. It always appears to be that the missing device thinks it is meshed in but the device it meshes with is saying nah, too far I can't understand you. Adding a mains powered zigbee gateway or device solves it promptly.
I've got a fairly extensive Zigbee network (32 devices) - using a CC2652 USB stick hooked up to an rpi with socat connecting that to my HA VM. I have probably a dozen wired devices (in-wall switches, plug-in outlets, etc.) scattered between the two floors and even the wired devices occasionally fall off the mesh, while most of them (and about 50% of the wireless devices) are pretty robustly connected. I've found no real link between LQI/RSSI and a device's stablity, nor have I found any real link between manufacturer and stability. Sonoff, Aqara, ewelink, lumi. It's frustrating, because some of the devices that fail to stay connected are within 3 meters of either the hub or a wired device and report great signal strength. I just don't feel that Zigbee is all that awesome for a robust low power network.
When I'm at the house next I might try moving the entire network to a different channel, as tedious as that is going to be.
How can I see how everything is connected or check the signal strength at the devices?
Devices and services, click on your Zigbee integration, configure, then network. Not sure if it works the same way for all the integrations, but that's how ZHA works. I know z2mqtt has a network map as well.
homeassistant
Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.
Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation
Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk