SONOFF Zigbee Devices Work with Home Assistant
Home Assistant is an open-source home automation that puts local control and privacy first and is designed to be a central control system for smart home devices. You can use a Zigbee coordinator to turn your Home Assistant instance into a replacement for your Zigbee hub, then pair all your SONOFF Zigbee devices so that Home Assistant can talk directly to SONOFF Zigbee devices. There are two main methods for doing this in Home Assistant, ZHA (built into Home Assistant) or Zigbee2MQTT (third-party add-on). Let’s follow the official tutorial to walk you through those steps.
Choose a Good Zigbee Coordinator – ZBDongle-E Or ZBDongle-P
In Home Assistant, Zigbee hubs are referred to as coordinators. Even though they are not the same piece of hardware, they carry out the same function. A Zigbee coordinator is the central device in a Zigbee network that controls and manages communication between other Zigbee devices, such as sensors, switches, and other smart home devices.
For a stable and solidified Zigbee network, you need a good coordinator. SONOFF ZBDongle-P and ZBDongle-E could be the best Zigbee coordinators for Home Assistant currently on the market, please check the difference between ZBDongle-P and ZBDongle-E, you can choose the right one according to your needs.
Item | ZBDongle-P | ZBDongle-E |
SoC | CC2652P | EFR32MG21 |
Serial Interface Protocol | Z-Stack (ZNP) | EmberZNet (EZSP) |
USB-Serial Chip | CP2102(N) | CH9102F |
USB Product Description ID | SONOFF Zigbee 3.0 USB Dongle Plus | SONOFF Zigbee 3.0 USB Dongle Plus V2 |
Flow Control | None (default) | Software flow control |
Shell Length | 63mm | 52mm |
Output Power | 5dBm (default), Max20dBm | 20dBm (default) |
Home Assistant ZHA | Supported | Supported |
Zigbee2MQTT | Supported | Supported |
Buy Now | Buy Now | |
Notice: The ZBDongle-P original firmware does not support the flow control, however, if you flash a "flow control supported" firmware, flick the switch onboard of ZBDongle-P, then the flow control is supported. |
Flash ZBDongle-p with the Router Firmware
ZBDongle-E on EFR32MG21 vs. ZBDongle-P on CC2652P
Two Ways to Connect SONOFF Zigbee Devices to Home Assistant
Once you have your Home Assistant server running with a Zigbee dongle on a USB extension cable, you can pick your Zigbee integration for Home Assistant. Essentially, you have 2 options:
Integrate SONOFF Zigbee Devices with Home Assistant via ZBDongle-E/P through ZHA

1. Precondition
Install Driver:
ZBDongle-P: Windows: CP210x_Windows_Drivers_with_Serial_Enumeration
ZBDongle-E: Windows: CH343SER macOS: ch34xser_macos-main
2. SONOFF Zigbee 3.0 USB Dongle Plus Setup
*Note: If your dongle can’t be auto-discovered, it may be because your version of Hass hasn’t integrated this feature yet, you can follow the normal configuration steps below.


3. Set Up Zigbee Intergration Via ZHA
4. Add SONOFF Zigbee devices to Zigbee Dongle Plus on HA

Step-by-step Video Instruction
Integrate SONOFF Zigbee Device with Home Assistant via ZBDongle-E/P through ZHA

1. Precondition
A Raspberry Pi with Home Assistant installed: Connect your computer to the same Wi-Fi as the Raspberry Pi and enter the address(homeassistant.local:8123)into your browser to open the Hass page. Raspberry Pi (Linux) is recommended, if you use Windows or macOS, you need to run Home Assistant under a Linux virtual machine. If you want to communicate directly with the dongle on Windows or macOS, you need to install the driver first.
Install Driver:
ZBDongle-P: Windows: CP210x_Windows_Drivers_with_Serial_Enumeration
ZBDongle-E: Windows: CH343SER macOS: ch34xser_macos-main

2. SONOFF Zigbee 3.0 USB Dongle Plus Setup
As the “Product Description String” of the dongle plus has been customed to a unique identifier “Sonoff Zigbee 3.0 USB Dongle Plus”, which has been also added to Home Assistant’s whitelist of auto-discovered devices, the configuration of the dongle in Hass can be very simple. Just plug the dongle into your computer, it will be automatically discovered.
*Note: If your dongle can’t be auto-discovered, it may be because your version of Hass hasn’t integrated this feature yet, you can follow the normal configuration steps below.

3. Set Up Zigbee Intergration Via ZHA

4. Add SONOFF Zigbee devices to Zigbee Dongle Plus on HA
Step-by-step Video Instruction
Integrate SONOFF Zigbee Devices with Home Assistant via ZBDongle-E/P through Zigbee2MQTT

