custom-components / ble_monitor

BLE monitor for passive BLE sensors

Home Page:https://community.home-assistant.io/t/passive-ble-monitor-integration/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Operating System 11.4 has broken BLE_monitor: There are no BT controllers present in the system!

Xocotet opened this issue · comments

commented

What happened?

After OS upgrade to 11.4 on my RaspberryPi3, BLE_Monitor fails with the message:

There are no BT controllers present in the system!

Alert details:

Logger: custom_components.ble_monitor.bt_helpers
Source: custom_components/ble_monitor/bt_helpers.py:43
Integration: Passive BLE monitor (documentation, issues)
First occurred: 08:46:23 (1 occurrences)
Last logged: 08:46:23

There are no BT controllers present in the system!

The MAC address now it is not shown on the configuration menu:

image

But surprisingly, it works for just once when the integration is restarted.

Sensor type

No response

Relevant log output

Jan 10 07:54:26 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 07:54:26 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 07:54:28 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 07:54:37 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 07:54:59 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 07:55:07 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 07:55:07 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 07:55:09 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 07:55:18 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 07:55:44 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 07:55:52 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 07:55:52 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 07:55:54 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 07:56:03 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 07:56:20 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 07:56:29 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 07:56:29 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 07:56:31 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 07:56:39 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 07:57:02 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 07:57:09 HomeAssistant systemd[1]: run-docker-runtime\x2drunc-moby-421266508dbf5bc2e91d35f5fa35f813e9c3946c4a43552704a4bcfb89932e9f-runc.Cz7jmm.mount: Deactivated successfully.
Jan 10 07:57:10 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 07:57:10 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 07:57:12 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 07:57:20 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 07:57:21 HomeAssistant systemd[1]: Starting Cleanup of Temporary Directories...
Jan 10 07:57:21 HomeAssistant systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
Jan 10 07:57:21 HomeAssistant systemd[1]: Finished Cleanup of Temporary Directories.
Jan 10 07:57:21 HomeAssistant systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.
Jan 10 07:57:53 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 07:58:01 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 07:58:01 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 07:58:03 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 07:58:12 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 07:59:04 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 07:59:13 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 07:59:13 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 07:59:15 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 07:59:23 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:00:56 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 08:01:04 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 08:01:04 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 08:01:06 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 08:01:14 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:02:47 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 08:02:55 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 08:02:55 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 08:02:57 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 08:03:06 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:04:39 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 08:04:46 HomeAssistant systemd[1]: run-docker-runtime\x2drunc-moby-421266508dbf5bc2e91d35f5fa35f813e9c3946c4a43552704a4bcfb89932e9f-runc.hL9jCg.mount: Deactivated successfully.
Jan 10 08:04:47 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 08:04:47 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 08:04:49 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 08:04:57 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:06:30 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 08:06:39 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 08:06:39 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 08:06:41 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 08:06:47 HomeAssistant systemd[1]: run-docker-runtime\x2drunc-moby-421266508dbf5bc2e91d35f5fa35f813e9c3946c4a43552704a4bcfb89932e9f-runc.D5ZJcX.mount: Deactivated successfully.
Jan 10 08:06:49 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:08:22 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 08:08:30 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 08:08:30 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 08:08:32 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 08:08:40 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:10:13 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 08:10:22 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 08:10:22 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 08:10:24 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 08:10:32 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:12:05 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 08:12:13 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 08:12:13 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 08:12:15 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 08:12:23 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:12:37 HomeAssistant kernel: Bluetooth: hci0: Frame reassembly failed (-84)
Jan 10 08:12:37 HomeAssistant kernel: Bluetooth: hci0: unexpected event for opcode 0x0c14
Jan 10 08:12:47 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 08:12:47 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 08:12:49 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 08:12:57 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:13:13 HomeAssistant kernel: Bluetooth: hci0: BCM: chip id 94
Jan 10 08:13:13 HomeAssistant kernel: Bluetooth: hci0: BCM: features 0x2e
Jan 10 08:13:13 HomeAssistant kernel: Bluetooth: hci0: BCM43430A1
Jan 10 08:13:13 HomeAssistant kernel: Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
Jan 10 08:13:13 HomeAssistant kernel: Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.raspberrypi,3-model-b.hcd' Patch
Jan 10 08:13:14 HomeAssistant kernel: Bluetooth: hci0: BCM: features 0x2e
Jan 10 08:13:14 HomeAssistant kernel: Bluetooth: hci0: BCM43438A1 37.4MHz Raspberry Pi 3-0141
Jan 10 08:13:14 HomeAssistant kernel: Bluetooth: hci0: BCM43430A1 (001.002.009) build 0508
Jan 10 08:13:37 HomeAssistant kernel: Bluetooth: hci0: command 0xfc18 tx timeout
Jan 10 08:13:46 HomeAssistant kernel: Bluetooth: hci0: BCM: failed to write update baudrate (-110)
Jan 10 08:13:46 HomeAssistant kernel: Bluetooth: hci0: Failed to set baudrate
Jan 10 08:13:48 HomeAssistant kernel: Bluetooth: hci0: command 0x0c03 tx timeout
Jan 10 08:13:52 HomeAssistant systemd[1]: run-docker-runtime\x2drunc-moby-421266508dbf5bc2e91d35f5fa35f813e9c3946c4a43552704a4bcfb89932e9f-runc.IhWZWk.mount: Deactivated successfully.
Jan 10 08:13:56 HomeAssistant kernel: Bluetooth: hci0: BCM: Reset failed (-110)
Jan 10 08:14:19 HomeAssistant kernel: audit: type=1334 audit(1704874459.922:270): prog-id=70 op=LOAD
Jan 10 08:14:19 HomeAssistant systemd[1]: Started Journal Gateway Service.
Jan 10 08:14:20 HomeAssistant systemd-timesyncd[1177]: Network configuration changed, trying to establish connection.
Jan 10 08:14:20 HomeAssistant systemd-timesyncd[1177]: Contacted time server 65.20.99.74:123 (65.20.99.74).
Jan 10 08:14:21 HomeAssistant systemd-journal-gatewayd[6521]: microhttpd: MHD_OPTION_EXTERNAL_LOGGER is not the first option specified for the daemon. Some messages may be printed by the standard MHD logger.
Jan 10 08:14:23 HomeAssistant systemd[1]: run-docker-runtime\x2drunc-moby-421266508dbf5bc2e91d35f5fa35f813e9c3946c4a43552704a4bcfb89932e9f-runc.z6qeLo.mount: Deactivated successfully.
Jan 10 08:14:27 HomeAssistant kernel: Bluetooth: hci0: BCM: chip id 94
Jan 10 08:14:27 HomeAssistant kernel: Bluetooth: hci0: BCM: features 0x2e
Jan 10 08:14:27 HomeAssistant kernel: Bluetooth: hci0: BCM43430A1
Jan 10 08:14:27 HomeAssistant kernel: Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
Jan 10 08:14:27 HomeAssistant kernel: Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.raspberrypi,3-model-b.hcd' Patch
Jan 10 08:14:28 HomeAssistant kernel: Bluetooth: hci0: BCM: features 0x2e
Jan 10 08:14:28 HomeAssistant kernel: Bluetooth: hci0: BCM43438A1 37.4MHz Raspberry Pi 3-0141
Jan 10 08:14:28 HomeAssistant kernel: Bluetooth: hci0: BCM43430A1 (001.002.009) build 0508
Jan 10 08:14:28 HomeAssistant kernel: debugfs: File 'dut_mode' in directory 'hci0' already present!
Jan 10 08:14:28 HomeAssistant kernel: debugfs: File 'vendor_diag' in directory 'hci0' already present!

Try to do a full system restart, not only HA, but restart the entire system. This normally loads the new hardware/firmware.

commented
commented

Great! Perhaps a FW update of the Bluetooth adapter in the OS update got stuck, or took a while to update.

commented

Solved once FW update has progressed.