Bluetooth Device Tracker

For the life of me I can’t get the bluetooth device tracker working. The log produces the following error:

2017-08-27 15:30:55 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform bluetooth_tracker
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/device_tracker/init.py”, line 160, in async_setup_platform
disc_info)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py”, line 64, in setup_scanner
for dev in discover_devices():
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py”, line 42, in discover_devices
lookup_class=False)
File “/srv/homeassistant/lib/python3.4/site-packages/bluetooth/bluez.py”, line 26, in discover_devices
device_id = _bt.hci_get_route()
OSError: [Errno 19] No such device

I’ve had it working before with previous builds. The only topic I’ve found was closed with the proposed solution to upgrade to the current HASS release.

Any help would be greatly appreciated.

I’m having the same issue here.
Here are my logs:

2017-08-27 09:58:26 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform bluetooth_tracker
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 160, in async_setup_platform
    disc_info)
  File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 64, in setup_scanner
    for dev in discover_devices():
  File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 42, in discover_devices
    lookup_class=False)
  File "/usr/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

And my configuration.yaml:

device_tracker:
  - platform: bluetooth_tracker

I have also opened up an issue on GitHub:
https://github.com/home-assistant/home-assistant/issues/9161

Hi all, NB this was solved by installing this add-on:
https://home-assistant.io/addons/bluetooth_bcm43xx/

… solved for RPi3 running hass.io with built in bluetooth, anyway

Will this work with a pi2 with USB Bluetooth?

I don’t believe so, not for hass.io anyway, as per note on this page: https://home-assistant.io/components/device_tracker.bluetooth_tracker/