problème bluetooth tracker
Bonsoir, j’ai ce problème dans le log
Logger: homeassistant.components.bluetooth_tracker.device_tracker
Source: components/bluetooth_tracker/device_tracker.py:126
Integration: bluetooth_tracker (documentation, issues)
First occurred: 23:22:59 (1 occurrences)
Last logged: 23:22:59
Error looking up Bluetooth device
Traceback (most recent call last):
File « /usr/local/lib/python3.10/site-packages/bluetooth/bluez.py », line 289, in _gethcisock
sock = _bt.hci_open_dev (device_id)
_bluetooth.error: no available bluetoot devices
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File « /usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py », line 166, in perform_bluetooth_update
friendly_name = await hass.async_add_executor_job(lookup_name, mac)
File « /usr/local/lib/python3.10/concurrent/futures/thread.py », line 58, in run
result = self.fn(*self.args, **self.kwargs)
File « /usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py », line 126, in lookup_name
return bluetooth.lookup_name(mac, timeout=5) # type: ignore[no-any-return]
File « /usr/local/lib/python3.10/site-packages/bluetooth/bluez.py », line 61, in lookup_name
sock = _gethcisock ()
File « /usr/local/lib/python3.10/site-packages/bluetooth/bluez.py », line 291, in _gethcisock
raise BluetoothError (« error accessing bluetooth device »)
bluetooth.btcommon.BluetoothError: error accessing bluetooth device
*
Avez vous une idée comment régler cela?
J ai configuré très simplement
Example configuration.yaml entry
device_tracker:
- platform: bluetooth_tracker
Merci
Bonne soirée
Mickaël
Ma configuration
[center]Home Assistant 2022.10.3
Supervisor 2022.10.0
Operating System 9.2
Interface utilisateur : 20221010.0 - latest[/center)