Hey there. Trying to configure another device tracker. Getting this issue:
Error setting up platform bluetooth_tracker
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/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/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 72, in setup_scanner
for dev in discover_devices():
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 50, in discover_devices
lookup_class=False)
File "/usr/local/lib/python3.6/site-packages/bluetooth/bluez.py", line 26, in discover_devices
device_id = _bt.hci_get_route()
OSError: [Errno 19] No such device
There is so little to do. Do not know what am I doing wrong again. I have 3 devices in known_devices.yaml file, but I tried to comment them all. Same issue. As it’s said in documentation, I it scan on phone while HA was rebooting.
Tried to comment nmap platform - still same error…
Error setting up platform bluetooth_tracker
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/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/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 72, in setup_scanner
for dev in discover_devices():
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 50, in discover_devices
lookup_class=False)
File "/usr/local/lib/python3.6/site-packages/bluetooth/bluez.py", line 26, in discover_devices
device_id = _bt.hci_get_route()
OSError: [Errno 19] No such device
Hi. I tried new raspberry with new memory card and it worked fine. Then I put that fresh card in old raspberry and it worked too, so the issue is not in raspberry. And I tried old card with new raspberry, but I did not got UI working. I just could not access to it.
I don’t know if this is useful info, my solution to this is physically powering off raspberry for a few seconds, then powering back again, helps with this error.