Open
Description
What happened?
Every time I boot, the bluetooth works for some time until it doesn't. Doing a full reboot fixes it for some time.
I observed that some versions of HA seem to have longer intervals between flatlines. Right now I'm rebooting twice a day at least.
Also I'm running standard Home Assistant OS with no tinkering.
Sensor type
No response
Relevant log output
2023-12-20 14:49:14.342 ERROR (Thread-3) [custom_components.ble_monitor] HCIdump thread: Something wrong - interface hci0 not ready, and will be skipped for current scan period.
2023-12-20 14:49:14.351 ERROR (Thread-3) [custom_components.ble_monitor] HCIdump thread: Trying to power cycle Bluetooth adapter hci0 xx:xx:xx..., will try to use it next scan period.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
perseus177 commentedon Jan 4, 2024
Hello I have same problem
Added logs
Hardware
LYWSD03MMC
Xiaomi
Firmware: Xiaomi (MiBeacon V3)
RPI3 - Bluetooth (integrated on RPI)
Firmware: rpi3-20230612
Hardware: usb:v1D6Bp0246d0542
Bluetooth: B8:27:EB:54:C2:54
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Ernst79 commentedon Jan 23, 2024
Try to enable active scan for BLE monitor, if you use passive scanning right now. Or the other way around if you use active scanning right now (if your sensor don’t require active scanning of course).
The aim of this is to make BLE monitor to use the same type of scanning mode as the Bluetooth integration. HA doesn’t like two different scanning modes, as it would have to switch back and forth, which can cause issues like you observe.
perseus177 commentedon Apr 22, 2024
Currently I have enabled Active Scan with problems.
I will try to disable Active Scan and I will go back with result
perseus177 commentedon Apr 22, 2024
@Ernst79, change active scan did not help
perseus177 commentedon May 15, 2024
Any update ?
EndermanAPM commentedon May 15, 2024
I "fixed" the issue by upgrading to a Pi5. So perhaps it's a hardware issue with the PI3?
perseus177 commentedon May 16, 2024
Hi @EndermanAPM I have also RPI4 in second flat and it is working without problem, but fix the issue as buy different hardware is not a fix. This issue has in name and description that problem is only o RPI3
EndermanAPM commentedon May 16, 2024
Hi @perseus177 I know that, I'm the OP! 😄 But perhaps eliminating variables can help the project maintainer pinpoint the issue?
Now we know that the PI4/5 works fine, and I've heard that the PI3 with an external BT adapter works just fine. So at least we can be pretty sure it has something to do with the build in BT adapter of the Pi3.
p.s. Looking back, my comment perhaps was poorly worded and I apologize.
CloCkWeRX commentedon Feb 7, 2025
Suggestion, downgrade this to a warning rather than error.
Also seeing this on a HP mini device, so it's more about the hardware/not much this integration can "fix"
LeoColman commentedon Apr 14, 2025
I confirm that I am also getting this problem.
It seems to happen when more computing is going on with the PI, and the adapter never comes back up (even with 'restart on failures' enabled). I'm using an external Logitech Bluetooth Dongle.
Same flatline after a few hours (sometimes minutes) booting
This wasn't happening 6~ months ago. Same hardware.
Sometimes, changing the Bluetooth dongle port is enough to fix it for 3~5 days before it flatlines again