ble_monitor: [Bug]: OS Release 8 on RaspberryPi 4: No sensor data is displayed anymore

What happened?

I upgraded my Raspi 4 to the new “Home Assistant OS 8.0” version. Now ble_monitor does not seem to get any updates from my devices.

It looks like OS 8 internally did some changes on how linux devices are named - perhaps this is related to ble_monitor, as it also needs access to the bluetooth device. I have similar problems to other integrations (ZHA: Zigbee dongle), there also OS 8 does not find the linux device anymore.

Sensor type

No response

Relevant log output

This error originated from a custom integration.

Logger: custom_components.ble_monitor
Source: custom_components/ble_monitor/__init__.py:730 
Integration: Passive BLE monitor (documentation, issues) 
First occurred: 10:53:37 (2 occurrences) 
Last logged: 10:54:37

HCIdump thread: Something wrong - interface hci0 not ready, and will be skipped for current scan period.



and:

This error originated from a custom integration.

Logger: custom_components.ble_monitor
Source: custom_components/ble_monitor/__init__.py:768 
Integration: Passive BLE monitor (documentation, issues) 
First occurred: 10:54:37 (1 occurrences) 
Last logged: 10:54:37

HCIdump thread: Trying to power cycle Bluetooth adapter hci0 DC:A6:32:CC:B4:91, will try to use it next scan period.


and:


This error originated from a custom integration.

Logger: custom_components.ble_monitor.bt_helpers
Source: custom_components/ble_monitor/bt_helpers.py:20 
Integration: Passive BLE monitor (documentation, issues) 
First occurred: 10:54:37 (1 occurrences) 
Last logged: 10:54:37

RF kill switch check failed - no data for hci0. Available data: {'phy0': {'idx': 0, 'type': 'wlan', 'soft': False, 'hard': False}}

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 2
  • Comments: 15

Most upvoted comments

Hey @kusmi - I had the same issue, but on different hardware. After much messing around, I found that the solution was to go:

  • Settings > Devices & Services
  • Click CONFIGURE under Bluetooth Low Energy Monitor

From this screen, mine had changed selection to Don’t use Bluetooth adaptor. After selecting my actual adaptor, everything started working again.

image