You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of people have issues discovering the bluetooth adapter when running HA in docker.
After a lot of troubleshooting I think I have tracked down the problem.
The dbus socket uses setuid/setgid, which is not supported/used when running docker in rootless mode.
I have found 2 workarounds:
You need to start the container as root on the host system( sudo docker ...
Hey there @bdraco, mind taking a look at this feedback as it has been labeled with an integration (bluetooth) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of bluetooth can trigger bot actions by commenting:
@home-assistant close Closes the feedback.
@home-assistant rename Awesome new title Renames the feedback.
@home-assistant reopen Reopen the feedback.
@home-assistant unassign bluetooth Removes the current integration label and assignees on the feedback, add the integration domain after the command.
@home-assistant add-label needs-more-information Add a label (needs-more-information) to the feedback.
@home-assistant remove-label needs-more-information Remove a label (needs-more-information) on the feedback.
effpeter
changed the title
Bluetooth integration ín docker only works with robot docker
Bluetooth integration ín docker only works with root docker
Nov 29, 2024
effpeter
changed the title
Bluetooth integration ín docker only works with root docker
Bluetooth integration in docker only works with root docker
Nov 29, 2024
Feedback
A lot of people have issues discovering the bluetooth adapter when running HA in docker.
After a lot of troubleshooting I think I have tracked down the problem.
The dbus socket uses setuid/setgid, which is not supported/used when running docker in rootless mode.
I have found 2 workarounds:
sudo docker ...
The first one works, I haven't tried the second method.
This should be mentioned in the documentation of the Bluetooth integration.
URL
https://www.home-assistant.io/integrations/bluetooth/
Version
2024.11.3
Additional information
No response
The text was updated successfully, but these errors were encountered: