Zigbee Devices Dropping Offline in Home Assistant
In this article
Zigbee devices randomly dropping offline in Home Assistant is a common frustration. This guide walks you through the most effective troubleshooting steps, from simple restarts to advanced Zigbee network optimization, so you can get your devices stable and keep them online.
What You'll Need
- Access to your Home Assistant instance (web UI or mobile app)
- The Zigbee coordinator's configuration page (ZHA or Zigbee2MQTT)
- Patience — Zigbee troubleshooting often involves trial and error
Step-by-Step
- Restart Home Assistant and the Zigbee integration. Go to Settings → System → Restart. After it comes back, check if devices reappear. If not, restart just the Zigbee integration: Settings → Devices & Services → Zigbee → ⋮ → Reload.
- Power-cycle the affected device. Remove the battery (or flip the circuit breaker for mains-powered devices), wait 10 seconds, then power it back on. Watch the device's LED — it should join the network within a minute.
- Check the Zigbee network map. In ZHA (Settings → Devices & Services → Zigbee → Configure → Visualization) or Zigbee2MQTT (Map tab), look for the device's connection path. If it's connected through a weak router (like a smart plug far away), that's a clue.
- Move the device closer to the coordinator temporarily. Bring the problematic device within 3-5 meters of your Zigbee coordinator. If it stabilizes, the issue is range or interference. If it still drops, the device itself may be faulty.
- Check for interference sources. Zigbee uses 2.4 GHz, which overlaps with Wi-Fi. Move Wi-Fi routers/access points away from the Zigbee coordinator. Also check for other 2.4 GHz devices like microwave ovens, Bluetooth speakers, or baby monitors near the device.
- Verify the coordinator's USB connection. If using a USB coordinator, try a different USB port (preferably USB 2.0), use a USB extension cable to move it away from the computer, and avoid USB hubs. Check the host's power management settings to ensure USB ports aren't suspending.
- Update firmware on the coordinator. For popular coordinators (e.g., Sonoff, ConBee, SkyConnect), check the manufacturer's website for firmware updates. Newer firmware often improves stability.
- Add Zigbee routers to strengthen the mesh. Mains-powered devices (smart plugs, bulbs) act as routers. If your network is sparse, add a few Zigbee smart plugs and place them between the coordinator and the problem area.
- Optimize channel. In Zigbee2MQTT, change the channel via
advanced.channelin the configuration. In ZHA, you may need to re-flash the coordinator to change the channel. Use a Wi-Fi analyzer app to find the least congested 2.4 GHz channel (usually 15, 20, or 25). - Remove and re-pair the device. As a last resort, delete the device from the integration, put the coordinator in pairing mode, and re-pair the device (usually by pressing a button on the device). This forces it to find a better route.
Common Mistakes
- Ignoring the coordinator's location. Placing it behind a metal cabinet or near a Wi-Fi router is a recipe for drops.
- Using too many battery-powered devices as routers. Battery devices are end-devices, not routers. Only mains-powered devices extend the mesh.
- Assuming all Zigbee devices are compatible. Some devices (especially older ones) may not play well with certain coordinators or software stacks.
- Changing channels without re-pairing all devices. After a channel change, you must re-pair every Zigbee device — otherwise they'll be lost.
- Forgetting about Zigbee's 32-device router limit. Some coordinators have a limit on the number of routers. If you exceed it, new routers may not be added properly.
Tips
- Use a dedicated Zigbee coordinator. If you're using a USB stick that also handles other protocols, consider a dedicated one for Zigbee.
- Keep the coordinator high and central. Elevate it (e.g., on a shelf) and away from metal objects.
- Monitor network health. Use the Zigbee network map to see link quality. In Zigbee2MQTT, you can see the LQI (Link Quality Indicator) for each device.
- Regularly restart the Zigbee integration. Some users find that a weekly reload keeps things stable.
- Consider a separate Zigbee network for large homes. If you have many devices, a second coordinator on a different channel may reduce congestion.
Troubleshooting
If the steps above don't solve the issue:
- Check the logs. In Home Assistant, go to Settings → System → Logs. Look for errors related to Zigbee (e.g., "device not found" or "timeout"). Search for the device name or IEEE address.
- Verify the device's power source. A weak battery can cause intermittent drops. Replace batteries with fresh ones (preferably lithium for outdoor sensors).
- Test the device with another Zigbee network. If you have a second coordinator (or a friend's), pair the device there. If it still drops, the device is faulty.
- Check for firmware updates on the device itself. Some devices (like IKEA or Aqara) have updates that fix connectivity issues. Use the manufacturer's hub or a Zigbee tool like Zigbee2MQTT's OTA update feature.
- Try a different Zigbee software stack. If you're using ZHA, try Zigbee2MQTT (or vice versa). Sometimes one stack handles certain devices better.
- Reset the coordinator completely. As a last resort, flash the coordinator to factory settings and rebuild your network from scratch. This is time-consuming but often fixes underlying corruption.
Frequently Asked Questions
Q: Why does my Zigbee device drop offline at the same time every day?
A: This often points to a scheduled event, like a Wi-Fi router channel change, a microwave being used, or a neighbor's device. Check your logs at that time and look for interference sources.
Q: Can I use Wi-Fi extenders to improve Zigbee range?
A: No. Wi-Fi extenders don't help Zigbee. You need Zigbee routers (mains-powered Zigbee devices) to extend the Zigbee mesh.
Q: How many Zigbee devices can I have before issues start?
A: It depends on the coordinator. Many USB coordinators handle 30-50 devices fine, but some can support 100+. The limit is often on the number of routers (typically 32).
Q: Is it better to use ZHA or Zigbee2MQTT?
A: Both are stable. Zigbee2MQTT offers more device support and advanced features (like OTA updates), while ZHA is built into Home Assistant and simpler. Try both if you're having issues.
Q: Why does my battery-powered device drop offline even when it's close to the coordinator?
A: Battery devices often sleep to save power. They may not respond to pings, so they appear offline. Check if the device has a "wake" interval setting. Also, some devices have a low-power mode that disconnects after inactivity.
Q: Can I mix Zigbee 3.0 and older Zigbee devices?
A: Yes, Zigbee 3.0 is backward compatible, but older devices may not support all features. They should still work, but may have limited routing capabilities.