Sonoff stick aint working with Zigbee2mqtt, could use some guidance

Hello,

Im having some isues on getting my zigbee2mqtt setup.
I cant get to the webui from zigbee2mqtt.

What i already did is the following:

  • Sonoff dongle re-flashed with Z-Stack firmware

-Put the Sonoff dongle into various USB ports (Dongle is always visible under the hardware tab in Home Assistant)

-Used with an USB extension cable

[06:06:03] INFO: Preparing to start...
[06:06:05] INFO: Socat not enabled
[06:06:09] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2022-12-07 06:06:20: Logging to console and directory: '/config/zigbee2mqtt/log/2022-12-07.06-06-20' filename: log.txt
Zigbee2MQTT:info  2022-12-07 06:06:20: Starting Zigbee2MQTT version 1.28.4 (commit #unknown)
Zigbee2MQTT:info  2022-12-07 06:06:20: Starting zigbee-herdsman (0.14.76)
Zigbee2MQTT:error 2022-12-07 06:06:21: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-12-07 06:06:21: Failed to start zigbee
Zigbee2MQTT:error 2022-12-07 06:06:21: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-12-07 06:06:21: Exiting...
Zigbee2MQTT:error 2022-12-07 06:06:21: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220816172446-if00'
    at SerialPort.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:90:28)
    at SerialPort._error (/app/node_modules/@serialport/stream/lib/index.js:198:14)
    at /app/node_modules/@serialport/stream/lib/index.js:242:1
settings:
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:1833
  user: mqtt_user
  password: mqtt_pass
serial:
  Port: /dev/ttyUSB0

what am i missing?

Try the serial/by-id port, e.g

serial:
  port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001949EE9C-if00

Don’t copy, use the one from your adapter.

Thanks for responding, its still the same;

i tried these lines:

Serial: null Port: >- /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0

it still doesnt work.

Try to change

Serial: null Port: >- 

To

serial:
  port:  /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0

Has this ever worked ?
Are you running HA in a virtualised environment and need to do USB pass through ?

Hello, im fairly new to HA.
Running home assist in a raspberri pi3.
The zigbee stick is plugged in the raspberry.
(Tried different ports)

Did you configure/set up ZHA in your HA before setting up zigbee2mqtt? If so there’s your problem. The stick is in use by ZHA.

1 Like

I didnt configure/install ZHA so far…

Thanks,

If i change/save this line without null,
this line automatically jumps in.

I am having the exact same issue… any luck, sir?

No, i tried alot of things but nothing ses to work so far.

I fixed my problem. I stupidly flashed the router firmware beforehand, but I had to flash the coordinator firmware. Did you reflash yours, sir?