TechBuzzPro

Add Zigbee Devices to Home Assistant: Coordinator & Pairing

· 6 min read · Smart Home

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To add Zigbee devices to Home Assistant, you first choose a Zigbee coordinator (a USB stick or network device that speaks Zigbee) and then put the device into pairing mode while Home Assistant scans for it. This guide covers picking a coordinator, installing the required integration, and pairing devices reliably.

What You'll Need

  • A Home Assistant installation (Home Assistant OS, Container, or Supervised) with admin access.
  • A Zigbee coordinator: a USB dongle (e.g., ConBee II, Sonoff Zigbee 3.0 USB dongle Plus, or a Home Assistant Connect ZBT-1) or a network coordinator (e.g., a Hubitat or a Zigbee2MQTT-supported device).
  • The Zigbee device you want to add (sensor, bulb, plug, etc.).
  • For USB coordinators: a USB port on the machine running Home Assistant (or a remote USB-over-network setup).
  • Optional: a USB extension cable to avoid interference.

Step-by-Step

  1. Decide on your coordinator and integration. Home Assistant supports three main ways to use Zigbee: ZHA (built-in, works with most coordinators), Zigbee2MQTT (requires an MQTT broker, supports more devices), and deCONZ (for ConBee/RaspBee). For most users, ZHA is the simplest. For this guide, we’ll use ZHA with a USB coordinator.
  2. Plug in the coordinator. If it’s a USB stick, plug it directly into the machine running Home Assistant (or into a remote host if using a network coordinator). For a network coordinator, follow its own setup instructions to get it on your network.
  3. Start Home Assistant and go to Settings. In the sidebar, click Settings > Devices & Services. Click Add Integration and search for “Zigbee Home Automation” (ZHA). If you don’t see it, make sure you have the latest version of Home Assistant.
  4. Select your serial port. In the ZHA setup dialog, choose the serial port that matches your coordinator. It usually appears as something like /dev/ttyUSB0 or /dev/ttyAMA0. If you’re unsure, unplug the coordinator and see which port disappears, then plug it back and select it.
  5. Choose the radio type. ZHA will try to auto-detect the radio type, but if prompted, select the manufacturer of your coordinator (e.g., “ConBee” for ConBee II, “EZSP” for Silicon Labs-based dongles). If you’re not sure, leave the default and let ZHA guess.
  6. Finish the integration setup. After a few seconds, ZHA should detect the coordinator and show it as a device. If it fails, see the Troubleshooting section below.
  7. Put your Zigbee device into pairing mode. This is the most common point of confusion. For most devices, you need to hold a button on the device (often the main button or a reset button) for 3–10 seconds until an LED blinks or the device flashes. Check the device’s manual for exact instructions. Some devices (like Philips Hue bulbs) go into pairing mode automatically when you power them on for the first time.
  8. Start pairing in Home Assistant. In the ZHA integration page (Settings > Devices & Services > Zigbee Home Automation), click Add Device. Home Assistant will start scanning for nearby devices.
  9. Wait for the device to appear. Keep the device close to the coordinator (within 1–3 meters) during pairing. After a few seconds to a minute, the device should appear in the list. Click on it to add it.
  10. Name the device. After pairing, you’ll be asked to assign a name (e.g., “Living Room Lamp”). This makes it easier to control later.
  11. Test the device. Turn it on/off or check its sensor data in Home Assistant. If it works, you’re done. If not, see Troubleshooting.

Common Mistakes

  • Choosing the wrong serial port. If you have multiple USB devices, you might pick the wrong port. Double-check by unplugging the coordinator and seeing which port disappears in the ZHA setup.
  • Not putting the device in pairing mode correctly. Many devices require a specific button press sequence (e.g., hold for 5 seconds, release, then hold again). Read the device’s manual.
  • Pairing too far from the coordinator. Zigbee uses a mesh network, but for the initial pairing, the device needs to be within a few meters of the coordinator. Move it closer.
  • Using a coordinator that isn’t supported. Some cheap USB sticks are not compatible with ZHA. Check the Home Assistant documentation for a list of officially supported coordinators.
  • Forgetting to add an MQTT broker if using Zigbee2MQTT. If you choose Zigbee2MQTT, you must first install and configure an MQTT broker (like Mosquitto) in Home Assistant.

Tips

  • Use a USB extension cable. USB 3.0 ports and other USB devices can cause interference with Zigbee. A short USB 2.0 extension cable can help.
  • Place the coordinator centrally. For better coverage, place the coordinator in a central location, away from metal objects and large appliances.
  • Pair one device at a time. Trying to pair multiple devices simultaneously can cause confusion. Pair them one by one.
  • Keep the device’s manual handy. Pairing instructions vary by brand and model. If you lose the manual, search online for “[device model] pairing mode”.
  • Consider Zigbee2MQTT for more device support. If you have a device that ZHA doesn’t recognize, try Zigbee2MQTT. It supports a wider range of devices and often has better compatibility.

Troubleshooting

If the coordinator isn’t detected: First, unplug and replug the coordinator. Then restart Home Assistant. If it still isn’t detected, try a different USB port. On some systems, you may need to add the user to the dialout group (on Linux) to access the serial port. If you’re using a network coordinator, check its IP address and that it’s on the same network.

If pairing fails: Remove the device from any previous Zigbee network (if it was paired before). Some devices need a factory reset before they can join a new network. Also, make sure the device is in pairing mode and close to the coordinator. Try restarting the ZHA integration (Settings > Devices & Services > Zigbee Home Automation > three-dot menu > Reload).

If the device pairs but doesn’t respond: Check the device’s battery (if battery-powered). For mains-powered devices, try turning them off and on. Sometimes the device needs a “re-interview” – in ZHA, go to the device’s page and click the re-interview button.

If you see “Device not supported” in ZHA: This means the device model isn’t in the ZHA database. Try Zigbee2MQTT instead, or check if the device needs a firmware update. Some devices are officially unsupported and may not work at all.

If the coordinator works but keeps disconnecting: This is often due to power management on USB ports. Disable USB power saving in your operating system, or use a powered USB hub. Also, avoid using USB 3.0 ports if possible.

Frequently Asked Questions

Can I use a Zigbee device without a coordinator?

No. A coordinator is required to create the Zigbee network. Without it, Home Assistant cannot communicate with Zigbee devices.

What’s the difference between ZHA and Zigbee2MQTT?

ZHA is built into Home Assistant and requires no extra setup. Zigbee2MQTT requires an MQTT broker but supports more devices and offers more advanced features like device binding and custom converters.

Can I mix devices from different brands?

Yes, as long as they are Zigbee devices, they can join the same network. However, some devices may not work well with others due to differences in implementation.

How many devices can I add?

It depends on the coordinator. Most USB coordinators support up to 200 devices, but the practical limit is often lower due to network traffic and interference. Check your coordinator’s specifications.

Do I need to keep the device close to the coordinator after pairing?

No. After pairing, the device can be moved to its final location. It will use the Zigbee mesh network to communicate through other devices if needed.

How do I remove a Zigbee device from Home Assistant?

Go to Settings > Devices & Services > Zigbee Home Automation, find the device, click on it, and select “Remove Device.” The device will then be unpaired from the network.