How to Flash Sonoff Zigbee USB (ZBDongle-P)
In this article I will go through the steps to easily flash a Sonoff Zigbee USB Dongle (ZBDongle-P)
- Download the python program
- Download the firmware (in this article I use the router firmware)
- Extract the files to a folder on your PC
Flashing your Sonoff Zigbee USB Stick
- Open your terminal
- cd to the folder where you extracted the python program and firmware
- Plug in your Sonoff Zigbee USB stick
- type
ls -l /dev/serial/by-id
and press enter - This should show you what the device is recognised as i.e. /ttyUSB0 but it might be different on your PC
- Make a note of the output above
(Before you run the below, make sure you replace the firmware with what you downloaded and use the output above to specify your USB device) - now run this:
sudo ./cc2538_bsl.py -ewv -p /dev/ttyUSB0 --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_router_20221102.hex
- Enter your password
- You have now flashed your Sonoff Zigbee USB stick and should be able to pair it with your home automation system as a Zigbee Router
Note the the above was done using Linux. I do not know if this will work in Windows using Power Shell. Just ditch Windows and use Linux.
Below is a quick video showing you the steps above: