Block Serial port access to HA

Hi everyone,

One of my integrations (Velbus) searches automatically for a specific serial port - which is already in use by another service running on my computer.

Is it possible to disable a specific device (/dev/serial/by-id/blabla) to the HA service?

If you set the device port when you set up velbus, does it still look for other devices?

yeah… i configured it for TCP… but another entity for Velbus USB still pops-up…

seems configuring it… then disabling it (and restarting the Velbus-TCP server) did the trick…

I’m curious

Did you set Velbus-tcp to use a ttyACMx port or at the /dev/serial/by-id/.... device?

I notice that Linux assigns ttyxxx ports differently on each boot.

(Which is why I changed to using the by-id option)