home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.18k stars 30.21k forks source link

Failed setup Bluetooth #113697

Closed Blaise75 closed 5 months ago

Blaise75 commented 6 months ago

The problem

My Bluetooth device doesn't work. Home assistant work on Macbook Capture

What version of Home Assistant Core has the issue?

core-2024.3.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Bluetooth

Link to integration documentation on our website

No response

Diagnostics information

home-assistant_bluetooth_2024-03-17T17-47-51.325Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

joostlek commented 6 months ago

Anything in the logs?

home-assistant[bot] commented 6 months ago

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (bluetooth) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `bluetooth` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign bluetooth` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


bluetooth documentation bluetooth source (message by IssueLinks)

Blaise75 commented 6 months ago

Anything in the logs?


2024-03-17 17:41:33.933 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2024-03-17 17:41:33.988 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=3 from 2024-03-17 15:22:11.585787)
2024-03-17 18:42:14.321 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message:
Invalid method encountered:
b'\x16\x03\x01\x02z\x01'
  ^

2024-03-17 18:42:26.654 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message: Invalid method encountered:

b'\x16\x03\x01\x02z\x01'
  ^

2024-03-17 18:46:46.385 DEBUG (MainThread) [homeassistant.components.bluetooth] Triggering bluetooth usb discovery 2024-03-17 18:46:51.395 DEBUG (MainThread) [homeassistant.components.bluetooth] Rediscovered adapters: {'hci0': {'address': '90:27:E4:F4:CC:2D', 'sw_version': 'homeassistant', 'hw_version': 'usb:v1D6Bp0246d0548', 'passive_scan': False, 'manufacturer': 'Apple Inc.', 'product': 'Bluetooth USB Host Controller', 'vendor_id': '05ac', 'product_id': '8218'}} 2024-03-17 18:46:55.082 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci0 with mac address 90:27:E4:F4:CC:2D 2024-03-17 18:46:55.083 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:46:55.087 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapters from hci: {0: {'dev_id': 0, 'name': 'hci0', 'bdaddr': '90:27:E4:F4:CC:2D', 'flags': 5, 'type': 1, 'features': <ifaddr._shared.c_ubyte_Array_8 object at 0x7f804ad122d0>, 'pkt_type': 52472, 'link_policy': 15, '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 0x7f804ad116d0>}} 2024-03-17 18:46:55.087 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapter 90:27:E4:F4:CC:2D in hci device as 0 2024-03-17 18:46:55.087 DEBUG (MainThread) [bluetooth_auto_recovery.recover] hci0 (90:27:E4:F4:CC:2D) idx is 0 2024-03-17 18:46:55.092 DEBUG (MainThread) [bluetooth_auto_recovery.recover] rfkill_idx of hci0 is 1 2024-03-17 18:46:55.092 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:46:55.093 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:46:55.093 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:46:55.093 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:46:55.096 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:46:55.097 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:46:55.097 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:46:55.097 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:46:55.098 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:46:55.098 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:46:55.098 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:46:55.099 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:46:55.101 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:46:55.101 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:46:55.102 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:46:55.102 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:46:55.102 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:46:55.102 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:46:55.103 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Current power state of bluetooth adapter is ON. 2024-03-17 18:46:55.103 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:46:55.105 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:46:55.105 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:46:55.105 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:46:55.109 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:46:55.109 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:46:55.109 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:46:55.109 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:46:55.110 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:46:55.110 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:46:55.110 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:46:55.112 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:46:55.112 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:46:55.112 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:46:55.113 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:46:55.113 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:46:55.113 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:46:55.113 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:46:55.113 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket read 2024-03-17 18:46:55.113 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:46:55.113 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:46:55.114 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:46:55.114 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:46:55.114 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:46:55.116 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:46:55.116 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:46:55.117 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:46:55.117 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:46:55.118 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:46:55.118 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:46:55.118 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:46:55.119 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:46:55.119 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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', short_name=0> 2024-03-17 18:46:55.122 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Bouncing Bluetooth adapter hci0 2024-03-17 18:46:55.124 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 down 2024-03-17 18:46:55.628 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 up 2024-03-17 18:46:56.253 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Finished bouncing hci0 2024-03-17 18:46:56.255 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:46:56.256 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:46:56.256 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:46:56.257 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:46:56.258 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:46:56.258 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:46:56.259 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:46:56.262 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:46:56.263 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:46:56.264 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:46:56.265 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:46:56.267 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:46:56.269 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:46:56.271 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:46:56.272 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:46:56.273 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:46:56.273 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:46:56.274 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:46:56.275 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:46:56.275 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:46:56.275 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:46:56.275 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:46:56.275 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:46:56.275 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:46:56.276 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:46:56.276 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:46:56.278 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:46:56.278 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:46:56.279 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Power state of bluetooth adapter hci0 [90:27:E4:F4:CC:2D] is ON after power cycle 2024-03-17 18:47:02.840 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci0 with mac address 90:27:E4:F4:CC:2D 2024-03-17 18:47:02.841 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:02.845 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapters from hci: {0: {'dev_id': 0, 'name': 'hci0', 'bdaddr': '90:27:E4:F4:CC:2D', 'flags': 5, 'type': 1, 'features': <ifaddr._shared.c_ubyte_Array_8 object at 0x7f804ad11ad0>, 'pkt_type': 52472, 'link_policy': 15, '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 0x7f804ad12f50>}} 2024-03-17 18:47:02.845 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapter 90:27:E4:F4:CC:2D in hci device as 0 2024-03-17 18:47:02.845 DEBUG (MainThread) [bluetooth_auto_recovery.recover] hci0 (90:27:E4:F4:CC:2D) idx is 0 2024-03-17 18:47:02.850 DEBUG (MainThread) [bluetooth_auto_recovery.recover] rfkill_idx of hci0 is 1 2024-03-17 18:47:02.850 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:02.851 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:02.852 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:02.852 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:02.853 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:02.853 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:02.855 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:02.855 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:02.856 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:02.856 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:02.857 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:02.857 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:02.859 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:02.859 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:02.860 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:02.860 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:02.860 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:02.860 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:02.861 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Current power state of bluetooth adapter is ON. 2024-03-17 18:47:02.861 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:02.864 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:02.865 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:02.865 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:02.865 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:02.865 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:02.866 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:02.866 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:02.866 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:02.866 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:02.866 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:02.867 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:02.868 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:02.868 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:02.868 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:02.869 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:02.869 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:02.869 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:02.870 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket read 2024-03-17 18:47:02.870 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:02.871 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:02.871 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:02.872 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:02.872 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:02.872 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:02.872 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:02.873 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:02.873 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:02.873 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:02.873 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:02.874 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:02.874 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:02.874 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:02.878 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Bouncing Bluetooth adapter hci0 2024-03-17 18:47:02.878 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 down 2024-03-17 18:47:03.380 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 up 2024-03-17 18:47:04.006 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Finished bouncing hci0 2024-03-17 18:47:04.009 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:04.009 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:04.010 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:04.010 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:04.013 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:04.014 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:04.014 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:04.015 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:04.015 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:04.015 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:04.016 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:04.019 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:04.021 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:04.022 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:04.023 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:04.023 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:04.024 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:04.024 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:04.025 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:04.025 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:04.026 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:04.026 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:04.027 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:04.027 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:04.028 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:04.028 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:04.028 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:04.029 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:04.029 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Power state of bluetooth adapter hci0 [90:27:E4:F4:CC:2D] is ON after power cycle 2024-03-17 18:47:15.967 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci0 with mac address 90:27:E4:F4:CC:2D 2024-03-17 18:47:15.967 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:15.972 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapters from hci: {0: {'dev_id': 0, 'name': 'hci0', 'bdaddr': '90:27:E4:F4:CC:2D', 'flags': 5, 'type': 1, 'features': <ifaddr._shared.c_ubyte_Array_8 object at 0x7f804ad12950>, 'pkt_type': 52472, 'link_policy': 15, '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 0x7f804ad13950>}} 2024-03-17 18:47:15.972 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapter 90:27:E4:F4:CC:2D in hci device as 0 2024-03-17 18:47:15.972 DEBUG (MainThread) [bluetooth_auto_recovery.recover] hci0 (90:27:E4:F4:CC:2D) idx is 0 2024-03-17 18:47:15.977 DEBUG (MainThread) [bluetooth_auto_recovery.recover] rfkill_idx of hci0 is 1 2024-03-17 18:47:15.977 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:15.977 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:15.978 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:15.978 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:15.980 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:15.980 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:15.980 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:15.981 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:15.982 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:15.982 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:15.983 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:15.985 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:15.986 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:15.987 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:15.988 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:15.988 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:15.988 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:15.989 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:15.992 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Current power state of bluetooth adapter is ON. 2024-03-17 18:47:15.992 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:15.992 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:15.993 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:15.993 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:15.994 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:15.995 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:15.995 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:15.995 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:15.996 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:15.996 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:15.996 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:15.996 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:15.997 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:15.997 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:15.999 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:15.999 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:16.000 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:16.000 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:16.000 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket read 2024-03-17 18:47:16.001 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:16.001 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:16.003 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:16.003 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:16.003 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:16.003 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:16.003 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:16.004 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:16.004 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:16.004 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:16.004 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:16.004 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:16.004 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:16.004 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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', short_name=0> 2024-03-17 18:47:16.006 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Bouncing Bluetooth adapter hci0 2024-03-17 18:47:16.006 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 down 2024-03-17 18:47:16.508 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 up 2024-03-17 18:47:17.132 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Finished bouncing hci0 2024-03-17 18:47:17.134 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:17.135 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:17.135 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:17.135 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:17.138 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:17.139 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:17.140 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:17.141 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:17.142 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:17.143 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:17.144 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:17.145 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:17.147 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:17.148 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:17.148 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:17.151 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:17.151 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:17.153 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:17.153 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:17.153 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:17.153 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:17.153 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:17.154 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:17.154 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:17.154 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:17.155 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:17.156 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:17.156 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:17.157 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Power state of bluetooth adapter hci0 [90:27:E4:F4:CC:2D] is ON after power cycle 2024-03-17 18:47:22.720 DEBUG (MainThread) [homeassistant.components.bluetooth] Rediscovered adapters: {'hci0': {'address': '90:27:E4:F4:CC:2D', 'sw_version': 'homeassistant', 'hw_version': 'usb:v1D6Bp0246d0548', 'passive_scan': False, 'manufacturer': 'Apple Inc.', 'product': 'Bluetooth USB Host Controller', 'vendor_id': '05ac', 'product_id': '8218'}} 2024-03-17 18:47:22.726 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci0 with mac address 90:27:E4:F4:CC:2D 2024-03-17 18:47:22.726 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:22.731 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapters from hci: {0: {'dev_id': 0, 'name': 'hci0', 'bdaddr': '90:27:E4:F4:CC:2D', 'flags': 5, 'type': 1, 'features': <ifaddr._shared.c_ubyte_Array_8 object at 0x7f804df9c7d0>, 'pkt_type': 52472, 'link_policy': 15, '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 0x7f804df9c3d0>}} 2024-03-17 18:47:22.731 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapter 90:27:E4:F4:CC:2D in hci device as 0 2024-03-17 18:47:22.731 DEBUG (MainThread) [bluetooth_auto_recovery.recover] hci0 (90:27:E4:F4:CC:2D) idx is 0 2024-03-17 18:47:22.736 DEBUG (MainThread) [bluetooth_auto_recovery.recover] rfkill_idx of hci0 is 1 2024-03-17 18:47:22.736 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:22.736 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:22.737 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:22.739 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:22.741 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:22.742 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:22.743 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:22.744 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:22.744 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:22.745 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:22.745 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:22.745 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:22.746 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:22.746 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:22.749 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:22.749 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:22.750 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:22.750 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:22.752 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Current power state of bluetooth adapter is ON. 2024-03-17 18:47:22.752 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:22.753 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:22.753 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:22.753 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:22.754 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:22.756 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:22.756 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:22.757 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:22.757 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:22.758 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:22.758 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:22.759 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:22.759 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:22.760 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:22.761 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:22.762 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:22.763 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:22.763 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:22.764 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket read 2024-03-17 18:47:22.765 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:22.766 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:22.766 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:22.767 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:22.767 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:22.768 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:22.768 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:22.768 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:22.769 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:22.769 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:22.769 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:22.769 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:22.769 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:22.769 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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', short_name=0> 2024-03-17 18:47:22.772 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Bouncing Bluetooth adapter hci0 2024-03-17 18:47:22.772 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 down 2024-03-17 18:47:23.273 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 up 2024-03-17 18:47:23.900 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Finished bouncing hci0 2024-03-17 18:47:23.904 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:23.904 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:23.904 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:23.905 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:23.908 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:23.908 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:23.909 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:23.909 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:23.911 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:23.911 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:23.912 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:23.913 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:23.916 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:23.917 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:23.918 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:23.919 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:23.920 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:23.920 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:23.920 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:23.921 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:23.922 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:23.922 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:23.922 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:23.923 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:23.924 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:23.924 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:23.924 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:23.925 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:23.926 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Power state of bluetooth adapter hci0 [90:27:E4:F4:CC:2D] is ON after power cycle 2024-03-17 18:47:30.816 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci0 with mac address 90:27:E4:F4:CC:2D 2024-03-17 18:47:30.816 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:30.821 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapters from hci: {0: {'dev_id': 0, 'name': 'hci0', 'bdaddr': '90:27:E4:F4:CC:2D', 'flags': 5, 'type': 1, 'features': <ifaddr._shared.c_ubyte_Array_8 object at 0x7f804def6ed0>, 'pkt_type': 52472, 'link_policy': 15, '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 0x7f804def66d0>}} 2024-03-17 18:47:30.821 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapter 90:27:E4:F4:CC:2D in hci device as 0 2024-03-17 18:47:30.821 DEBUG (MainThread) [bluetooth_auto_recovery.recover] hci0 (90:27:E4:F4:CC:2D) idx is 0 2024-03-17 18:47:30.826 DEBUG (MainThread) [bluetooth_auto_recovery.recover] rfkill_idx of hci0 is 1 2024-03-17 18:47:30.826 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:30.827 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:30.827 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:30.828 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:30.829 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:30.830 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:30.830 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:30.832 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:30.833 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:30.833 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:30.833 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:30.834 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:30.834 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:30.836 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:30.837 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:30.838 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:30.838 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:30.839 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:30.839 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Current power state of bluetooth adapter is ON. 2024-03-17 18:47:30.840 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:30.840 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:30.841 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:30.842 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:30.842 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:30.843 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:30.843 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:30.843 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:30.844 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:30.844 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:30.845 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:30.845 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:30.846 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:30.846 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:30.846 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:30.846 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:30.847 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:30.847 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:30.848 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket read 2024-03-17 18:47:30.849 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:30.849 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:30.849 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:30.849 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:30.849 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:30.850 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:30.850 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:30.851 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:30.851 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:30.852 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:30.852 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:30.852 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:30.853 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:30.853 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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', short_name=0> 2024-03-17 18:47:30.855 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Bouncing Bluetooth adapter hci0 2024-03-17 18:47:30.855 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 down 2024-03-17 18:47:31.357 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 up 2024-03-17 18:47:31.979 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Finished bouncing hci0 2024-03-17 18:47:31.981 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:31.981 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:31.982 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:31.983 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:31.985 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:31.986 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:31.987 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:31.988 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:31.990 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:31.990 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:31.991 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:31.992 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:31.995 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:31.995 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:31.996 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:31.996 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:31.996 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:31.997 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:31.998 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:31.998 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:31.999 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:31.999 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:31.999 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:31.999 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:32.000 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:32.000 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:32.000 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:32.001 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:32.002 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Power state of bluetooth adapter hci0 [90:27:E4:F4:CC:2D] is ON after power cycle 2024-03-17 18:47:43.812 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci0 with mac address 90:27:E4:F4:CC:2D 2024-03-17 18:47:43.812 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:43.817 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapters from hci: {0: {'dev_id': 0, 'name': 'hci0', 'bdaddr': '90:27:E4:F4:CC:2D', 'flags': 5, 'type': 1, 'features': <ifaddr._shared.c_ubyte_Array_8 object at 0x7f804df9ced0>, 'pkt_type': 52472, 'link_policy': 15, '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 0x7f804df9de50>}} 2024-03-17 18:47:43.817 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapter 90:27:E4:F4:CC:2D in hci device as 0 2024-03-17 18:47:43.818 DEBUG (MainThread) [bluetooth_auto_recovery.recover] hci0 (90:27:E4:F4:CC:2D) idx is 0 2024-03-17 18:47:43.822 DEBUG (MainThread) [bluetooth_auto_recovery.recover] rfkill_idx of hci0 is 1 2024-03-17 18:47:43.822 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:43.822 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:43.823 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:43.823 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:43.824 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:43.824 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:43.824 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:43.828 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:43.829 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:43.829 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:43.829 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:43.830 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:43.830 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:43.830 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:43.831 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:43.831 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:43.831 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:43.832 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:43.835 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Current power state of bluetooth adapter is ON. 2024-03-17 18:47:43.835 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:43.836 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:43.836 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:43.836 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:43.836 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:43.836 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:43.837 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:43.837 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:43.840 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:43.841 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:43.841 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:43.842 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:43.843 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:43.843 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:43.844 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:43.844 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:43.845 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:43.845 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:43.846 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket read 2024-03-17 18:47:43.846 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:43.846 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:43.846 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:43.847 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:43.847 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:43.847 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:43.847 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:43.847 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:43.847 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:43.847 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:43.848 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:43.848 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:43.851 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:43.851 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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', short_name=0> 2024-03-17 18:47:43.854 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Bouncing Bluetooth adapter hci0 2024-03-17 18:47:43.855 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 down 2024-03-17 18:47:44.356 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 up 2024-03-17 18:47:44.983 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Finished bouncing hci0 2024-03-17 18:47:44.985 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:44.986 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:44.986 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:44.987 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:44.989 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:44.990 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:44.991 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:44.991 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:44.993 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:44.994 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:44.994 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:44.996 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:44.997 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:44.997 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:45.001 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:45.002 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:45.003 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:45.003 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:45.005 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:45.006 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:45.006 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:45.007 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:45.008 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:45.008 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:45.008 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:45.008 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:45.009 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:45.010 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:45.011 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Power state of bluetooth adapter hci0 [90:27:E4:F4:CC:2D] is ON after power cycle 2024-03-17 18:47:46.402 DEBUG (MainThread) [homeassistant.components.bluetooth] Triggering bluetooth usb discovery 2024-03-17 18:47:51.411 DEBUG (MainThread) [homeassistant.components.bluetooth] Rediscovered adapters: {'hci0': {'address': '90:27:E4:F4:CC:2D', 'sw_version': 'homeassistant', 'hw_version': 'usb:v1D6Bp0246d0548', 'passive_scan': False, 'manufacturer': 'Apple Inc.', 'product': 'Bluetooth USB Host Controller', 'vendor_id': '05ac', 'product_id': '8218'}} 2024-03-17 18:47:51.417 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci0 with mac address 90:27:E4:F4:CC:2D 2024-03-17 18:47:51.417 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:51.421 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapters from hci: {0: {'dev_id': 0, 'name': 'hci0', 'bdaddr': '90:27:E4:F4:CC:2D', 'flags': 5, 'type': 1, 'features': <ifaddr._shared.c_ubyte_Array_8 object at 0x7f804def5bd0>, 'pkt_type': 52472, 'link_policy': 15, '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 0x7f804def68d0>}} 2024-03-17 18:47:51.421 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Found adapter 90:27:E4:F4:CC:2D in hci device as 0 2024-03-17 18:47:51.421 DEBUG (MainThread) [bluetooth_auto_recovery.recover] hci0 (90:27:E4:F4:CC:2D) idx is 0 2024-03-17 18:47:51.426 DEBUG (MainThread) [bluetooth_auto_recovery.recover] rfkill_idx of hci0 is 1 2024-03-17 18:47:51.426 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [90:27:E4:F4:CC:2D] 2024-03-17 18:47:51.427 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:51.428 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:51.429 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:51.432 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:51.433 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:51.433 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:51.434 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:51.434 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:51.435 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:51.435 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:51.436 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:51.436 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:51.437 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:51.438 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:51.438 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:51.438 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:51.438 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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=7078156, name=b'homeassistant', short_name=0> 2024-03-17 18:47:51.439 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Current power state of bluetooth adapter is ON. 2024-03-17 18:47:51.439 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding powered as type IntUL 2024-03-17 18:47:51.440 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:51.441 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:51.441 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:51.442 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:51.444 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:51.444 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:51.444 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:51.445 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:51.445 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:51.445 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <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}> 2024-03-17 18:47:51.446 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding cmd_code as type CmdCode 2024-03-17 18:47:51.446 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding controller_idx as type Controller 2024-03-17 18:47:51.446 DEBUG (MainThread) [btsocket.btmgmt_protocol] Encoding param_len as type ParamLen 2024-03-17 18:47:51.447 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:51.447 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:51.448 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:51.448 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:51.448 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket read 2024-03-17 18:47:51.449 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding event_code as type EvtCode 2024-03-17 18:47:51.449 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding controller_idx as type Controller 2024-03-17 18:47:51.450 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding param_len as type ParamLen 2024-03-17 18:47:51.451 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding command_opcode as type CmdCode 2024-03-17 18:47:51.452 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding status as type Status 2024-03-17 18:47:51.452 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding address as type Address 2024-03-17 18:47:51.453 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding bluetooth_version as type IntUL 2024-03-17 18:47:51.453 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding manufacturer as type IntUL 2024-03-17 18:47:51.453 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding supported_settings as type IntUL 2024-03-17 18:47:51.453 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding current_settings as type CurrentSettings 2024-03-17 18:47:51.454 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding class_of_device as type IntUL 2024-03-17 18:47:51.454 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding name as type Name 2024-03-17 18:47:51.454 DEBUG (MainThread) [btsocket.btmgmt_protocol] Decoding short_name as type IntUL 2024-03-17 18:47:51.454 DEBUG (MainThread) [btsocket.btmgmt_protocol] Socket Read: <address=90:27:E4:F4:CC:2D, bluetooth_version=4, manufacturer=15, 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', short_name=0> 2024-03-17 18:47:51.456 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Bouncing Bluetooth adapter hci0 2024-03-17 18:47:51.456 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Setting hci0 down

smartmatic commented 6 months ago

I am facing the same issue. My Bluetooth environment stopped working. Reconfiguration of the Bluetooth adapter doesn't solve the issue.

It appears immediately after upgrading to 2024.3.1

This error is in the logs:

`Logger: habluetooth.scanner Quelle: /usr/local/lib/python3.12/asyncio/events.py:88 Erstmals aufgetreten: 17. März 2024 um 12:39:06 (29 Vorkommnisse) Zuletzt protokolliert: 17. März 2024 um 21:45:44

