Integration of Zigbee devices with ioBroker

Various Zigbee devices can be integrated with the iobroker using a CC2531 USB stick. The CC2531 is a cost-effective substitute for the use of HUBs, which are essential for the operation of Zigbee devices. At the time of writing, it  supports 1667 devices from  240  different vendors.

ConBee II The Universal Zigbee USB Gateway

ConBee II The Universal Zigbee USB Gateway

The ConBee II replaces several manufacturer-specific with a single gateway and supports many Zigbee devices from well-known brands

advertising – amazon.com

Thanks to its low power consumption, Zigbee devices are ideal for cordless devices, even for years without battery replacement.

Its range can be 10-20 meters, depending on the performance and structural properties of the building, ideally up to 100 meters. This can be extended by using so-called routers. Typically, network-powered Zigbee devices can also act as routers. You can also use the Texas Instruments CC2530 insert as an inexpensive solution.

CC2530 RFX2401 zigbee PA Module

CC2530 RFX2401 zigbee PA Module

advertising – amazon.com

Firmware for CC2530 and CC2531 is available here

On the machine where the iobroker is running, insert the CC2531 USB stick into a free USB slot. 

Installing a Zigbee adapter

On the ioBroker Adapters tab, locate and install the zigbee adapter.

Installing a Zigbee adapter
Installing a Zigbee adapter

After installation, the adapter must be configured. To do this, we need the name of the COM port used by the CC2531 USB stick. To get this, you can log in via SSH or use the iobroker terminal adapter. Enter the following command:

ls -la /dev/serial/by-id
The COM port used by the CC2531 USB stick
The COM port used by the CC2531 USB stick

Enter the resulting ID along with the path in the COM port name field on the Zigbee adapter settings tab and save it.

Zigbee adapter setting
Zigbee adapter setting

With this we are ready, we can use our Zigbee adapter. Now we can discover and pair Zigbee devices. To do this, click on the green button in the upper right corner.

Press and hold the device reset button for 5 seconds until the LED flashes, then the device connects automatically.

The paired devices then appear on the Devices tab with basic information.

Paired devices on the Devices tab
Paired devices on the Devices tab

On the Network Map tab, you can visually see the connection of the devices.

On the Network Map tab, you can visually see the connection of the devices
On the Network Map tab, you can visually see the connection of the devices

On the Object tab, you will find the data points of the connected Zigbee devices.

On the Object tab, the data points for Zigbee devices
On the Object tab, the data points for Zigbee devices

Supported devices

Supported devices without the need for completeness:

SONOFF ZigBee Motion Sensor

SONOFF ZigBee Motion Sensor

SONOFF SNZB-03 ZigBee Motion Sensor, 2-Pack Wireless Motion Detector Get Alerts or Trigger Lights to Turn on, SONOFF Zigbee Bridge Required

advertising – amazon.com

StelPro Zigbee Smart Thermostat

StelPro Zigbee Smart Thermostat

StelPro STZB402WB+ 4000W Zigbee KI Thermostat For the Smart Home

advertising – amazon.com

Sengled Zigbee Smart Plug

Sengled Zigbee Smart Plug

Sengled Smart Plug, Zigbee Hub Requied, Amazon Smart Plug Works with Alexa, Google Home, SmartThings, Smart Outlet Energy Monitoring, Smart Socket Remote Control, 15A 1800W, UL ETL FCC Listed, 4 Pack

advertising – amazon.com

Sengled Zigbee Smart Light Bulbs

Sengled Zigbee Smart Light Bulbs

Sengled Zigbee Smart Light Bulbs, Smart Hub Required, Works with SmartThings and Echo with Built-in Hub, Voice Control with Alexa and Google Home, Color Changing 60W Eqv. A19 Alexa Light Bulb

advertising – amazon.com

SONOFF ZigBee Temperature and Humidity Sensor

SONOFF ZigBee Temperature and Humidity Sensor

SONOFF SNZB-02 ZigBee Mini Indoor Temperature and Humidity Sensor for Checking the Room Climate, SONOFF ZigBee Bridge Required. Works with Alexa, Google Home

advertising – amazon.com

Sengled Smart Door Sensor

Sengled Smart Door Sensor

Sengled Smart Door Sensor, Smart Sensor for Window and Door, Hub Required, Compatible with Alexa, Google Assistant and SmartThings, APP Control

advertising – amazon.com

SONOFF SNZB-01 Zigbee Wireless Switch

SONOFF Zigbee Wireless Switch

SONOFF SNZB-01 Zigbee Wireless Switch, Supports To Create Smart Scenes, Trigger The Connected Devices on Ewelink APP With Three Control Options

advertising – amazon.com

Linkind Zigbee PIR Motion Sensor

Linkind Zigbee PIR Motion Sensor

Linkind PIR Motion Sensor, Wireless Motion Detector, Zigbee White, for DIY Use with Linkind Home Security System, Automation with Linkind Smart Zigbee LED Lights

advertising – amazon.com

SONOFF SNZB-04 ZigBee Wireless Door Window Sensor

SONOFF ZigBee Door Window Sensor

SONOFF SNZB-04 ZigBee Wireless Door Window Sensor, Burglar Alarm for Home Security, Compatible with Alexa/Google Home

advertising – amazon.com

Linkind Door Window Sensor

Linkind Door Window Sensor

Linkind Door Window Sensor, Zigbee-White, for Use with Linkind Home Security System, Automation with Linkind Smart Zigbee LED Lights

advertising – amazon.com

Complete list of supported devices.