1. Install the Zigbee2MQTT Add-on
The first step is you need to create an MQTT user, give the user name MQTT-user and select Allow the person to log in and can only log in from the local network. Plugin the dongle on Raspberry Pi, and use a USB extension cable to connect the dongle to Raspberry Pi. Once you have plugged in, go to Settings > System > Hardware. Click the 3-dot and select All Hardware, find the serial dongle connection, and get the connection details. Go to Settings > Add-ons and click Add-on Store and find the Mosquitto broker. Click Install and Start to start the broker.
Then go to Settings > Add-ons, click Add-on Store, click the 3-dot button and select Repositories. Add https://github.com/zigbee2mqtt/hassio-zigbee2mqtt and click Close. Scroll down to the “Zigbee2MQTT” add-on and click on it. Click on the “Install” button. Wait for the installation to complete.
2. Configure your SONOFF Zigbee devices


3. Pair your SONOFF Zigbee devices
4. Control your SONOFF Zigbee devices
Use the controls to turn the device on or off, adjust its settings, or perform other actions.

Step-by-step Video Instruction
Integrate SONOFF Zigbee Device with Home Assistant via ZBDongle-E/P through Zigbee2MQTT

1. Install the Zigbee2MQTT Add-on
The first step is you need to create an MQTT user, give the user name MQTT-user and select Allow the person to log in and can only log in from the local network. Plugin the dongle on Raspberry Pi, and use a USB extension cable to connect the dongle to Raspberry Pi. Once you have plugged in, go to Settings > System > Hardware. Click the 3-dot and select All Hardware, find the serial dongle connection, and get the connection details. Go to Settings > Add-ons and click Add-on Store and find the Mosquitto broker. Click Install and Start to start the broker.
Then go to Settings > Add-ons, click Add-on Store, click the 3-dot button and select Repositories. Add https://github.com/zigbee2mqtt/hassio-zigbee2mqtt and click Close. Scroll down to the “Zigbee2MQTT” add-on and click on it. Click on the “Install” button. Wait for the installation to complete.

2. Configure your SONOFF Zigbee devices

3. Pair your SONOFF Zigbee devices

4. Control your SONOFF Zigbee devices
Click on the “Dashboard” tab in the sidebar. Find your SONOFF Zigbee device in the list of devices. Click on the device to open its control panel.
Use the controls to turn the device on or off, adjust its settings, or perform other actions.
Step-by-step Video Instruction
Supported Zigbee Devices
-
Zigbee 3.0 USB Dongle Plus–ZBDongle-E
$19.90 Add to cart -
SONOFF ZBMINI Zigbee Two Way Smart Switch
$9.90 Add to cart -
SONOFF SNZB-01 – Zigbee Wireless Switch
$7.99 Add to cart -
SONOFF SNZB-02 – Zigbee Temperature and Humidity Sensor
$8.49 Add to cart -
Sale!
-10%
SONOFF SNZB-03 – Zigbee Motion Sensor
$8.54 Add to cart -
Sale!
-10%
SONOFF SNZB-04 – Zigbee Wireless door/window sensor
$7.64 Add to cart -
SONOFF S31 Lite zb Smart Plug US Type Zigbee Version
$12.99 Add to cart -
SONOFF S26R2ZB Zigbee Smart Plug – UK/DE/FR
$12.99 Select options -
Sale!
Hot-10%
SONOFF Zigbee 3.0 USB Dongle Plus
$17.90 Add to cart -
SONOFF Zigbee Smart Plug| iPlug Series S40 Lite
$12.90 Select options -
Sale!
New-10%
SONOFF SNZB-02D Zigbee LCD Smart Temperature Humidity Sensor
$11.69 Add to cart -
Sale!
New-10%
SONOFF Zigbee Wireless Switch | SNZB-01P
$8.91 Add to cart
Special Offer

FAQ
1.Can I pair other brand of zigbee sub-device with this zigbee usb dongle?
Yes, you can pair to 50 direct children, and up to 200 children via the router, flash the latest firmware by yourself. You can download the firmware tool on the platform if needed.
https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator
2.Do I need a separate hub to use SONOFF ZBDongle-E/P with Home Assistant?
No, you don’t need a separate hub to use SONOFF ZBDongle-E/P with Home Assistant. The dongle acts as a coordinator and enables your computer or Raspberry Pi to communicate directly with your Zigbee devices.
3.Can I use the ZBDonlge-P/E as a Zigbee router and how to flash the firmware?
Yes, you have to flash the router firmware by yourself refer to the below tutorial documentation.
https://sonoff.tech/wp-content/uploads/2023/02/SONOFF-Zigbee-3.0-USB-dongle-plus-firmware-flashing.pdf
For ZBDongle-P router firmware link:
https://github.com/Koenkk/Z-Stack-firmware/tree/master/router/Z-Stack_3.x.0/bin
For the ZBDongle-E router firmware link:
https://github.com/itead/Sonoff_Zigbee_Dongle_Firmware/tree/master/Dongle-E/Router
Here is a tutorial made by our collaboration KOL:
https://www.youtube.com/watch?v=4usy1ESI4k4
4. What should be filled in the Baud Rate when configuring Dongle?
115200
5. I want to flash the Dongle firmware, what tool should I use?
Dongle-P: SmartRF Flash Programmer
Dongle-E: Any serial communication tool that supports sending Xmodem, such as SecureCRT