Integration of Zigbee devices with ioBroker

A proven way to integrate Zigbee devices into ioBroker is to use the ioBroker Zigbee adapter. The adapter communicates directly with a compatible Zigbee coordinator, which can be a USB device or a supported network coordinator. This means you do not need a separate gateway from each device manufacturer.

Created: September 2021

Reviewed: November 2026

Prerequisite: An installed ioBroker server.

Thanks to their low power consumption, Zigbee devices are well suited to battery-powered applications. Battery life depends on the device, battery type, and usage, but can be several years.

The range of an individual device depends on its radio performance and the structure of the building. Indoors, a range of around 10–20 metres is often a reasonable expectation; greater distances are possible under favourable conditions. We can extend the network’s coverage with Zigbee devices that act as routers. Many mains-powered Zigbee devices can do this, but it is worth checking the specifications of each model.

Zigbee coordinator: the hardware you need

To connect Zigbee devices to ioBroker, we need a compatible Zigbee coordinator. This guide uses a USB coordinator. The adapter supports several types of hardware, including devices based on the Texas Instruments CC2652P or CC1352P and the Silicon Labs EFR32 series.

The ioBroker Zigbee adapter still supports the older CC2531 USB stick, but the official ioBroker documentation considers it outdated. I often experienced connection and range problems with the CC2531 device I tested previously, so I would not recommend this model for a new network.

On my ioBroker server, and in this guide, I use the Sonoff Zigbee 3.0 USB Dongle Plus V2 (ZBDongle-E) as the coordinator. This version is based on the EFR32MG21 chip and has an external antenna and a metal housing.

Do not confuse it with the similarly named Sonoff Zigbee 3.0 USB Dongle Plus (ZBDongle-P), which uses a CC2652P chip.

Zigbee routers can help extend the coverage of the network. The ZBDongle-E normally comes with coordinator firmware, but it can also be flashed with router firmware using the web-based SONOFF Dongle Flasher.

The dongle serving as the coordinator of the ioBroker Zigbee network must run coordinator firmware. If you want to build a separate Zigbee router, use another dongle for that purpose.

Where should you place the coordinator?

Connect the coordinator to an available USB port on the computer running ioBroker. In my setup, this is the Sonoff Zigbee 3.0 USB Dongle Plus V2.

It is a good idea to use a USB extension cable to move the coordinator away from the computer and its USB 3 ports. Electromagnetic interference around them can affect the 2.4 GHz Zigbee connection. Try to place the dongle in an open position, away from a metal computer case and other radio devices.

If the network works but some devices have an unreliable connection, try changing the coordinator’s position first. You can later improve coverage in more distant rooms with Zigbee devices that act as routers.

Installing the Zigbee adapter

Find the Zigbee adapter on the ioBroker Adapters page and install an instance. Click the three dots in the blue circle on the adapter card, then click the “+” button.

Installing the Zigbee adapter on the ioBroker Adapters page
Installing the Zigbee adapter.

Configuring the Zigbee adapter

After installation, we need to configure the adapter. First, we need the path to the serial port used by the Sonoff Zigbee 3.0 USB Dongle Plus V2. On Linux, it is useful to choose a path under /dev/serial/by-id/. This path normally continues to identify the same device even if its shorter device name changes after a restart.

To find the path, connect to the server over SSH or use an ioBroker terminal adapter. Enter the following command:

ls -la /dev/serial/by-id
The Sonoff Zigbee USB coordinator's path in the /dev/serial/by-id directory
Find the coordinator’s persistent serial port identifier in /dev/serial/by-id.

Enter the complete path in the Zigbee adapter’s “COM port name” field.

In the “Type” drop-down list, select the type that matches your coordinator and its firmware. For the ZBDongle-E shown here, the setting is “SL EFR32 (EZSP) FW 7.2.x.x”. If you use a different dongle, check its documentation and firmware before choosing the type. For example, the CC2652P-based ZBDongle-P uses “TI Z-Stack / CCxxxx”.

The “Channel” field is set to Zigbee channel 11 by default. If nearby 2.4 GHz Wi-Fi networks cause interference, channels 15, 20, or 25 are worth considering. Wi-Fi and Zigbee channel numbers do not represent the same frequencies, so check their actual overlap before making a choice. It is best to set the Zigbee channel before pairing your devices.

ioBroker Zigbee adapter settings for a ZBDongle-E coordinator
Setting the serial port, EFR32/EZSP type, and Zigbee channel.

Save the settings. Once the adapter has started and connected to the coordinator, we can begin pairing devices.

Pairing Zigbee devices

To allow pairing, click the green button in the upper-right corner. A countdown begins, with a default duration of 60 seconds.

Put the Zigbee device you want to add into pairing mode. Check the device’s instructions for the exact procedure. On the Aqara devices I use, I hold the reset button for about five seconds until the LED starts flashing.

After successful pairing, the device joins the Zigbee network. Paired devices appear on the Devices tab along with their basic information.

Paired Zigbee devices on the Devices tab of the ioBroker Zigbee adapter
Successfully paired devices on the Devices tab.

On the Network Map tab, we can generate a map of the network and view the connections between devices.

Connections between Zigbee devices on the Network Map tab of the ioBroker Zigbee adapter
The Zigbee network map on the Network Map tab.

The data points of connected Zigbee devices are available on the Objects page.

Data points of connected Zigbee devices on the ioBroker Objects page
Zigbee device data points on the Objects page.

Compatible Zigbee devices

You can browse the list of supported devices on the Zigbee2MQTT website before buying a new Zigbee device. It is also worth checking whether the device works with the ioBroker Zigbee adapter.

The ioBroker Zigbee adapter uses some of the same underlying libraries, but support for a new device may arrive in ioBroker later. The Zigbee2MQTT list alone therefore does not guarantee that a device will immediately work with your current version of the ioBroker Zigbee adapter.

Troubleshooting when the Zigbee network does not start or pairing fails

The adapter cannot connect to the coordinator. Check that the dongle is connected to the computer and that the configured serial port exists. On Linux, run ls -la /dev/serial/by-id again and compare the result with the “COM port name” field. Also check the ioBroker log for details of the connection error.

The port exists, but the Zigbee subsystem does not start. Check that the “Type” field matches the actual dongle and its firmware. The ZBDongle-E used here is based on EFR32. A dongle used as a coordinator must run coordinator firmware. Also check whether another program or adapter is already using the same serial port.

The device does not appear during pairing. Start a new pairing window and put the device into pairing mode according to its manufacturer’s instructions. For the first attempt, move it closer to the coordinator. If it is battery-powered, check the battery too. A device previously joined to another Zigbee network may need to be removed from that network or reset to factory settings first.

The device joins but appears as unknown. Check its details on the Devices tab and in the ioBroker log. The adapter may not yet have a suitable device definition for that model. The Zigbee2MQTT compatibility list is a useful reference, but does not prove that the current ioBroker Zigbee adapter fully supports the device.

Devices occasionally lose their connection. Try moving the coordinator farther from the computer with a USB extension cable. Check for overlap between Zigbee and Wi-Fi channels, and whether Zigbee routers are available to devices farther away. The network may take some time to find better routes.


← More ioBroker tutorials