-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Description
The problem
The Integration is failing to setup
What version of Home Assistant Core has the issue?
core-2024.11.3
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
Husqvarna automower BLE
Link to integration documentation on our website
https://www.home-assistant.io/integrations/husqvarna_automower_ble
Diagnostics information
The Integration is trying to connect. but get a "auth fail reason = 0x52"
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: automower_ble.protocol
Source: components/husqvarna_automower_ble/__init__.py:37
First occurred: 02:01:30 (76 occurrences)
Last logged: 02:55:52
[Characteristic] 98bd0003-0b0e-421a-84e5-ddbf75dc6de4 (Handle: 14): Unknown (read,notify), Error: Bluetooth GATT Error address=60:98:66:ED:A6:13 handle=14 error=5 description=Insufficient authentication
Unable to get response from device: '60:98:66:ED:A6:13'
Logger: bleak_esphome.backend.client
Source: components/husqvarna_automower_ble/__init__.py:37
First occurred: 02:01:30 (38 occurrences)
Last logged: 02:55:37
proxy-ble-pool [A0:B7:65:F1:E0:D0]: Mowy - 60:98:66:ED:A6:13: Pairing failed due to error: 82
Logger: automower_ble.protocol
Source: components/husqvarna_automower_ble/config_flow.py:77
First occurred: 02:01:22 (2 occurrences)
Last logged: 02:01:29
[Characteristic] 98bd0003-0b0e-421a-84e5-ddbf75dc6de4 (Handle: 14): Unknown (read,notify), Error: Bluetooth GATT Error address=60:98:66:ED:A6:13 handle=14 error=5 description=Insufficient authentication
Logger: homeassistant.components.husqvarna_automower_ble
Source: components/husqvarna_automower_ble/config_flow.py:77
integration: Husqvarna Automower BLE (documentation, issues)
First occurred: 01:56:25 (2 occurrences)
Last logged: 01:58:47
Failed to connect to device: No backend with an available connection slot that can reach address None was found
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/husqvarna_automower_ble/config_flow.py", line 77, in async_step_confirm
(manufacturer, device_type, model) = await Mower(
^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/automower_ble/protocol.py", line 463, in probe_gatts
await client.connect()
File "/usr/local/lib/python3.12/site-packages/habluetooth/wrappers.py", line 286, in connect
wrapped_backend = self._async_get_best_available_backend_and_device(manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/habluetooth/wrappers.py", line 395, in _async_get_best_available_backend_and_device
raise BleakError(
bleak.exc.BleakError: No backend with an available connection slot that can reach address None was found
Additional information
ESPHome log
[02:50:41][C][api:140]: API Server:
[02:50:41][C][api:141]: Address: proxy-ble-pool.local:6053
[02:50:41][C][api:143]: Using noise encryption: YES
[02:51:39][I][bluetooth_proxy:287]: [0] [60:98:66:ED:A6:13] Connecting v3 without cache
[02:51:39][D][esp32_ble_tracker:222]: Pausing scan to make connection...
[02:51:39][I][esp32_ble_client:067]: [0] [60:98:66:ED:A6:13] 0x00 Attempting BLE connection
[02:51:40][D][esp-idf:000][BTU_TASK]: W (2876960) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_CONNECT_EVT
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_OPEN_EVT
[02:51:40][D][esp32_ble_tracker:273]: Starting scan...
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_SEARCH_CMPL_EVT
[02:51:40][I][esp32_ble_client:227]: [0] [60:98:66:ED:A6:13] Connected
[02:51:40][D][esp32_ble_client:188]: [0] [60:98:66:ED:A6:13] cfg_mtu status 0, mtu 65
[02:51:40][I][esp32_ble_client:333]: [0] [60:98:66:ED:A6:13] auth complete. remote BD_ADDR: 609866eda613
[02:51:40][E][esp32_ble_client:336]: [0] [60:98:66:ED:A6:13] auth fail reason = 0x52
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:51:40][W][bluetooth_proxy.connection:063]: [0] [60:98:66:ED:A6:13] Error reading char/descriptor at handle 0x E, status=5
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_REG_FOR_NOTIFY_EVT
[02:51:40][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_WRITE_DESCR_EVT
[02:51:40][W][bluetooth_proxy.connection:081]: [0] [60:98:66:ED:A6:13] Error writing char/descriptor at handle 0x F, status=5
[02:51:45][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_WRITE_CHAR_EVT
[02:51:45][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_WRITE_CHAR_EVT
[02:51:55][D][esp32_ble_client:306]: [0] [60:98:66:ED:A6:13] Event 39
[02:51:55][I][esp32_ble_client:084]: [0] [60:98:66:ED:A6:13] Disconnecting.
[02:51:55][D][esp-idf:000][BTU_TASK]: W (2892824) BT_BTM: btm_sec_clr_temp_auth_service() - no dev CB
[02:51:55][D][esp-idf:000][BTU_TASK]: W (2892834) BT_HCI: hci cmd send: disconnect: hdl 0x0, rsn:0x13
[02:51:55][D][esp-idf:000][BTU_TASK]: W (2892839) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x16
[02:51:55][D][esp-idf:000][BTU_TASK]: W (2892847) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x16
[02:51:55][D][esp-idf:000][BTU_TASK]: W (2892850) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x16
[02:51:55][D][esp-idf:000][BTU_TASK]: E (2892864) BT_BTM: Device not found
[02:51:55][D][esp-idf:000][BTU_TASK]: W (2892870) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x16
[02:51:55][D][esp-idf:000][BTU_TASK]: W (2892883) BT_APPL: bta_gattc_mark_bg_conn unable to find the bg connection mask for: 60:98:66:ed:a6:13
[02:52:01][I][bluetooth_proxy:287]: [0] [60:98:66:ED:A6:13] Connecting v3 without cache
[02:52:01][D][esp32_ble_tracker:222]: Pausing scan to make connection...
[02:52:01][I][esp32_ble_client:067]: [0] [60:98:66:ED:A6:13] 0x00 Attempting BLE connection
[02:52:01][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_CONNECT_EVT
[02:52:01][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_OPEN_EVT
[02:52:01][D][esp32_ble_tracker:273]: Starting scan...
[02:52:01][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_SEARCH_CMPL_EVT
[02:52:01][I][esp32_ble_client:227]: [0] [60:98:66:ED:A6:13] Connected
[02:52:01][D][esp32_ble_client:188]: [0] [60:98:66:ED:A6:13] cfg_mtu status 0, mtu 65
[02:52:01][I][esp32_ble_client:333]: [0] [60:98:66:ED:A6:13] auth complete. remote BD_ADDR: 609866eda613
[02:52:01][E][esp32_ble_client:336]: [0] [60:98:66:ED:A6:13] auth fail reason = 0x52
[02:52:01][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:52:01][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:52:01][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:52:01][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:52:01][W][bluetooth_proxy.connection:063]: [0] [60:98:66:ED:A6:13] Error reading char/descriptor at handle 0x E, status=5
[02:52:02][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_READ_CHAR_EVT
[02:52:02][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_REG_FOR_NOTIFY_EVT
[02:52:02][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_WRITE_DESCR_EVT
[02:52:02][W][bluetooth_proxy.connection:081]: [0] [60:98:66:ED:A6:13] Error writing char/descriptor at handle 0x F, status=5
[02:52:07][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_WRITE_CHAR_EVT
[02:52:07][D][esp32_ble_client:110]: [0] [60:98:66:ED:A6:13] ESP_GATTC_WRITE_CHAR_EVT