I got my temparature Device (TH05 - Tuya - Bluetooth) today.
I didn’t have any bluetooth device yet connectet do HA.
It seems to me that PI3 has an build in bluetooth-device, but I also have an bluetooth dongle here.
I wonder which bluetooth-devices could be recognized by HA-Bluetooth, as I don’t find a single one.
As you see in the following screenshot, the dongle throw an error and HA tries all the time to re-init the dongle (unsuccessfully).
The second device seems to be the build-in bluetooth of pi3?!
Here are the debug-logs for a short (failing) init-period of the dongle:
2023-08-15 11:30:16.086 ERROR (MainThread) [frontend.js.latest.202308020] http://homeassistant.local:8123/frontend_latest/15664-mac7RvTTaE0.js:1:78492 Uncaught TypeError: Cannot read properties of null (reading 'removeEventListener')
2023-08-15 11:30:30.546 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] Initializing bluetooth scanner with {'detection_callback': <bound method HaScanner._async_detection_callback of <homeassistant.components.bluetooth.scanner.HaScanner object at 0x7f5b744dd0>>, 'scanning_mode': 'active', 'adapter': 'hci1'}
2023-08-15 11:30:30.547 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci1 (00:11:67:55:90:3B): Starting bluetooth discovery attempt: (1/3)
2023-08-15 11:30:30.560 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci1 (00:11:67:55:90:3B): adapter stopped responding; executing reset
2023-08-15 11:30:30.561 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci1 with mac address 00:11:67:55:90:3B
2023-08-15 11:30:30.561 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci1 [00:11:67:55:90:3B]
2023-08-15 11:30:30.571 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapters from hci: {1: {'dev_id': 1, 'name': 'hci1', 'bdaddr': '00:11:67:55:90:3B', 'flags': 5, 'type': 1, 'features': <ifaddr._shared.c_ubyte_Array_8 object at 0x7f5b6dee70>, 'pkt_type': 52472, 'link_policy': 15, 'link_mode': 32768, 'acl_mtu': 310, 'acl_pkts': 10, 'sco_mtu': 64, 'sco_pkts': 8, 'stat': <bluetooth_adapters.systems.linux_hci.hci_dev_stats object at 0x7f5b6df530>}, 0: {'dev_id': 0, 'name': 'hci0', 'bdaddr': 'B8:27:EB:6A:9B:3F', 'flags': 5, 'type': 3, 'features': <ifaddr._shared.c_ubyte_Array_8 object at 0x7f5b6df410>, 'pkt_type': 52472, 'link_policy': 5, 'link_mode': 32768, 'acl_mtu': 1021, 'acl_pkts': 8, 'sco_mtu': 64, 'sco_pkts': 1, 'stat': <bluetooth_adapters.systems.linux_hci.hci_dev_stats object at 0x7f5b6df2f0>}}
2023-08-15 11:30:30.571 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapter 00:11:67:55:90:3B in hci device as 1
2023-08-15 11:30:30.572 DEBUG (MainThread) [bluetooth_auto_recovery.recover] hci1 (00:11:67:55:90:3B) idx is 1
2023-08-15 11:30:30.582 DEBUG (MainThread) [bluetooth_auto_recovery.recover] rfkill_idx of hci1 is 2
2023-08-15 11:30:30.583 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci1 [00:11:67:55:90:3B]
2023-08-15 11:30:30.583 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode
2023-08-15 11:30:30.586 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller
2023-08-15 11:30:30.589 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen
2023-08-15 11:30:30.593 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode
2023-08-15 11:30:30.595 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller
2023-08-15 11:30:30.597 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen
2023-08-15 11:30:30.599 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode
2023-08-15 11:30:30.600 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status
2023-08-15 11:30:30.602 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address
2023-08-15 11:30:30.604 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL
2023-08-15 11:30:30.605 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL
2023-08-15 11:30:30.606 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL
2023-08-15 11:30:30.607 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings
2023-08-15 11:30:30.609 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL
2023-08-15 11:30:30.613 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name
2023-08-15 11:30:30.614 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL
2023-08-15 11:30:30.616 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <event_code=CommandCompleteEvent, controller_idx=1, param_len=283> <command_opcode=ReadControllerInformation, status=Success> <address=00:11:67:55:90:3B, bluetooth_version=4, manufacturer=10, supported_settings=69887, current_settings={Powered: True, Connectable: False, FastConnectable: False, Discoverable: False, Bondable: False, LinkLevelSecurity: False, SecureSimplePairing: True, BREDR: True, HighSpeed: False, LowEnergy: False, Advertising: False, SecureConnections: False, DebugKeys: False, Privacy: False, ControllerConfiguration: False, StaticAddress: False, PHYConfiguration: False, WidebandSpeech: False}, class_of_device=7077888, name=b'homeassistant #2', short_name=0>
2023-08-15 11:30:30.619 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Current power state of bluetooth adapter is ON.
2023-08-15 11:30:30.619 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL
2023-08-15 11:30:30.622 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode
2023-08-15 11:30:30.623 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller
2023-08-15 11:30:30.625 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen
2023-08-15 11:30:30.630 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode
2023-08-15 11:30:30.632 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller
2023-08-15 11:30:30.633 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen
2023-08-15 11:30:30.634 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode
2023-08-15 11:30:30.637 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status
2023-08-15 11:30:30.638 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings
2023-08-15 11:30:30.639 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <event_code=CommandCompleteEvent, controller_idx=1, param_len=7> <command_opcode=SetPowered, status=Success> <current_settings={Powered: False, Connectable: False, FastConnectable: False, Discoverable: False, Bondable: False, LinkLevelSecurity: False, SecureSimplePairing: True, BREDR: True, HighSpeed: False, LowEnergy: False, Advertising: False, SecureConnections: False, DebugKeys: False, Privacy: False, ControllerConfiguration: False, StaticAddress: False, PHYConfiguration: False, WidebandSpeech: False}>
2023-08-15 11:30:30.642 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode
2023-08-15 11:30:30.642 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller
2023-08-15 11:30:30.643 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen
2023-08-15 11:30:30.648 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode
2023-08-15 11:30:30.649 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller
2023-08-15 11:30:30.651 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen
2023-08-15 11:30:30.652 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL
2023-08-15 11:30:30.654 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket read <event_code=ClassOfDeviceChangedEvent, controller_idx=1, param_len=3> <class_of_device=0>
2023-08-15 11:30:30.658 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode
2023-08-15 11:30:30.660 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller
2023-08-15 11:30:30.662 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen
2023-08-15 11:30:30.665 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode
2023-08-15 11:30:30.668 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status
2023-08-15 11:30:30.669 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address
2023-08-15 11:30:30.670 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL
2023-08-15 11:30:30.672 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL
2023-08-15 11:30:30.674 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL
2023-08-15 11:30:30.675 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings
2023-08-15 11:30:30.678 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL
2023-08-15 11:30:30.678 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name
2023-08-15 11:30:30.681 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL
2023-08-15 11:30:30.684 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <event_code=CommandCompleteEvent, controller_idx=1, param_len=283> <command_opcode=ReadControllerInformation, status=Success> <address=00:11:67:55:90:3B, bluetooth_version=4, manufacturer=10, supported_settings=69887, current_settings={Powered: False, Connectable: False, FastConnectable: False, Discoverable: False, Bondable: False, LinkLevelSecurity: False, SecureSimplePairing: True, BREDR: True, HighSpeed: False, LowEnergy: False, Advertising: False, SecureConnections: False, DebugKeys: False, Privacy: False, ControllerConfiguration: False, StaticAddress: False, PHYConfiguration: False, WidebandSpeech: False}, class_of_device=0, name=b'homeassistant #2', short_name=0>
2023-08-15 11:30:30.694 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Bouncing Bluetooth adapter hci1
2023-08-15 11:30:30.695 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci1 down
2023-08-15 11:30:31.199 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci1 up
2023-08-15 11:30:31.929 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Finished bouncing hci1
2023-08-15 11:30:31.934 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL
2023-08-15 11:30:31.936 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode
2023-08-15 11:30:31.939 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller
2023-08-15 11:30:31.941 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen
2023-08-15 11:30:31.945 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode
2023-08-15 11:30:31.946 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller
2023-08-15 11:30:31.947 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen
2023-08-15 11:30:31.949 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode
2023-08-15 11:30:31.950 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status
2023-08-15 11:30:31.953 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings
2023-08-15 11:30:31.954 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <event_code=CommandCompleteEvent, controller_idx=1, param_len=7> <command_opcode=SetPowered, status=Success> <current_settings={Powered: True, Connectable: False, FastConnectable: False, Discoverable: False, Bondable: False, LinkLevelSecurity: False, SecureSimplePairing: True, BREDR: True, HighSpeed: False, LowEnergy: False, Advertising: False, SecureConnections: False, DebugKeys: False, Privacy: False, ControllerConfiguration: False, StaticAddress: False, PHYConfiguration: False, WidebandSpeech: False}>
2023-08-15 11:30:31.956 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode
2023-08-15 11:30:31.958 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller
2023-08-15 11:30:31.959 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen
2023-08-15 11:30:31.962 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode
2023-08-15 11:30:31.963 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller
2023-08-15 11:30:31.965 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen
2023-08-15 11:30:31.966 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode
2023-08-15 11:30:31.967 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status
2023-08-15 11:30:31.969 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address
2023-08-15 11:30:31.970 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL
2023-08-15 11:30:31.972 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL
2023-08-15 11:30:31.975 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL
2023-08-15 11:30:31.976 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings
2023-08-15 11:30:31.977 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL
2023-08-15 11:30:31.978 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name
2023-08-15 11:30:31.979 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL
2023-08-15 11:30:31.980 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <event_code=CommandCompleteEvent, controller_idx=1, param_len=283> <command_opcode=ReadControllerInformation, status=Success> <address=00:11:67:55:90:3B, bluetooth_version=4, manufacturer=10, supported_settings=69887, current_settings={Powered: True, Connectable: False, FastConnectable: False, Discoverable: False, Bondable: False, LinkLevelSecurity: False, SecureSimplePairing: True, BREDR: True, HighSpeed: False, LowEnergy: False, Advertising: False, SecureConnections: False, DebugKeys: False, Privacy: False, ControllerConfiguration: False, StaticAddress: False, PHYConfiguration: False, WidebandSpeech: False}, class_of_device=7077888, name=b'homeassistant #2', short_name=0>
2023-08-15 11:30:31.982 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Power state of bluetooth adapter hci1 [00:11:67:55:90:3B] is ON after power cycle
2023-08-15 11:30:33.484 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci1 (00:11:67:55:90:3B): adapter reset result: True
2023-08-15 11:30:33.485 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci1 (00:11:67:55:90:3B): Starting bluetooth discovery attempt: (2/3)
2023-08-15 11:30:33.497 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci1 (00:11:67:55:90:3B): BleakError while starting bluetooth; attempt: (2/3): [org.bluez.Error.InProgress] Operation already in progress
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth/scanner.py", line 224, in _async_start
await self.scanner.start() # type: ignore[no-untyped-call]
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bleak/__init__.py", line 182, in start
await self._backend.start()
File "/usr/local/lib/python3.11/site-packages/bleak/backends/bluezdbus/scanner.py", line 191, in start
self._stop = await manager.active_scan(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bleak/backends/bluezdbus/manager.py", line 368, in active_scan
assert_reply(reply)
File "/usr/local/lib/python3.11/site-packages/bleak/backends/bluezdbus/utils.py", line 22, in assert_reply
raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.InProgress] Operation already in progress
2023-08-15 11:30:33.758 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:6A:9B:3F) [connectable]: 69:3B:47:01:DF:D1 AdvertisementData(manufacturer_data={76: b'\x10\x06\x0e\x1a-\x80\r\xd8'}, tx_power=12, rssi=-89) match: set()
2023-08-15 11:31:17.383 WARNING (MainThread) [homeassistant.config_entries] Config entry '00:11:67:55:90:3B' for bluetooth integration not ready yet: hci1 (00:11:67:55:90:3B): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress; Retrying in background
2023-08-15 11:32:17.411 WARNING (MainThread) [homeassistant.config_entries] Config entry '00:11:67:55:90:3B' for bluetooth integration not ready yet: hci1 (00:11:67:55:90:3B): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress; Retrying in background
2023-08-15 11:34:22.005 WARNING (MainThread) [homeassistant.config_entries] Config entry '00:11:67:55:90:3B' for bluetooth integration not ready yet: hci1 (00:11:67:55:90:3B): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress; Retrying in background
2023-08-15 11:36:27.002 WARNING (MainThread) [homeassistant.config_entries] Config entry '00:11:67:55:90:3B' for bluetooth integration not ready yet: hci1 (00:11:67:55:90:3B): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress; Retrying in background
2023-08-15 11:42:00.916 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci1 up
2023-08-15 11:42:01.646 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Finished bouncing hci1
2023-08-15 11:42:01.652 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL
2023-08-15 11:42:01.654 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode
2023-08-15 11:42:01.655 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller
2023-08-15 11:42:01.656 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen
2023-08-15 11:42:01.660 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode
2023-08-15 11:42:01.663 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller
2023-08-15 11:42:01.664 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen
2023-08-15 11:42:01.666 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode
2023-08-15 11:42:01.669 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status
2023-08-15 11:42:01.670 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings
2023-08-15 11:42:01.671 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <event_code=CommandCompleteEvent, controller_idx=1, param_len=7> <command_opcode=SetPowered, status=Success> <current_settings={Powered: True, Connectable: False, FastConnectable: False, Discoverable: False, Bondable: False, LinkLevelSecurity: False, SecureSimplePairing: True, BREDR: True, HighSpeed: False, LowEnergy: False, Advertising: False, SecureConnections: False, DebugKeys: False, Privacy: False, ControllerConfiguration: False, StaticAddress: False, PHYConfiguration: False, WidebandSpeech: False}>
2023-08-15 11:42:01.674 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode
2023-08-15 11:42:01.675 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller
2023-08-15 11:42:01.678 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen
2023-08-15 11:42:01.683 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode
2023-08-15 11:42:01.684 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller
2023-08-15 11:42:01.687 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen
2023-08-15 11:42:01.688 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode
2023-08-15 11:42:01.689 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status
2023-08-15 11:42:01.690 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address
2023-08-15 11:42:01.691 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL
2023-08-15 11:42:01.692 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL
2023-08-15 11:42:01.693 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL
2023-08-15 11:42:01.694 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings
2023-08-15 11:42:01.696 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL
2023-08-15 11:42:01.697 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name
2023-08-15 11:42:01.700 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL
2023-08-15 11:42:01.701 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <event_code=CommandCompleteEvent, controller_idx=1, param_len=283> <command_opcode=ReadControllerInformation, status=Success> <address=00:11:67:55:90:3B, bluetooth_version=4, manufacturer=10, supported_settings=69887, current_settings={Powered: True, Connectable: False, FastConnectable: False, Discoverable: False, Bondable: False, LinkLevelSecurity: False, SecureSimplePairing: True, BREDR: True, HighSpeed: False, LowEnergy: False, Advertising: False, SecureConnections: False, DebugKeys: False, Privacy: False, ControllerConfiguration: False, StaticAddress: False, PHYConfiguration: False, WidebandSpeech: False}, class_of_device=7077888, name=b'homeassistant #2', short_name=0>
2023-08-15 11:42:01.703 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Power state of bluetooth adapter hci1 [00:11:67:55:90:3B] is ON after power cycle
2023-08-15 11:42:03.205 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci1 (00:11:67:55:90:3B): adapter reset result: True
2023-08-15 11:42:03.206 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci1 (00:11:67:55:90:3B): Starting bluetooth discovery attempt: (2/3)
2023-08-15 11:42:03.217 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci1 (00:11:67:55:90:3B): BleakError while starting bluetooth; attempt: (2/3): [org.bluez.Error.InProgress] Operation already in progress
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth/scanner.py", line 224, in _async_start
await self.scanner.start() # type: ignore[no-untyped-call]
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bleak/__init__.py", line 182, in start
await self._backend.start()
File "/usr/local/lib/python3.11/site-packages/bleak/backends/bluezdbus/scanner.py", line 191, in start
self._stop = await manager.active_scan(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bleak/backends/bluezdbus/manager.py", line 368, in active_scan
assert_reply(reply)
File "/usr/local/lib/python3.11/site-packages/bleak/backends/bluezdbus/utils.py", line 22, in assert_reply
raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.InProgress] Operation already in progress
I wonder if I also should see general bluetooth devices, like bt-audio chips or my smartphone?