hci0 (D8:3A:DD:CD:42:34): Failed to restart Bluetooth scanner: hci0 (D8:3A:DD:CD:42:34): Failed to start Bluetooth: [org.bluez.Error.NotReady] Resource Not Ready; Try power cycling the Bluetooth hardware. Traceback (most recent call last): File "src/habluetooth/scanner.py", line 249, in habluetooth.scanner.HaScanner._async_start File "src/habluetooth/scanner.py", line 250, in habluetooth.scanner.HaScanner._async_start File "/usr/local/lib/python3.12/site-packages/bleak/init.py", line 198, in start await self._backend.start() File "/usr/local/lib/python3.12/site-packages/bleak/backends/bluezdbus/scanner.py", line 185, in start self._stop = await manager.active_scan( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/bleak/backends/bluezdbus/manager.py", line 405, in active_scan assert_reply(reply) File "/usr/local/lib/python3.12/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.NotReady] Resource Not Ready

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "src/habluetooth/scanner.py", line 381, in habluetooth.scanner.HaScanner._async_restart_scanner File "src/habluetooth/scanner.py", line 333, in _async_start habluetooth.scanner.ScannerStartError: hci0 (D8:3A:DD:CD:42:34): Failed to start Bluetooth: [org.bluez.Error.NotReady] Resource Not Ready; Try power cycling the Bluetooth hardware. ` This warning is also in the log:

`Logger: bluetooth_auto_recovery.recover Quelle: runner.py:188 Erstmals aufgetreten: 17. März 2024 um 12:38:58 (123 Vorkommnisse) Zuletzt protokolliert: 00:12:05

