Hi,
I’m using the iBeacon Tracker integration through the onboard Bluetooth on my RPi 3.
I did set up evetyhing and my Nuki and BLE beacon (Blue Charm) worked flawlessly. After a week, both devices disappeared from the integration. I had to reinstall the integration. Rebooted the system. All ok.
A week later… same thing happened again! Had to reinstall.
Today, my Nuki lock is not showing up. It’s working well. Because I can see both devices from my phone with the KBeacon scanner app. I’m afraid the beacon will disappear soon too.
Any ideas? Only thing I can think of is buying an external USB dongle.
Thanks!
Little update. It seems the Bluetooth chip on the Pi is having problems:
I googled that problem and end up here:
opened 05:48AM - 08 Sep 22 UTC
integration: bluetooth
supervised
### The problem
Failed to restart Bluetooth scanner: hci0 (00:1A:7D:DA:71:13): … Timed out starting Bluetooth after 15 seconds after 2022.9.0 update.
At 2022.8 it was "Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress" but now i've got a new problem.
### What version of Home Assistant Core has the issue?
2022.9.0
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant Supervised
### Integration causing the issue
Bluetooth
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/bluetooth
### Diagnostics information
Logger: homeassistant.components.bluetooth.scanner
Source: components/bluetooth/scanner.py:277
Integration: Bluetooth (documentation, issues)
First occurred: 9:49:15 AM (99 occurrences)
Last logged: 10:43:16 AM
hci0 (00:1A:7D:DA:71:13): Failed to restart Bluetooth scanner: hci0 (00:1A:7D:DA:71:13): Timed out starting Bluetooth after 15 seconds
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth/scanner.py", line 232, in _async_start
await self.scanner.start() # type: ignore[no-untyped-call]
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/scanner.py", line 141, in start
self._stop = await manager.active_scan(
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/manager.py", line 327, in active_scan
reply = await self._bus.call(
File "/usr/local/lib/python3.10/site-packages/dbus_next/aio/message_bus.py", line 305, in call
await future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth/scanner.py", line 231, in _async_start
async with async_timeout.timeout(START_TIMEOUT):
File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 129, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 212, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth/scanner.py", line 362, in _async_scanner_watchdog
await self._async_start()
File "/usr/src/homeassistant/homeassistant/components/bluetooth/scanner.py", line 277, in _async_start
raise ScannerStartError(
homeassistant.components.bluetooth.scanner.ScannerStartError: hci0 (00:1A:7D:DA:71:13): Timed out starting Bluetooth after 15 seconds
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_
It looks like some other folks are struggling with the same issue. Even with new USB dongles. So I’m stuck
Hope someone can shed some light.