SONOFF Dongle Flasher

Hi everyone, we know a lot of people are using SONOFF ZBDongle-E and ZBDongle-P, but having difficulties managing its firmware.

SONOFF has developed a Web tool called SONOFF Dongle Flasher which makes it very easy to manage ZBDongle’s firmware. But it has one drawback: it requires users to has physical access to the ZBDongle (unplug the ZBDongle from HA, and then plug it to a PC/MAC), which means users can not do the flashing remotely.

Now the iHost Open Source Project has released SONOFF Dongle Flasher add-on v1.1.0 which is basically an HA add-on version of the Web tool SONOFF Dongle Flasher, but it allows you to manage ZBDongle’s firmware remotely.

The v1.1.0 add-on is available in armv7, aarch64, amd64 architecture, so you can use it not only on iHost, but also on other HAOS installations.

It supports flashing Zigbee Coordinator, Thead, Multiprotocol, 3rd-party firmware onto SONOFF ZBDongle-E (Silicon Labs MG21 chip), and Zigbee Coordinator, 3rd-party firmware on to SONOFF ZBDongle-P (TI CC2652p chip).

For those who are interested, please give it a try and let us know if it works for you.

2 Likes

Thanks for the Sonoff Dongle Flasher. Works very well for me, with the exception of the automatic detection of the dongle. Maybe it’s because I have a virtual machine on Proxmox. But the USB port is passed through.

Hi is it possible to add this without access to the addon store, if so how??

I am sorry to say, the default settings won’t let you do it. But you can always fork it to suit your need if you prefer.

hi, how would I do that, my setup is home assistant container running on a Asustor Flashtor 6

Oh, I am sorry. I misunderstood your usage scenario. SONOFF Dongle Flasher add-on is intended to be used in Home Assistant Operating System setup, not Home Assistant container setup.

We also have Dongle Flasher in Web tool form. Does that meet your needs?

By the way, if you have Home Assistant in container setup, does that mean you are familiar with Docker command, and you are comfortable to use docker command to run other docker containers?

I added hacs via command line using Portainer, if I get told what to enter I can

Great! I think we could provide SONOFF Dongle Flasher in a standalone Docker image format (on Dockerhub) which you could run with Docker command or Portainer.

Please allow us several days to get it ready.

Thank you so much

Disabling the flasher disabled my Zigbee integration.

Does not make any sense. Maybe give some more information about your configuration.

I installed the addon, ran it and it shows my firmware is current. Then I stopped the add on and turned off start on boot. If i then go to integrations ZHA is gone and shows under disabled.

Tried the same steps a second time with the same results, so not something I inadvertently did wrong.

I installed the addon, ran it and it shows my firmware is current. Then I stopped the add on and turned off start on boot. If i then go to integrations ZHA is gone and shows under disabled.

Yes. this is exactly the case if you click Connect button to check the firmware, but don’t go through the whole process (click Flash button).

There is a note saying Since flash firmware will use the serial port, the process will automatically close ZHA, Zigbee2MQTT applications for you and your Zigbee device will not be able to be controlled until the end of the process. below the Connect button.


@paulgryan52 Hi, we should be able to release the standardalone SONOFF Dongle Flasher Docker image on Docker Hub on the next Tuesday or Wednesday.

Thank you so much I really appreciate it, fantastic work

Hi, we’v just released SONOFF Dongle Flasher as a standalone Docker image on Docker Hub: ewelink/sonoff-dongle-flasher. There are also usage instructions for both command line and portainer on that page.

Please check it out. Let me know if you met any issue.

I created the stack whats next

Run the stack, and then visit the port 8324 of your device (Asustor Flashtor 6) with your browser. You should be able to see the web console of Dongle Flasher.

For example, if the IP of your Asustor Flashtor 6 is 192.168.1.35, then the URL of the Dongle Flasher is http://192.168.1.35:8234.

I’ve done that and it didn’t auto find my device so I added it manually and it showed up and said update available so I started the update but it’s been on 0% for a while

please tell me I’ve not bricked it