Skip to content

The "ember" driver of Zigbee2MQTT v1.37.0 doesn't work with Sonoff Dongle-E firmware v7.4.2 (but is okay with fw v7.4.1) #22469

Description

@E-DESVIGNE

What happened?

This morning, my Zigbee2MQTT was up to date (version 1.37.0), but I was still using the "ezsp" driver to control my Sonoff Dongle-E (SONOFF Zigbee 3.0 USB Dongle Plus V2), which had an old firmware version (ncp-uart-sw_v6.10.3_115200). Note: for your information, I'm working on a Raspberry Pi 3B+ running Debian GNU/Linux 11.

As I received the alert message "ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in the next release", I didn't want to wait. I wanted to update my dongle and switch to the new "ember" driver.

Easy steps:

  1. I stopped zigbee2mqtt:
    service zigbee2mqtt stop
  2. I used "universal-silabs-flasher" to flash the latest firmware for my dongle (ncp v7.4.2.0) with the command:
    universal-silabs-flasher --device /dev/ttyACM0 flash --firmware ncp-uart-hw-v7.4.2.0-zbdonglee-115200.gbl

Everything went smoothly except... I couldn't restart Zigbee2MQTT! I won't bore you with all the tests I did this afternoon, but I finally found the solution. I'm posting it here to help anyone who might encounter the same problem as me.

The "ember" driver of Zigbee2MQTT v1.37.0 doesn't work with the firmware "ncp-uart-hw-v7.4.2.0-zbdonglee-115200.gbl"! I downgraded my dongle to the version just before (v7.4.1) with:
universal-silabs-flasher --device /dev/ttyACM0 flash --firmware ncp-uart-hw-v7.4.1.0-zbdonglee-115200.gbl --force

And since then... everything works perfectly fine :-)

Conclusion: Zigbee2MQTT version 1.37.0 doesn't work with a Sonoff Dongle-E having the firmware ncp v7.4.2.0, but works perfectly fine with the firmware ncp v7.4.1.0.

At this point, I'm not sure if the problem comes from the "ember" driver provided with Zigbee2MQTT version 1.37.0, or if it's the firmware "ncp-uart-hw-v7.4.2.0-zbdonglee-115200.gbl" that has a defect that "ncp-uart-hw-v7.4.1.0-zbdonglee-115200.gbl" doesn't have. I'll let the specialists investigate, but I'm sharing the information here in case it can save a few users from losing 2 hours like me ;-)

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

A "SONOFF Zigbee 3.0 USB Dongle Plus V2" with "ncp-uart-hw-v7.4.2.0-zbdonglee" firmware, and Zigbee2MQTT version 1.37.0 with "ember" driver activated.
Ultimately, everything worked when I downgraded the firmware of the dongle to version "ncp-uart-hw-v7.4.1.0-zbdonglee".

Zigbee2MQTT version

1.37.0 commit: ee5cf5a

Adapter firmware version

ncp-uart-hw-v7.4.2.0-zbdonglee-115200.gbl

Adapter

Sonoff Dongle-E (SONOFF Zigbee 3.0 USB Dongle Plus V2)

Setup

Raspberry Pi 3B+ running Debian GNU/Linux 11 + Domoticz Version 2024.4

Debug log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    emberIssues related to ember driverproblemSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions