Hello! I am seeing some significant issues with setting up Zigbee w/ ZHA at my house, and have no idea what to do next.
Baseline info
- I am using ZHA
- HomeAssistant is running in Docker on a PC with few other services, and seems to run fine on its own
- Zigbee coordinators are passed into the container under
devices
in docker-compose with- /dev/serial/by-id/device-id-here:/dev/serial/by-id/device-id-here
- I’ve tried two coordinators:
- Dresden Electronik Conbee II (link omitted due to limit)
- Tube’s CC2652P2 based Zigbee to Ethernet/USB Serial Coordinator (over USB)
-
I am using a USB extension cable
- I’m fairly sure I’m using a USB 2.0 port. This computer is an old-ish compact gaming PC, and the ports do not show the “super speed” logo and are not blue.
- I’m trying to connect two kinds of devices in the same room, with direct line-of-sight
- Sengled Zigbee Bulbs (link omitted due to limit)
- Lutron Aurora (link omitted due to limit)
- I have read ZigBee and Wifi Coexistence (link omitted due to limit)
-
I have moved my own 2.4 GHz networks to WiFi channel 11
-
I live in a suburb with many neighboring wifi networks I cannot change. Channels 1, 6, and 11 all have at least one network with at most -70 dBm strength.
-
I have kept the coordinators on the default channel 15 as it seems to be the least noisy spot
-
- I typically group bulbs in a zigbee group to lower network traffic and see the same unreliability, including group commands not affecting every bulb.
- For bulbs in the same room – less than 2 meters from the coordinator – I’m getting LQI ranging from 120 to 178. I do not have an RSSI reading.
- I have tried removing the ZHA integration, deleting
zigbee.db
, and restarting from scratch multiple times
Problems:
- With Conbee II:
- Extreme unreliability: If I changed lights that the coordinator has a direct line-of-sight to 5 times or so it would suddenly drop changes for at least a minute, if not more. Experimenting with different light colors or different temperatures was unworkable, much less using a dimmer.
- The Aurora switches were oddly more reliable than the lights, but still had significant problems.
- With CC2652P2:
- Unreliability: I can more consistently change lights that I have a line-of-sight to, but I will still occasionally see drop-outs, especially if I make changes too often. Drop-outs were typically shorter than with the ConBee, but still significant. I’m doubtful about dimmer usability.
- The Aurora switches do not work at all when they pair, if they even pair. (That is, they do not emit
zha_event
when pressed.) Recently, both of my switches will show as connected in Home Assistant but be stuck in pairing mode. I have reset the switches multiple times and tried connecting them on a freshly-reset ZHA integration and DB.- This occurs even when the switches are less than a foot from the coordinator.
My questions:
- Is this a software problem or a hardware problem?
- Is Zigbee even workable with so many 2.4 GHz networks around me?
- Do I need more powerful equipment? What do I need to make this work? I already have a CC2652P2 coordinator with an external antenna.
- Is channel 15 the best channel in this instance?
- Channel 20 would get interference from my own wifi.
- Channel 26 I’ve read is not always supported, and would have some interference from my own wifi.
- All other channels would have strong interference with neighbors’ wifi.
- Would Zigbee2mqtt fix this somehow?
- Nearly all of these – the unreliability at least – seem like hardware or radio issues so I haven’t tried zigbee2mqtt yet.
- I’ve already spent hours on this so I’m hesitant to spend hours more on another dead-end.
- Could this be caused by the computer running Home Assistant?
- Is there an easy way to test these zigbee coordinators on other hardware / computers that I have on hand?
- Am I “resetting and starting from scratch” properly? I didn’t find much information about resetting ZHA, and if I don’t delete
zigbee.db
it tries to re-add existing devices instead of making a new network. - Has anybody been in a similar situation with severe unreliability and many neighboring wifi networks and found a fix?
And, as a final note: trying to set up this zigbee network has been very frustrating! I expected zigbee to work well because I’d heard good things. It probably would work well if circumstances were right, but I’m finding the debug-ability in these wrong circumstances to be really difficult! Common solutions to problems don’t seem to work in my case, and it’s not clear why.
Please help me! Even if it’s just to let me know that zigbee is unworkable in this circumstance!