Hello,
I would explore the tacking capabilities using bluetooth.
So i added:
device_tracker:
- platform: bluetooth_tracker
in my configuration.yaml
Unfortunately I got this error:
2018-12-24 17:55:56 ERROR (MainThread) [homeassistant.components.device_tracker] 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 73, in setup_scanner
for dev in discover_devices():
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/bluetooth_tracker.py", line 51, 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
I suspect I miss something on my Pi. I just checked if the bluetooth service was running but I don’t know much this matter
root@moon:/opt/homeassistant# systemctl status bluetooth
â—Ź bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-12-24 17:52:19 CET; 8min ago
Docs: man:bluetoothd(8)
Main PID: 14609 (bluetoothd)
Status: "Running"
CPU: 64ms
CGroup: /system.slice/bluetooth.service
└─14609 /usr/lib/bluetooth/bluetoothd
Dec 24 17:52:19 moon systemd[1]: Starting Bluetooth service...
Dec 24 17:52:19 moon bluetoothd[14609]: Bluetooth daemon 5.43
Dec 24 17:52:19 moon systemd[1]: Started Bluetooth service.
Dec 24 17:52:19 moon bluetoothd[14609]: Starting SDP server
Dec 24 17:52:19 moon bluetoothd[14609]: Bluetooth management interface 1.14 initialized
Is there anything I have to check?
Thank You