zigpy-zboss library makes Nordic Semi nRF52840 Zigbee dongles compatible with Home Assistant

zigpy-zboss is a Python library that adds support for Nordic Semiconductor nRF52840 modules to zigpy open-source Python Zigbee stack project, as well as other Network Co-Processor radios that run firmware based on ZBOSS Open Initiative (ZOI). This enables integration with compatible Zigbee gateway implementations such as Home Assistant’s ZHA integration component and allows users to directly control Zigbee devices from a wide range of manufacturers such as IKEA, Philips Hue, SmartSung SmartThings, ITEAD SONOFF, Xiaomi Aqara, and others.

Home Assistant’s ZHA integration already worked with Zigbee dongles based on Silicon Labs Mighty Gecko EFR32MG21 or Texas Instruments CC2652P microcontrollers, but now it’s possible to use nRF52840 dongles and development as Zigbee Coordinators thanks to the zigpy-zboss library.

nRF52840 Home Assistant

 

The zigpy-zboss ZBOSS radio library for zigpy source code and resources can be found on GitHub, but note that this is still an unofficial and experimental port, so testers need to manually it to the ZHA component in Home Assistant. There’s an issue open in zigpy to add support for the main project.

The official Nordic Semi nRF52840 USB Dongle (nRF52840-DONGLE) as shown above sells for $10, but it comes without an enclosure, so an alternative could be USB dongles on Aliexpress that go for the same price but with a case and a USB Type-A connector. This should also work on the full nRF52840-DK devkit if you happen to have one. In any case, you’ll just need to load a firmware image built using the ZBOSS NCP Host sample from Nordic Semi as provided by the zigpy-zboss project.

Hedda, a regular CNX Software reader who tipped us about the project, also said the project may eventually work with the nRF5340 chip, and zigpy-zboss could eventually be of interest to ESPHome and Tasmota developers since Espressif provides ESP ZBOSS 3.0 Libraries and the Zigbee/Thread capable ESP32-C6 and ESP32-H2 chips will soon be supported in the upcoming ESP-IDF SDK v5.1. In other words, that means we could potentially see ESP32-H2 Zigbee dongles using the zigpy-zboss project supported by Home Assistant’s ZHA integration in the future.

Thanks to Hedda for the tip.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX Rockchip RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
8 Comments
oldest
newest
Upgrade pi-top [3]
Upgrade pi-top [3]
1 year ago

Is it “zipqy-zboss” or “zigpy-zboss”?

Hedda
Hedda
1 year ago

zigpy-zboss (as it is a ZBOSS radio library for the zigpy project. The zigpy project itself got it name from merging the words Zigbee and Python.

Upgrade pi-top [3]
Upgrade pi-top [3]
1 year ago

Thanks for the clarification – I guess M. Aufranc could correct the typo that led to the confusion.

Upgrade pi-top [3]
Upgrade pi-top [3]
1 year ago

Strange indeed! Yeah it still appears at the end of the penultimate paragraph

Upgrade pi-top [3]
Upgrade pi-top [3]
1 year ago

Seems to be fixed now!

Jeroen
1 year ago

Aren’t these just supported by zigbee2MQTT?, seems silly to add a slow pyhon lib extra between them.

Hedda
Hedda
1 year ago

No, it are not. Zigbee2MQTT depends on the zigbee-herdsman library which do not support ZBOSS Zigbee stack. This has nothing to do with Zigbee2MQTT. zigpy is not slow since the Zigbee is a low-bandwidth protocol and the microcontroller on the radio SoC does much of the hard work as it is running the Zigbee stack. Anyway, Home Assistant is based on Python and the ZHA integration that depends on zigpy is fully nativly integrated into Home Assistant and officially supported by Nabu Casa, while Zigbee2MQTT is not (though it has many other benefits), as it is as much of a… Read more »

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...