Spies Posted January 15, 2021 Share Posted January 15, 2021 I want to add a Bluetooth dongle so that Home Assistant can poll Bluetooth devices, is this possible or does it have to be done through a VM? Quote Link to comment
Seriously_Clueless Posted January 16, 2021 Share Posted January 16, 2021 Might find the info you are looking for here? Quote Link to comment
TRusselo Posted February 2, 2023 Share Posted February 2, 2023 (edited) the best method to passthrough usb to docker is via device by-id open unraid terminal type ls -l /dev/serial/by-id you will get output of your devices with names copy the whole BLUE name of your device go to your docker and edit config add /dev/serial/by-id/ before pasting the name from above. eg /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_dcf756dbb712ec118bca20c7bd930c07-if00-port0 then add :/dev/zigbee to the end - this is the container mount point so you end up with this in your Docker Host config: Quote /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_dcf756dbb712ec118bca20c7bd930c07-if00-port0:/dev/zigbee if anywere inside your docker program it asks for the device location you would set it to : /dev/zigbee Edited February 19, 2023 by TRusselo 1 Quote Link to comment
DanielPT Posted February 2 Share Posted February 2 On 2/2/2023 at 6:57 PM, TRusselo said: the best method to passthrough usb to docker is via device by-id open unraid terminal type ls -l /dev/serial/by-id you will get output of your devices with names copy the whole BLUE name of your device go to your docker and edit config add /dev/serial/by-id/ before pasting the name from above. eg /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_dcf756dbb712ec118bca20c7bd930c07-if00-port0 then add :/dev/zigbee to the end - this is the container mount point so you end up with this in your Docker Host config: if anywere inside your docker program it asks for the device location you would set it to : /dev/zigbee Hi Can you help me a little? I tryed to get youre "Guide" to work but HA didnt see it But after i did this it worked. But will it change after every reboot? Quote Link to comment
TRusselo Posted February 4 Share Posted February 4 On 2/2/2024 at 1:48 PM, DanielPT said: Hi Can you help me a little? I tryed to get youre "Guide" to work but HA didnt see it But after i did this it worked. But will it change after every reboot? yes it can change if you have more than 1 USB device. if you only have one it will always be 0 by-id is the only sure way. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.