Probably stupid question but I’m running hass.io on docker with host an ubuntu server.
I guess the proper libraries for BT are not needed when installing hass.io on a raspberry pi with hassos as host. But in my setup docker, ubuntu in a NUC i should install them on host right? I’m trying to get Eddystone Beacons to work.
I don’t know if they ever fixed Bluetooth on hassio, but assuming you have bluez and bluetoothctl installed and the device shows up, it will get passed through to the docker container. Bluetooth is a network adapter so when hassio is configured, it’s set to --network-mode=host which passes through all networking
Just tried to scan BT devices from the console and seems to work fine, I’m wondering if the problem is that eddystone is a ble device and that’s why the configuration in home assistant is not working. I’ll try the bt tracker to see if that one is working fine.
HI There, can anyone lend a hand? I have hassio running in docker on open media vault for testing puposes. So far so good. I’ve just connected a bluetooth usb adapter and I can scan for devices from the command line from omv. But I cannot seem to get the adapter working with hassio. I’ve restarted the machine several time and it still says invaild config when hassio restarts, aftwr adding the bluetooth device tracker in the config. Is there something else I’m missing??
By default a docker container won’t be able to read any host devices unless they are exposed explicitly.
Try something like --device=/dev/ttyUSB0 when using a docker commandline or
devices:
- "/dev/ttyUSB0"
when using docker compose. Replace ttyUSB0 with the correct USB device mapping.