π Summary
Spent many hours debugging this, and seems that the GID in HASSIO is 18 so when mapping a device to a container it will return permissions error
To reproduce
- set up HASSIO
- log in with SSH to the OS, in developer mode so you can run containers in the host OS
- try to map a device internally, see that you can't use it as HASSIO GID is 18 while the OS needs GID 20
Expected behavior
Either change the GID to 18 (you need to do a custom build), or run with the env var WEEWX_GID = 18 (weird workaround, but works)
(wanted to leave this here in case someone hits the issue)