Sonoff zigbee 3.0 usb dongle reset?

I need to wipe my sonoff zigbee dongle clean and do a fresh install of zigbee2mqtt. However upon a little research I haven’t found any information on how to accomplish this? I see based on some goggle searches that it has a reset button, but very little documentation on what it does or how to execute it? Has anyone wiped their dongle clean before and have any advice?

Appreciate any and all input!

1 Like

What issue exactly are you trying to solve?

This script can perform a “mass erase”:

Be careful what you wish for. If you erase the bootloader, you will need a cJTAG to re-flash it.

Thanks…My issue started when I swapped out my Zwave 700 series stick for a Generation 5…(Despite the updated firmware I was still receiving dead nodes with the 700) and upon doing so it changed the USB port from USB0 to ACM0 and my Zigbee stick jumped to USB0…Long story short, for whatever reason the Sonoff Zigbee stick couldn’t find several of my XHS2-UE contact sensors. I was able to repair most of them but I have 4 that simply throw an immediate error when attempting to repair and will not join. I’ve left them unplugged over night and still get the same results. I even unplugged the dongle for several hours and they just won’t join now…So I only have about 12 devices, I figured that maybe just doing a fresh integration might get them all back in line?!

If possible, use the device entry in /dev/serial/by-id/ for USB serial devices, those are not subject to change.

Using a USB extension lead between the Sonoff dongle and your computer may solve the pairing issue, especially USB 3 ports can cause interference with Zigbee.

1 Like

Thanks…It’s already on a 6 foot usb extension cable…I never had any issues with it until it jumped ports on me. I got to thinking…I have a Sonoff ZBridge laying in a box in the drawer that I’ve never used. I may plug that in and see if I can get the contact sensors to pair with that and then shut it down and try to repair them again with the dongle.

You can do an NVRAM reset with zigpy-znp command line tools which will erase all entries in it:

https://github.com/zigpy/zigpy-znp/blob/0cacf7a51d205ac3a19acde10a8115cf5ac36ce1/TOOLS.md

https://github.com/zigpy/zigpy-znp/blob/0cacf7a51d205ac3a19acde10a8115cf5ac36ce1/TOOLS.md#nvram-reset

Zigbee2MQTT however does automatic backup and restore so you will also need to delete some files under data/ if you are not also doing a real flesh/clean greenfield installation of Zigbee2MQTT.

https://www.zigbee2mqtt.io/guide/faq/#how-do-i-move-my-zigbee2mqtt-instance-to-a-different-environment

https://www.zigbee2mqtt.io/guide/faq/#how-do-i-migrate-from-one-adapter-to-another

2 Likes

Hi,

I think I made a mistake, I am testing this new device, SONOFF Zigbee 3.0 USB Dongle Plus, yesterday I deleted the network by pressing the reset button, HA detects it but when I configure it, the new network, it gives me an error, no description, just an error, I tried with another usb port, the same error, has anyone encountered something like this?

I have the same issue. I reset the device now I am getting same error as you described. Did you ever solve it?

I think I ran into the same issue.
Only solution found:

I can confirm the extension-lead-solution! I struggled for about 3 days getting two Sonoff Zigbee USB dongles working in the same server. This post stopped my desperation - thank you! :heart:

1 Like