external devices - zigbee
-
-
N nebulon marked this topic as a question on
-
Thanks for the link. From https://slae.sh/projects/cc2652/#homeassistant-hassio this seems to be quite specific with various caveats for the /dev nodes to use. Looks like unfortunately we have to implement something which allows a very technical and lowlevel approach then....
-
J jdaviescoates referenced this topic on
-
Yes I think that would be the idea, maybe a free flow text input which binds the mentioned device(s) into the container. Similar to what we do for vaapi device access https://git.cloudron.io/platform/box/-/blob/master/src/docker.js?ref_type=heads#L409
-
If it's, for now, specific to Home Assistant app, why not just use workarounds like https://community.home-assistant.io/t/home-assistant-in-docker-pass-usb-device-from-host/184674/2 or https://community.home-assistant.io/t/home-assistant-in-docker-pass-usb-device-from-host/184674/6 ?
-
Alright, we have added initial basic support for attaching devices from the host to the container. For the moment this will just be a list of devices with a 1to1 mapping. So for example
/dev/ttyUSB0from the host can then be mapped to/dev/ttyUSB0within the container. -
@rjousse18 8.2 is in unstable. if you update to the unstable, you can test it out - https://docs.cloudron.io/apps/#devices
-
Just did another test install and at least my ttyUSB0 device would show up correctly with:
> ls -l /dev/tty* crw-rw-rw- 1 root root 5, 0 Feb 16 12:18 /dev/tty crw-rw-rw- 1 root dialout 188, 0 Feb 16 12:18 /dev/ttyUSB0So in your case you still had to add read-write access to the group for your device?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
