I have been having all sorts of issues with Zigbee devices dropping off and rejoining the network that can be attributed to the interference the network is getting from in range WiFi networks.
I thought I’d go ahead and make a simple channel change to my ConBee II device to see if it fixes the problem. That’s were my problems started
It turns out there is no simple way of changing the Zigbee channel in the ZHA integration for Home Assistant. It also turns out that the ConBee II is factory set to channel 15 which clashes with an over used used WiFi channel (non-scientific statement, based on asking friends and family to check their routers for me and to do wifi scans in their homes).
The ZHA integration has a section on channel use:
zha:
zigpy_config:
network:
channel: 15 # What channel the radio should try to use.
channels: [15, 20, 25] # Channel mask
I followed this example but had no luck with the ConBee II device, so assume it only applies to one or two of the supported USB devices.
I googled and found lots of references to other people trying to change the channel too, but following what they suggested was unsuccessful.
Finally, in a fit of frustration, I contacted DeConz support and found them to be incredibly helpful. They answered my post within 10mins and I had a fix within 30mins.
For those of you who are also struggling to change channel. Here is what I did and I hope it helps.
I run HA on a Synology NAS in a docker container. Using this to do anything clever with the ConBee II device is not advised as the marthoc/deconz
docker container seems flakey at best when accessing the USB device,
I didn’t want to install any 3rd party software directly on to the NAS, so I decided to plug the ConBee II into a Windows machine and configure it directly using the DeConz software.
The advice from DeConz was as follows:
- Open the DeConz software and connect to the ConBee II
- Open the Network Settings
– Set the channel you want
– ClickSave
– ClickDone
- Leave the Zigbee network by clicking the
Leave
button - Exit the application
- To check the setting has been changed:
- Unplug and plug back in the COnBee II
- Restart DeConz and enter the Network Settings dialog
– ClickRead
– Check channel is selected - Exit the software
- Unplug your ConBee II from the Windows machine and plug it back into your NAS
- Restart Home Assistant
HA will now use the new channel, but you will need to wait for all your Zigbee devices to time out on the old channel and scan for the new channel. I found some devices switched to the new channel in 10-15mins, but some took over 4 hours to come back online in HA. Be patient. They all came back online for me in the end
For reference:
- My ConBEE II is running firmware:
deCONZ_ConBeeII_0x266f0700.bin.GCF
- I used the following DeConz software:
deCONZ_Setup_Win32_V2_12_03
Both can be found from this server: DeConz