Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't flash ZBdongle E #121

Open
mnlbkn opened this issue Sep 6, 2024 · 9 comments
Open

Can't flash ZBdongle E #121

mnlbkn opened this issue Sep 6, 2024 · 9 comments

Comments

@mnlbkn
Copy link

mnlbkn commented Sep 6, 2024

Hello,

i received my Sonoff ZBdongle E and want to use ist for zigbee2mqtt in Home Assistant. Therefor I wanted to flash via Silabs Firmware Flasher, but i always get Error messages. Drivers are installed and the device is visible in Windows device manager.
I also tried to get it in Bootloader-Mode via SecureCRT but also no Connection possible.
I've attached the Logfile from Silabs flasher.

silabs_flasher.log

@darkxst
Copy link
Owner

darkxst commented Sep 6, 2024

There are problems in web flasher with new ZBDongle-E stock that use cp2102 serial chip currently. I am waiting on a device to test and see if I can fix.

For the moment, use the Silabs Flasher addon in Home Assistant. There is a hidden option to provide a custom firmware link.

@Suffice
Copy link

Suffice commented Sep 8, 2024

I was able to install the firmware using Linux, but it was a bit of a pain. Tried using SecureCRT to reflash it, but the terminal window stays blank when pressing 1.

Flashed the version with the high baud rate (230400), but apparently the 115200 version is more reliable.

Because the addon configuration file wasn't set up with the correct baud rate, I was getting errors like this in Home Assistant addon:

[2024-09-08 00:53:36] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-09-08 00:53:39] error: 	z2m: Error while starting zigbee-herdsman
[2024-09-08 00:53:39] error: 	z2m: Failed to start zigbee
[2024-09-08 00:53:39] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-08 00:53:39] error: 	z2m: Exiting...
[2024-09-08 00:53:39] error: 	z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
    at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:701:19)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1708:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:138:29)
    at Zigbee.start (/app/lib/zigbee.ts:64:27)
    at Controller.start (/app/lib/controller.ts:140:27)
    at start (/app/index.js:154:5)

@mnlbkn
Copy link
Author

mnlbkn commented Sep 8, 2024

I'm not able to get the firmware flashed via the HomeAssistant either. I also tried the 230400 baudrate version but didn't work for me.
Zigbee2MQTT doesn't work with this stick out of the box. Should it work? Maybe the Dongle is broken?
ha_silab_log.txt

@darkxst
Copy link
Owner

darkxst commented Sep 8, 2024

I'm not able to get the firmware flashed via the HomeAssistant either. I also tried the 230400 baudrate version but didn't work for me. Zigbee2MQTT doesn't work with this stick out of the box. Should it work? Maybe the Dongle is broken? ha_silab_log.txt

HA flasher addon wont work with 230400 baudrate. but Z2m should work provided you set 230400 baudrate.

Web flasher currently only working on Linux or Mac for these new ZBDongle-E with cp2102 usb chips.

@mnlbkn
Copy link
Author

mnlbkn commented Sep 8, 2024

Now I tried Silabs Firmware Flasher on Chromium/Ubuntu 20.04.6 LTS.
At chrome://usb-internals the Dongle shows up correctly but the Flasher page says "no compatible devices found."
I don't know what to do anymore.

@Mrz-creator
Copy link

Mrz-creator commented Sep 18, 2024

Now I tried Silabs Firmware Flasher on Chromium/Ubuntu 20.04.6 LTS. At chrome://usb-internals the Dongle shows up correctly but the Flasher page says "no compatible devices found." I don't know what to do anymore.

try this tool https://github.com/NabuCasa/universal-silabs-flasher ,It works here for me

@neilime
Copy link

neilime commented Oct 2, 2024

Now I tried Silabs Firmware Flasher on Chromium/Ubuntu 20.04.6 LTS. At chrome://usb-internals the Dongle shows up correctly but the Flasher page says "no compatible devices found." I don't know what to do anymore.

For ubuntu, you have to allow chromium to acces your usb devices: Settings > Apps > Chromium Web Browser > Permissions > Access USB Hardware directly

@giandena
Copy link

giandena commented Oct 9, 2024

Solved ! #107

@wastez
Copy link

wastez commented Oct 20, 2024

Maybe somebody should try ember-zli with this stick to update the firmware.
Tried it because (but with the old version of dongle e) I had problems with universal silabs flasher and it’s a really great and easy to use tool and I didn’t know it before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants