Can’t add SONOFF dongle to Zigbee2MQTT

ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Mar 23 17:47 usb-0658_0200-if00 → …/…/ttyACM0
lrwxrwxrwx 1 root root 13 Mar 23 17:47 usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_2e3c30544a4eef11a8e445b3174bec31-if00-port0 → …/…/ttyUSB0

devices:
  - usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_2e3c30544a4eef11a8e445b3174bec31-if00-port0:/dev/ttyUSB0

Spits out

Error response from daemon: error gathering device information while adding custom device “usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_2e3c30544a4eef11a8e445b3174bec31-if00-port0”: no such file or directory

What am I doing wrong?

I assume you are using Container install.

That should give you the right URL AFAIK
Format maybe? It’s a URL, so it should likely lead with /

You need the full path

  • /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_2e3c30544a4eef11a8e445b3174bec31-if00-port0:/dev/ttyUSB0
2 Likes

Good catch. I updated my notes for the future.

Bravo! Took me forever to even narrow that down.