
When Zigbee bulbs, sensors or switches keep going unresponsive while the hub itself looks fine, check your Wi-Fi channel before you blame the devices. Zigbee and 2.4 GHz Wi-Fi sit in the same slice of the radio band, and when they land on the same frequencies, the Zigbee side usually loses. MetaGeek makes Wi-Fi analysis tools, and its guide to the two says "Usually, the ZigBee network will take the hit" (MetaGeek).
In a Dubai apartment tower your router isn't the only one in play. Your phone can probably see a long list of networks from the flats around you, and MetaGeek notes that neighbours run their own networks, "which have unpredictable channels".
Why the Channel Numbers Don't Line Up
Zigbee and Wi-Fi both number their channels, and the numbers mean different things. Home Assistant is open-source software for running a smart home from one place, and its documentation covers Zigbee in detail. It lists the valid Zigbee channels as "11 to 26 (all in the 2.4 GHz band)" (Home Assistant). Wi-Fi on 2.4 GHz uses its own numbering, and its three channels that don't overlap each other are 1, 6 and 11.
So Zigbee channel 11 and Wi-Fi channel 11 aren't neighbours. MetaGeek puts it like this: Wi-Fi's channels 1, 6 and 11 "use the exact same frequencies as ZigBee channels 11-22" (MetaGeek). That covers most of the Zigbee range.
The top of the Zigbee range isn't completely safe either. A Wi-Fi signal spills a little past its own channel, and MetaGeek says Zigbee 25 and 26 "can be caught in Wi-Fi channel 11's sideband lobe". MetaGeek says channel 26 is usually relatively unaffected by Wi-Fi, but that many Zigbee devices don't support it.
Our older post on smart devices dropping off Wi-Fi covers the Wi-Fi side of this: too many devices on one router, the crowded 2.4 GHz band in a tower, and why a separate network for smart devices helps.
Find Out Which Wi-Fi Channel You're On
Any of these will show it.
- The router's settings page. Log in to your router and open the wireless or Wi-Fi settings. The 2.4 GHz channel is usually there, often set to Auto.
- A Mac. Hold Option and click the Wi-Fi icon in the menu bar. Apple says the menu shows details including the "channel, frequency (or band)" of the network you're connected to (Apple). If it says 5 GHz, your Mac is on the other band, so check the router for the 2.4 GHz channel.
- A Wi-Fi analyser app on your phone. These list the networks around you and the channel each one uses, which is how you see what the neighbours are on.
Write the number down, along with your Zigbee channel. In the Philips Hue app the Zigbee channel setting is under Settings, then Bridge settings, then Zigbee channel. In Home Assistant it's on the Zigbee Network information page.
Now compare the two. A Zigbee channel from 11 to 22 is inside the range that MetaGeek says Wi-Fi channels 1, 6 and 11 cover between them. On 25 or 26, the Wi-Fi channel to watch is 11.
Fix the Wi-Fi Side First
Home Assistant's advice is that if you have overlapping Wi-Fi and Zigbee, "it is usually better to first only try changing and setting a static Wi-Fi channel on your Wi-Fi router or all your Wi-Fi access points" before you move Zigbee (Home Assistant).
That order makes sense for a flat. Changing a router setting takes a minute and nothing has to be paired again. Moving a Zigbee network can mean re-pairing some devices.
Pick a fixed 2.4 GHz channel in the router's settings in place of Auto, ideally the one your analyser app shows as least crowded. If your Zigbee network is on 25 or 26, keep the Wi-Fi off channel 11. MetaGeek's channel-planning example gives up Wi-Fi channel 11 to make room for Zigbee, though it says any two of 1, 6 and 11 can work as long as the Zigbee network sits on a good channel. If you have a mesh system with several units, set every unit, since the Home Assistant advice covers all your access points.
Then give it a day or two. If the drops stop, Zigbee can stay where it is.
How to Change the Zigbee Channel
If the Wi-Fi is settled and devices still drop, move the Zigbee network. How you do it depends on the hub. If your hub's app doesn't show a channel setting, stick with changing the Wi-Fi side.
Philips Hue
Philips Hue has the setting in the app. Philips says that if you're "having connectivity issues between your Philips Hue lights and Bridge, a Zigbee channel change may solve the problem" (Philips Hue). Go to the Settings tab, tap Bridge settings, tap Zigbee channel, then Change channel, and follow the steps on screen.
Home Assistant with ZHA
ZHA is the Zigbee integration built into Home Assistant. Go to Settings, then Connectivity, then Zigbee, and select Network information. Select the pencil next to the channel and pick one from the list.
The list has an option called Smart, which "scans all of the channels and then picks the best one, preferring 15, 20, 25 over all other channels". It runs once and doesn't keep watching for interference later. Home Assistant also says the best practice is to leave the channel at its default unless you have a reason to change it, and that after a change "It might take up to an hour for all devices to reconnect". Power cycling your Zigbee end devices, which are usually the battery sensors, speeds it up (Home Assistant).
Zigbee2MQTT
Zigbee2MQTT is another way to run Zigbee devices in Home Assistant. Here the channel is set in the configuration file, and the documentation suggests channel 11, 15, 20 or 25 "to avoid problems" (Zigbee2MQTT). The change goes out to the network as a broadcast, and the documentation says changing the channel on an existing network is only supported on zstack and ember adapters, two of the adapter types Zigbee2MQTT works with. Battery devices that are asleep at the time don't switch straight away and move the next time they wake up, so the documentation advises triggering them after the change. Some Zigbee devices don't support a channel change at all, and Zigbee2MQTT says changing the channel "might require re-pairing some devices".
Where the Hub Sits, and Other Noise
MetaGeek says Wi-Fi's side lobes show up most when you're very close to a router that's busy, and that this is "especially evident" when the Zigbee hub and the Wi-Fi access point are close together. So move the hub off the router, or along the shelf away from it. Even a metre or two gives them some distance.
Home Assistant users with a USB Zigbee stick have a second source of noise to deal with. The Home Assistant docs name USB 3 ports and unshielded USB 3 devices and cables as known problems for 2.4 GHz radios, and suggest "an adequately long shielded USB extension cable connected to a USB 2.0 port" to get the stick away from them (Home Assistant).
Other things in a flat use 2.4 GHz too. Zigbee2MQTT lists Bluetooth and wireless gaming accessories (Zigbee2MQTT), and its FAQ says a common error code shows up when "a microwave is on or when there are WiFi networks on the same channel" (Zigbee2MQTT).
Most mains-powered Zigbee devices pass messages along for the devices further away. Home Assistant calls these Zigbee Router devices, which aren't the same as your Wi-Fi router, and says a healthy network needs "many Zigbee Router devices relatively close to each other" (Home Assistant). A battery sensor at the far end of the flat with nothing mains-powered between it and the hub is the one most likely to drop. If that's your setup, a mains-powered Zigbee device that works as a Zigbee Router, placed somewhere between the two, gives the sensor something to pass its messages through.
If you've changed both channels, moved the hub and things still drop, tell us what you're running and we'll look at the layout with you.
Ready to Get Started?
Get a free consultation and we'll recommend what makes sense for your situation.
Get Free Consultation