January 15, 20215 yr 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?
February 2, 20233 yr 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, 20233 yr by TRusselo
February 2, 20242 yr 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?
February 4, 20242 yr 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.
May 29, 20251 yr ls -l /dev/serial/by-iddon't seem to working anymore in 7.1.2?Is there a different way to pass usb by id now?
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.