BTHome discussion topic

All the systems are setup for passive scanning in both integrations.

As a test on one of my test systems I disabled the HACS BLE integration and restarted HA and there was no extra devices detected.

Next I disabled the on-board bluetooth adapter and added one of the recommended USB ones. I deleted the 2 detected BT Home devices and waited a bit and only the same 2 devices were detected.

All the devices were detected with Passive BLE Monitor when I re-configured it to use the new adapter.

So I have no idea where to go next.

Hmmm, that is very strange indeed. One thing you could check is enabling debug logging for the Bluetooth integration and check if you see MAC address of your sensor in the logs. It should report all incoming BLE messages that are received in the Bluetooth integration, after which the are forwarded to BTHome integration. note that BLE monitor is not using the Bluetooth integration, it has its own mechanism

OK, here a section of the debug logs, still using the USB BT dongle. The log shows that it is seeing all 4 devices but on the install I am only seeing Garage and Spare.

There is an occasional error about “localName” and “tagName” but not sure if that is BLE related.

2023-09-12 17:26:10.058 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci1 (8C:88:0B:09:76:DF): Scanner watchdog time_since_last_detection: 9.88422775908839
2023-09-12 17:26:40.059 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci1 (8C:88:0B:09:76:DF): Scanner watchdog time_since_last_detection: 15.369354190072045
2023-09-12 17:26:50.224 DEBUG (MainThread) [homeassistant.components.bluetooth] Rediscovered adapters: {'hci1': {'address': '8C:88:0B:09:76:DF', 'sw_version': 'homeassistant #2', 'hw_version': 'usb:v1D6Bp0246d0542', 'passive_scan': True, 'manufacturer': 'Realtek', 'product': 'Bluetooth Radio', 'vendor_id': '0bda', 'product_id': '8771'}, 'hci0': {'address': '54:8D:5A:82:BD:8C', 'sw_version': 'homeassistant', 'hw_version': 'usb:v1D6Bp0246d0542', 'passive_scan': True, 'manufacturer': 'Intel Corporate', 'product': '0aa7', 'vendor_id': '8087', 'product_id': '0aa7'}}

2023-09-12 17:36:10.079 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci1 (8C:88:0B:09:76:DF): Scanner watchdog time_since_last_detection: 8.21018948906567
2023-09-12 17:36:28.157 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: 50:51:97:8B:F7:CC AdvertisementData(manufacturer_data={76: b'\x10\x07*\x1b\xe6\xd0Q7X'}, tx_power=7, rssi=-90) match: set()
2023-09-12 17:36:40.079 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci1 (8C:88:0B:09:76:DF): Scanner watchdog time_since_last_detection: 8.224189818021841
2023-09-12 17:36:46.127 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: A4:C1:38:DA:F7:62 AdvertisementData(local_name='TH_Spare', service_data={'0000181c-0000-1000-8000-00805f9b34fb': b'\x02\x00\x88\x02\x10\x01\x03\x0cQ\x0b'}, rssi=-74) match: set()
2023-09-12 17:36:48.203 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: 4A:3B:97:88:F3:D8 AdvertisementData(service_data={'0000fe2c-0000-1000-8000-00805f9b34fb': b'\x00\x00'}, tx_power=-15, rssi=-94) match: set()
2023-09-12 17:36:53.628 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: A4:C1:38:DA:F7:62 AdvertisementData(local_name='TH_Spare', service_data={'0000181c-0000-1000-8000-00805f9b34fb': b'\x02\x00\x89#\x02(\x07\x03\x03\xd9\x12\x02\x01c'}, rssi=-74) match: set()
2023-09-12 17:37:10.081 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci1 (8C:88:0B:09:76:DF): Scanner watchdog time_since_last_detection: 8.253190497052856
2023-09-12 17:37:14.280 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: A4:C1:38:29:EE:6D AdvertisementData(local_name='TH_Garage', service_data={'0000181c-0000-1000-8000-00805f9b34fb': b'\x02\x00\x17#\x02/\x07\x03\x03\x9f\x12\x02\x016'}, rssi=-68) match: set()
2023-09-12 17:37:24.605 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: A4:C1:38:47:A3:28 AdvertisementData(local_name='TH_PC-Room', service_data={'0000181c-0000-1000-8000-00805f9b34fb': b'\x02\x00`\x02\x10\x01\x03\x0c\x15\n'}, rssi=-66) match: set()
2023-09-12 17:37:32.089 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: A4:C1:38:47:A3:28 AdvertisementData(local_name='TH_PC-Room', service_data={'0000181c-0000-1000-8000-00805f9b34fb': b'\x02\x00a#\x02\xae\x07\x03\x03k\x12\x02\x016'}, rssi=-66) match: set()
2023-09-12 17:37:39.288 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: A4:C1:38:CC:B3:9D AdvertisementData(local_name='TH_Hall', service_data={'0000181c-0000-1000-8000-00805f9b34fb': b'\x02\x00\xae\x02\x10\x01\x03\x0c\xf7\n'}, rssi=-76) match: set()
2023-09-12 17:37:40.083 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci1 (8C:88:0B:09:76:DF): Scanner watchdog time_since_last_detection: 0.795018351986073
2023-09-12 17:37:46.789 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: A4:C1:38:CC:B3:9D AdvertisementData(local_name='TH_Hall', service_data={'0000181c-0000-1000-8000-00805f9b34fb': b'\x02\x00\xaf#\x02\xf6\x06\x03\x03\xa2\x12\x02\x01V'}, rssi=-76) match: set()
2023-09-12 17:38:10.084 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci1 (8C:88:0B:09:76:DF): Scanner watchdog time_since_last_detection: 3.371077816002071
2023-09-12 17:38:40.085 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci1 (8C:88:0B:09:76:DF): Scanner watchdog time_since_last_detection: 3.4170788809424266
2023-09-12 17:38:59.146 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: A4:C1:38:29:EE:6D AdvertisementData(local_name='TH_Garage', service_data={'0000181c-0000-1000-8000-00805f9b34fb': b'\x02\x00\x18\x02\x10\x01\x03\x0c\x16\n'}, rssi=-60) match: set()
2023-09-12 17:39:03.894 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: 6A:14:2F:48:B9:7C AdvertisementData(manufacturer_data={76: b'\x10\x07\x04\x1ffX6x\x08'}, tx_power=12, rssi=-80) match: set()
2023-09-12 17:39:10.086 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci1 (8C:88:0B:09:76:DF): Scanner watchdog time_since_last_detection: 6.193142968928441
2023-09-12 17:39:20.338 ERROR (MainThread) [frontend.js.latest.202308021] http://10.0.0.25:8123/frontend_latest/39975-mXUKDjZ8YL4.js:2:40446 Error: Permission denied to access property "localName"
2023-09-12 17:39:20.339 ERROR (MainThread) [frontend.js.latest.202308021] http://10.0.0.25:8123/frontend_latest/app-pdfsSFVCtsE.js:2:63296 Error: Permission denied to access property "tagName"
2023-09-12 17:39:21.618 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci1 (8C:88:0B:09:76:DF) [connectable]: A4:C1:38:29:EE:6D AdvertisementData(local_name='TH_Garage', service_data={'0000181c-0000-1000-8000-00805f9b34fb': b'\x02\x00\x19#\x028\x07\x03\x03\x97\x12\x02\x016'}, rssi=-60) match: set()

Hi Ernst, I’m experiencing the same problem ever since I use my only BT device ( a Shelly Blue Motion sensor). Is there something I could do to prevent this warning? Is the equipment faulty or something I should change in the configuration? What would you recommend? Thank you!

What error do you get?