Could not reset the power state of the Bluetooth adapter hci0 [D8:3A:DD:CD:42:34] due to timeout after 5 seconds Could not cycle the Bluetooth adapter hci0 [D8:3A:DD:CD:42:34]: [Errno 110] Operation timed out Bluetooth adapter hci0 [D8:3A:DD:CD:42:34] could not be reset: Bluetooth adapter hci0 [D8:3A:DD:CD:42:34] successfully turned back ON`

It's an internal bluetooth adapter on a CM4

jwmann commented 6 months ago

Same issue here as well. Using a Home Assistant Yellow. Stopped working when I updated to the latest HA version

bdraco commented 6 months ago

Did you try power cycling the Bluetooth hardware?

smartmatic commented 6 months ago

Power cycling does not solve it. My bluetooth environment is currently dead.

bdraco commented 6 months ago

Can you turn it on/off in bluetoothctl manually or does that fail as well?

bdraco commented 6 months ago

Power cycling does not solve it. My bluetooth environment is currently dead.

Did you remove power for a few seconds or only reboot it ?

SamppaMy commented 6 months ago

I have same problem. My HA core is still in version 2024.2.5, but i upgraded OS to 12.1. I think that caused the problem, but not sure. I did not find problem immediately, because bt is not so important in my envinroment and i have bt proxies. I have external usb dongle.

HA is installed on Proxmox server

edit: my BT is now working again. I reinstalled my bt dongle and after that module start working.. so maybe this was not same issue.

smartmatic commented 6 months ago

Power cycling does not solve it. My bluetooth environment is currently dead.

Did you remove power for a few seconds or only reboot it ?

I have rebooted the host. In This case a HA Yellow with a CM4 with an integrated Bluetooth module. My Switchbot devices are no longer controllable although i have additionally some ESP bluetooth proxyies in my house.

spartyparty00 commented 6 months ago

Same issue. Yellow with CM4. I think it was also 12.1

selleronom commented 6 months ago

Also experiencing the problem with Yellow CM4 HAOS version 12.1. It was working fine a couple of days until it suddenly stopped working

thomasschurr commented 6 months ago

Same issue. Blue with LogiLink Bluetooth Adapter. Stopped working around March, 3rd. It's a remote installation and I do not have physical access at the moment. Did several reboots including reinstallation of the Bluetooth integration. Installation is up-to-date. Core 2024.3.3 Supervisor 2024.03.0 Operating System 12.1 Frontend 20240306.0

sweet-home-smart-services commented 6 months ago

Same issue on Raspberry Pi installation OS 12.1. Fixed it by downgrading OS to 12.0

ActuandoWoody commented 6 months ago

Core: 2024.3.3 Supervisor: 2024.03.1 Operating System: 12.1 Frontend: 20240307.0

I have the same issue, BUT with a RTL8761B BT 5.0 USB adapter on a Pi 3.

HOWEVER, I have a temporary, if slightly irritating.. workaround:

  1. Unplug adapter.
  2. Leave unplugged for 2-3 mins (anything shorter doesn't work)
  3. Plug USB adapter back in

Here is the log:

2024-03-28 13:26:07.451 RPI3Homeassistant kernel: usb 1-1.1.2: USB disconnect, device number 4 2024-03-28 13:26:14.804 RPI3Homeassistant kernel: usb 1-1.1.2: new full-speed USB device number 9 using dwc_otg 2024-03-28 13:26:14.895 RPI3Homeassistant kernel: usb 1-1.1.2: New USB device found, idVendor=0bda, idProduct=8771, bcdDevice= 2.00 2024-03-28 13:26:14.902 RPI3Homeassistant kernel: usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 2024-03-28 13:26:14.904 RPI3Homeassistant kernel: usb 1-1.1.2: Product: Bluetooth Radio 2024-03-28 13:26:14.906 RPI3Homeassistant kernel: usb 1-1.1.2: Manufacturer: Realtek 2024-03-28 13:26:14.908 RPI3Homeassistant kernel: usb 1-1.1.2: SerialNumber: 00E04C239987 2024-03-28 13:26:14.913 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761 2024-03-28 13:26:14.914 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: rom_version status=0 version=1 2024-03-28 13:26:14.923 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin 2024-03-28 13:26:14.924 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin 2024-03-28 13:26:14.927 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210 2024-03-28 13:26:15.022 RPI3Homeassistant systemd[1]: Starting Configure Bluetooth Modems connected by UART... 2024-03-28 13:26:15.106 RPI3Homeassistant systemd[1]: hciuart.service: Skipped due to 'exec-condition'. 2024-03-28 13:26:15.121 RPI3Homeassistant systemd[1]: Condition check resulted in Configure Bluetooth Modems connected by UART being skipped. 2024-03-28 13:26:15.130 RPI3Homeassistant systemd[1]: Starting Raspberry Pi bluetooth helper... 2024-03-28 13:26:15.143 RPI3Homeassistant systemd[1]: bthelper@hci0.service: Skipped due to 'exec-condition'. 2024-03-28 13:26:15.144 RPI3Homeassistant systemd[1]: Condition check resulted in Raspberry Pi bluetooth helper being skipped. 2024-03-28 13:26:17.036 RPI3Homeassistant kernel: Bluetooth: hci0: command 0xfc20 tx timeout 2024-03-28 13:26:25.228 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: download fw command failed (-110) 2024-03-28 13:26:25.229 RPI3Homeassistant kernel: 2024-03-28 13:26:25.230 RPI3Homeassistant kernel: WARN::dwc_otg_hcd_urb_dequeue:638: Timed out waiting for FSM NP transfer to complete on 5 2024-03-28 13:29:05.374 RPI3Homeassistant kernel: usb 1-1.1.2: USB disconnect, device number 9 2024-03-28 13:29:59.318 RPI3Homeassistant kernel: usb 1-1.1.2: new full-speed USB device number 10 using dwc_otg 2024-03-28 13:29:59.409 RPI3Homeassistant kernel: usb 1-1.1.2: New USB device found, idVendor=0bda, idProduct=8771, bcdDevice= 2.00 2024-03-28 13:29:59.413 RPI3Homeassistant kernel: usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 2024-03-28 13:29:59.420 RPI3Homeassistant kernel: usb 1-1.1.2: Product: Bluetooth Radio 2024-03-28 13:29:59.422 RPI3Homeassistant kernel: usb 1-1.1.2: Manufacturer: Realtek 2024-03-28 13:29:59.424 RPI3Homeassistant kernel: usb 1-1.1.2: SerialNumber: 00E04C239987 2024-03-28 13:29:59.427 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761 2024-03-28 13:29:59.427 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: rom_version status=0 version=1 2024-03-28 13:29:59.428 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin 2024-03-28 13:29:59.428 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin 2024-03-28 13:29:59.428 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210 2024-03-28 13:29:59.499 RPI3Homeassistant systemd[1]: Starting Configure Bluetooth Modems connected by UART... 2024-03-28 13:29:59.585 RPI3Homeassistant systemd[1]: hciuart.service: Skipped due to 'exec-condition'. 2024-03-28 13:29:59.586 RPI3Homeassistant systemd[1]: Condition check resulted in Configure Bluetooth Modems connected by UART being skipped. 2024-03-28 13:29:59.605 RPI3Homeassistant systemd[1]: Starting Raspberry Pi bluetooth helper... 2024-03-28 13:29:59.624 RPI3Homeassistant systemd[1]: bthelper@hci0.service: Skipped due to 'exec-condition'. 2024-03-28 13:29:59.626 RPI3Homeassistant systemd[1]: Condition check resulted in Raspberry Pi bluetooth helper being skipped. 2024-03-28 13:29:59.697 RPI3Homeassistant kernel: Bluetooth: hci0: RTL: fw version 0xdfc6d922 2024-03-28 13:29:59.891 RPI3Homeassistant kernel: Bluetooth: MGMT ver 1.22 2024-03-28 13:29:59.941 RPI3Homeassistant bluetoothd[443]: Battery Provider Manager created 2024-03-28 13:30:00.085 RPI3Homeassistant bluetoothd[443]: profiles/audio/bap.c:bap_adapter_probe() BAP requires ISO Socket which is not enabled 2024-03-28 13:30:00.086 RPI3Homeassistant bluetoothd[443]: bap: Operation not supported (95) 2024-03-28 13:30:00.105 RPI3Homeassistant bluetoothd[443]: Adv Monitor Manager created with supported features:0x00000000, enabled features:0x00000000, max number of supported monitors:32, max number of supported patterns:16 2024-03-28 13:30:00.241 RPI3Homeassistant bluetoothd[443]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSink/sbc 2024-03-28 13:30:00.242 RPI3Homeassistant bluetoothd[443]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSource/sbc 2024-03-28 13:30:00.242 RPI3Homeassistant bluetoothd[443]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSink/sbc_xq_453 2024-03-28 13:30:00.242 RPI3Homeassistant bluetoothd[443]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSource/sbc_xq_453 2024-03-28 13:30:00.243 RPI3Homeassistant bluetoothd[443]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSink/sbc_xq_512 2024-03-28 13:30:00.243 RPI3Homeassistant bluetoothd[443]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSource/sbc_xq_512 2024-03-28 13:30:00.244 RPI3Homeassistant bluetoothd[443]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSink/sbc_xq_552 2024-03-28 13:30:00.244 RPI3Homeassistant bluetoothd[443]: Endpoint registered: sender=:1.31 path=/MediaEndpoint/A2DPSource/sbc_xq_552

NightBlackCat commented 6 months ago

I'm also having this problem. It's a fresh install today, on Home Assistant Yellow.

Screenshot_20240405_233412_Home Assistant

dmartella commented 6 months ago

Same here.

Stooovie commented 5 months ago

Same in a Proxmox VM.

josefine-h commented 5 months ago

Same in HA-Core

Dubblbindong commented 5 months ago

Same on Raspi 5 with HA Running as Docker Container. Core Version: 2024.3.0

jheld commented 5 months ago

Same with Raspi 4 with HA OS using built-in bluetooth. was 12.2, and downgrading to 12.0 fixes it.

haraldhh commented 5 months ago

Good thing I noticed this. I just converted my HA Core to HA Supervised and it got upgraded ate the same. My bluetooth worked fine in Core 2024.2.1 but now on Supervised 2024.4.3 it doesn't.

Whatever I do the adapter is in "Failed Setup, will retry".

Edit: My host system (kvm host) was missing bluez. Installed bluez and HA Supervised now got Bluetooth working.

Noillek commented 5 months ago

Having the same issue, after last update, integrated RPi4 bt stopped working, bought a adapter and is also not recognized

patofoto commented 5 months ago

Same here. Running HA Yellow with a RPi CM4.

Noillek commented 5 months ago

Latest beta update fixed BT from RPi4... after I got an external dongle that never worked. But BT is working now.

bdraco commented 5 months ago

As we haven't heard back from the op in a while, and the other me too comments aren't providing any actionable information, I'm going to close this issue. If there is still a problem and its not an OS level problem (https://github.com/home-assistant/operating-system/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+bluetooth), please start a fresh issue with logs.

Also please check https://github.com/home-assistant/core/issues/92379 in case you have a kernel level issue.