Skip to content

Conversation

@benfrancis
Copy link
Member

Giving add-ons access to all serial ports without also giving them access to a lot of other stuff they don't need is going to be tricky. Ideally add-ons would have access to all serial devices and support hotplug to dynamically map them into the Docker container, but that is going to be tricky.

How about as a starting point we just hard code access to /dev/ttyUSB0 by default in docker-compose? That should hopefully allow add-ons access to the first serial device connected via USB (e.g. a Zigbee or Z-Wave dongle), which in many cases will be all the user needs. Users can manually add and remove devices in docker-compose.yml, or manually start Docker with their own settings.

Is that reasonable?

Closes #3204 (kind of).

@benfrancis
Copy link
Member Author

benfrancis commented Oct 17, 2025

Going to close this now while we continue to evaluate balenaOS.

@benfrancis benfrancis closed this Oct 17, 2025
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

Successfully merging this pull request may close these issues.

[balenaOS] Give add-ons access to serial ports

2 participants