@olloe wrote:
I’m having trouble with bluetooth in my docker config. It used to work, but I’m not sure when it stopped.
Bluetooth works in ubuntu, but I get this error when I try inside the container:
bash-5.0# bluetoothctl dbus[2784]: arguments to dbus_connection_get_object_path_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5905. This is normally a bug in some application using the D-Bus library. D-Bus not compiled with backtrace support so unable to print a backtrace Aborted (core dumped)
As I have understood the bluetooth should go through to the docker container when I have net=host.
I have a NUC5i5MYHE with a added wifi/bt card ( https://ark.intel.com/content/www/us/en/ark/products/83635/intel-dual-band-wireless-ac-7265.html ). It states:
System Interface Type Wi-Fi(PCIe), BT(USB)
Do I need to “mount” this a device in my docker-compose for HA because it is USB? I have tried to bind it to “ttyUSBbt” by editing 99-usb-serial.rules but no luck. I have tried to mount the device in docker-compose but no luck
devices: - /dev/bus/usb/002/006:/dev/ttyBT
How do I connect to my bluetooth inside the HA-container?
Posts: 2
Participants: 2