I keep having a problem with my 3 USB Zigbee dongles. After the restart, they are assigned differently. Is it possible to set the assignment USB0,1,2,3 in the system?
Use the serial by-id to define them in the ZigBee integration instead of the usb path.
Also, why do you have 3 different ZigBee dongles plugged in?
ttyUSB0
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_7093f57f7e93eb11ac8d214f3d98b6d1-if00-port0
ttyUSB1
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_9296da142b27ee11be108bc1f49e3369-if00-port0
ttyUSB2
/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
Ok, so in the configuration for the ZigBee integration(s) you’re using, you need to change from eg. ‘ttyUSB0’ to ‘/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_7093f57f7e93eb11ac8d214f3d98b6d1-if00-port0’
I’m going to ask you again. Why do you have 3 ZigBee dongles plugged in?
Are you running multiple ZigBee integrations?
Yes,
multiple ZigBee integrations.
It doesn’t work that way.
After rebooting, the configuration has changed.
ttyUSB0
/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
ttyUSB1
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_7093f57f7e93eb11ac8d214f3d98b6d1-if00-port0
ttyUSB2
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_9296da142b27ee11be108bc1f49e3369-if00-port0
If you set up your devices to be addressed by /dev/serial/by-id it won’t matter if a device one day is ttyUSB0 and the next day ttyUSB1.
So in your case you change ttyUSB0 to /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
Okay, understood, thanks.
Works so far.