Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: select serial port also by "/dev/serial/by-id" because of multiple USB serial adapters #556

Open
harvey637 opened this issue Sep 7, 2024 · 0 comments

Comments

@harvey637
Copy link

harvey637 commented Sep 7, 2024

This is only a minor problem, but after reboots (of iobroker) serial adapters might get different /dev/ttyUSBxxx name.
With several USB serial adapters (like ems-esp adapter, smartmeter adapter, ...) the order of /dev/ttyUSB0 ... /dev/ttyUSB1
is unclear. The underlying linux system has /dev/serial/by-id as remedy for this problem.

The adapter "smartmeter" uses this:
grafik

which leaves no question open.

Playing around with udev-rules might help, but is non standard with the iobroker image distributions and I dont know if it survives updates/upgrades.

just my idea ... after problems with restarts after short power outage and I was on holidays ... :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant