I'm having big issues trying to pass through my bluetooth dongle to docker containers, I'm using homeassistant and it spits a nice error for me:
Error setting up platform bluetooth_tracker
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/device_tracker/__init__.py", line 183, in async_setup_platform
disc_info)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/device_tracker/bluetooth_tracker.py", line 72, in setup_scanner
for dev in discover_devices():
File "/usr/src/app/homeassistant/components/device_tracker/bluetooth_tracker.py", line 50, in discover_devices
lookup_class=False)
File "/config/deps/lib/python3.6/site-packages/bluetooth/bluez.py", line 26, in discover_devices
device_id = _bt.hci_get_route()
OSError: [Errno 97] Address family not supported by protocol
I have --net=host as a an extra parameter which I understand should just pass through all usb devices.
Does anyone have suggestions on how I could test whether or not the dongle is actually being passed to all dockers or not?
Thanks