Sonoff ZBDongle_e problem

Good day to all.
Has anyone encountered the problem of the firmware crashing on the Sonoff ZBDongle-E?
In devices it is defined as USB–Enhanced-Serial ch9102. The driver does not install (it says that an up-to-date or new version of the driver has been installed). When I try to connect via Flash Programmer 2 (I specify the CC2652P device), the program crashes.
I don’t know what to do. I find information that ZBDongle-E is experimental, and maybe i just should to order SONOFF ZB Dongle-P?

The dongle E is not a CC2652 device, it contains a silabs chipset.

Flash here:
SONOFF Dongle-E, ZB-GW04, SMLIGHT SLZB07

1 Like

I tried it to. After flash it was say like “flash is done”. But after all it doesn’t work.
And now, when i try to set cp2102 driver windows says “the best drivers for your device is already installed” and nothing changes.

How do you run HA ?

Virtual Machine in Virtual Box.
OS where i try install dongle - win10.

You don’t need to do anything with the dongle in Windows, just pass it through to the VM.

I did it, now Zigbee2MQTT says (:

[11:31:48] INFO: Preparing to start...
[11:31:50] INFO: Socat enabled
[11:31:51] INFO: Starting socat
Socat startup parameters:
Options:     -d -d
Master:      pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave:       tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[11:31:51] INFO: Starting socat process ...
2024/05/11 11:31:51 socat[47] N PTY is /dev/pts/0
2024/05/11 11:31:51 socat[47] N listening on AF=2 0.0.0.0:8485
[11:31:52] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-05-11 11:32:14: Logging to console and directory: '/config/zigbee2mqtt/log/2024-05-11.11-32-14' filename: log.txt
Zigbee2MQTT:info  2024-05-11 11:32:14: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-05-11 11:32:14: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:error 2024-05-11 11:32:36: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-05-11 11:32:36: Failed to start zigbee
Zigbee2MQTT:error 2024-05-11 11:32:36: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-05-11 11:32:36: Exiting...
Zigbee2MQTT:error 2024-05-11 11:32:36: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)

Here’s my settings:
image
In device manager = COM3.
Zigbee2MQTT serial:

port: /dev/ttyS1

Your Zigbee2MQTT is still wrong. Maybe show your Zigbee2MQTT configuration.

Your mqtt setting is an issue. It’s been a minute since I was on a USB dongle, but the port settings ok. Test the mqtt settings and let us know.

server: mqtt://core-mosquitto:1883

Same error, i tried:

basetopic: zigbee2mqtt
server: mqtt://core-mosquitto:1883
user: mqtt
password: mqtt

Result:

[13:18:24] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-05-11 13:18:27: Logging to console and directory: '/config/zigbee2mqtt/log/2024-05-11.13-18-27' filename: log.txt
Zigbee2MQTT:info  2024-05-11 13:18:27: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-05-11 13:18:27: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:error 2024-05-11 13:18:47: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-05-11 13:18:47: Failed to start zigbee
Zigbee2MQTT:error 2024-05-11 13:18:47: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-05-11 13:18:47: Exiting...
Zigbee2MQTT:error 2024-05-11 13:18:47: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)```

And:

basetopic: zigbee2mqtt
server: mqtt://core-mosquitto:1883

Result:

[13:22:09] INFO: Preparing to start...
[13:22:09] INFO: Socat enabled
[13:22:09] INFO: Starting socat
Socat startup parameters:
Options:     -d -d
Master:      pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave:       tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[13:22:09] INFO: Starting socat process ...
2024/05/11 13:22:09 socat[47] N PTY is /dev/pts/0
2024/05/11 13:22:09 socat[47] N listening on AF=2 0.0.0.0:8485
[13:22:10] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-05-11 13:22:13: Logging to console and directory: '/config/zigbee2mqtt/log/2024-05-11.13-22-13' filename: log.txt
Zigbee2MQTT:info  2024-05-11 13:22:13: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-05-11 13:22:13: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:error 2024-05-11 13:22:34: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-05-11 13:22:34: Failed to start zigbee
Zigbee2MQTT:error 2024-05-11 13:22:34: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-05-11 13:22:34: Exiting...
Zigbee2MQTT:error 2024-05-11 13:22:34: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)

Set socat to disabled

Add

adapter: ezsp

to serial

1 Like

Is it disabled or false?

enabled: false

Now it works (after adding adapter: ezsp). You’re all beautiful, thank you!!!

Share your YAML config for others…like this

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt:
  server: mqtt://core-mosquitto:1883
serial:
  port: xxxxx

Like this?

mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: ***
serial:
  port: /dev/ttyS2
  adapter: zstack

Meant your current YAML

Your latest post has your adapter set to adapter: zstack

no worries

1 Like
mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: ***
frontend:
  port: 8099
serial:
  port: /dev/ttyS1
  adapter: ezsp
device_options:
  legacy: false
devices:
  '0x54ef441000ae3d83':
    friendly_name: '0x54ef441000ae3d83'
  '0x00158d000833017c':
    friendly_name: '0x00158d000833017c'
availability:
  active:
    timeout: 10
  passive:
    timeout: 1