Zigbee2mqtt not starting.....again

Was having this problem earlier and fixed it by making a change to the config…

serial:
adapter: zstack
port: >
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_feb48308ed12ec11a00521c7bd930c07-if00-port0

Now I’m getting this…

z2m: Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_feb48308ed12ec11a00521c7bd930c07-if00-port0

Looked at the logs and went to the webpage,but I don’t see this error.

Backup the original
/usr/share/hassio/share/zigbee2mqtt/configuration.yaml
and replace the old “serial” block within the configuration.yaml with the new. Then restart Z2M.

Like so:

...
serial:
   port: >-
     /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_feb48308ed12ec11a00521c7bd930c07-if00-port0
   adapter: zstack
...

Mind the indentations!
Furthermore if using a line break it should read port: >- but not port: >

Thanks Tamsy. All good now. Know any reason that I had changed it a couple days ago and then did another update and it stopped weoking again?

1 Like

Maybe connected to THIS?

Possibility.