Persistent Naming for USB devices

I have a Texas Instruments TI CC2531 USB CDC [zigbee contoller]
when inserted into the Pi, HA says it is at:
/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D956FC-if00

however, there is no such directory; it appears udev is not creating correctly.

Has anyone followed - and got - a solution to

reading this page is not at all helpful

Easy !
Juste used this permanent device name in your configuration.yaml or your addon configuration! :wink:

For instance: my Zwave configuration in configuration.yaml :

zwave:
  usb_path: /dev/serial/by-id/usb-0658_0200-if00

And my Zigbee2mqtt configuration file :

serial:
  port: >-
    /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E275BC-if00
  disable_led: true

1 Like

yes - that allows the device to work, but cannot use zigbee2mqtt with it, because that directory is not created.
Also - you are mixing zwave and zigbee - they are not the same protocol

Of course I can use Zigbe2MQTT to work with it… What what I wrote is exactly what is written in my Zigbee2MQTT configuration, ans it has been working perfectly for months now !

And I’m not mixing ZWave and Zigbee, I use both at the same time for different needs. That was just 2 different examples of how you can use the USB persistant name in HA configuration files.