Usb ports tty

hello

I have 3 devices connected via usb on my HA server.
/dev/ttyACM0
/dev/ttyUSB0
/dev/ttyUSB1

each usb has communication via the node-red addon.

everything works fine ,
but when i restart the server , then my usb port-names are swaped.

so my first device on /dev/ttyUSB1 has a new name : /dev/ttyUSB0
and viceversa on my second device /dev/ttyUSB0 becomes USB1.

the device on /dev/ttyACM0 has no issues when the HA-server reboots

how can i solve this ?

Kind regards

use serial/by-id, not tty*

1 Like