I am trying to set up a Yale Assure SL(with the IM1 module) as a HomeKit device with a bluetooth proxy.
It shows up in HA as a discovered device:
But when i hit configure, it eventually times out with:
The debug logs for bleak in HA are:
2024-09-13 12:07:30.057 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Connection attempt: 1
2024-09-13 12:07:41.033 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Failed to connect: Error ESP_GATT_CONN_TERMINATE_PEER_USER while connecting: Connection terminated by peer user, device_missing: False, backing off: 0.25 (attempt: 1, last rssi: None)
2024-09-13 12:07:41.284 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Connection attempt: 2
2024-09-13 12:07:51.960 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Failed to connect: Error ESP_GATT_CONN_TERMINATE_PEER_USER while connecting: Connection terminated by peer user, device_missing: False, backing off: 0.25 (attempt: 2, last rssi: None)
2024-09-13 12:07:52.211 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Connection attempt: 3
2024-09-13 12:08:02.499 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Failed to connect: Error ESP_GATT_CONN_TERMINATE_PEER_USER while connecting: Connection terminated by peer user, device_missing: False, backing off: 0.25 (attempt: 3, last rssi: None)
2024-09-13 12:08:02.751 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Connection attempt: 4
2024-09-13 12:08:13.038 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Failed to connect: Error ESP_GATT_CONN_TERMINATE_PEER_USER while connecting: Connection terminated by peer user, device_missing: False, backing off: 0.25 (attempt: 4, last rssi: None)
2024-09-13 12:08:13.289 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Connection attempt: 5
2024-09-13 12:08:23.511 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Failed to connect: Error ESP_GATT_CONN_TERMINATE_PEER_USER while connecting: Connection terminated by peer user, device_missing: False, backing off: 0.25 (attempt: 5, last rssi: None)
2024-09-13 12:08:23.762 DEBUG (MainThread) [bleak_retry_connector] Yale Lock (DE:B0:94:3B:97:3E) - DE:B0:94:3B:97:3E: Connection attempt: 6
ESP console logs:
[12:04:42][I][bluetooth_proxy:282]: [0] [DE:B0:94:3B:97:3E] Connecting v3 without cache
[12:04:42][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[12:04:42][I][esp32_ble_client:067]: [0] [DE:B0:94:3B:97:3E] 0x01 Attempting BLE connection
[12:04:43][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_CONNECT_EVT
[12:04:43][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_OPEN_EVT
[12:04:43][D][esp32_ble_tracker:270]: Starting scan...
[12:04:53][D][esp32_ble_client:172]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_DISCONNECT_EVT, reason 19
[12:04:54][D][esp32_ble_client:110]: [0] [] ESP_GATTC_CLOSE_EVT
[12:04:54][I][bluetooth_proxy:282]: [0] [DE:B0:94:3B:97:3E] Connecting v3 without cache
[12:04:54][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[12:04:54][I][esp32_ble_client:067]: [0] [DE:B0:94:3B:97:3E] 0x01 Attempting BLE connection
[12:04:54][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_CONNECT_EVT
[12:04:54][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_OPEN_EVT
[12:04:55][D][esp32_ble_tracker:270]: Starting scan...
[12:05:04][D][esp32_ble_client:172]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_DISCONNECT_EVT, reason 19
[12:05:04][D][esp32_ble_client:110]: [0] [] ESP_GATTC_CLOSE_EVT
[12:05:05][I][bluetooth_proxy:282]: [0] [DE:B0:94:3B:97:3E] Connecting v3 without cache
[12:05:05][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[12:05:05][I][esp32_ble_client:067]: [0] [DE:B0:94:3B:97:3E] 0x01 Attempting BLE connection
[12:05:09][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_CONNECT_EVT
[12:05:09][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_OPEN_EVT
[12:05:09][D][esp32_ble_tracker:270]: Starting scan...
[12:05:19][D][esp32_ble_client:172]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_DISCONNECT_EVT, reason 19
[12:05:19][D][esp32_ble_client:110]: [0] [] ESP_GATTC_CLOSE_EVT
[12:05:19][I][bluetooth_proxy:282]: [0] [DE:B0:94:3B:97:3E] Connecting v3 without cache
[12:05:19][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[12:05:19][I][esp32_ble_client:067]: [0] [DE:B0:94:3B:97:3E] 0x01 Attempting BLE connection
[12:05:23][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_CONNECT_EVT
[12:05:23][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_OPEN_EVT
[12:05:23][D][esp32_ble_tracker:270]: Starting scan...
[12:05:33][D][esp32_ble_client:172]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_DISCONNECT_EVT, reason 19
[12:05:33][D][esp32_ble_client:110]: [0] [] ESP_GATTC_CLOSE_EVT
[12:05:33][I][bluetooth_proxy:282]: [0] [DE:B0:94:3B:97:3E] Connecting v3 without cache
[12:05:33][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[12:05:33][I][esp32_ble_client:067]: [0] [DE:B0:94:3B:97:3E] 0x01 Attempting BLE connection
[12:05:37][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_CONNECT_EVT
[12:05:37][D][esp32_ble_client:110]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_OPEN_EVT
[12:05:37][D][esp32_ble_tracker:270]: Starting scan...
[12:05:47][D][esp32_ble_client:172]: [0] [DE:B0:94:3B:97:3E] ESP_GATTC_DISCONNECT_EVT, reason 19
[12:05:47][D][esp32_ble_client:110]: [0] [] ESP_GATTC_CLOSE_EVT
I have removed the lock from my Apple Home and the Yale app. I have also tried factory resetting it and setting it up from scratch.
No firmware updates are available for the lock in the Yale app.
Just to rule out a firmware/homekit issue, I have successfully added the device to my Apple Home directly and it works flawlessly.
Homeassistant is 2024.9.0 (supevisor mode)
ESPHome is 2024.8.3
Any ideas?