Thanks — I managed to capture a complete DEBUG log now.
After removing and re-adding the Blue Connect device in Homey, the ESPHome proxy is again receiving the BLE connection requests.
The important part is that I can reproduce the issue consistently. There are several separate connection attempts to:
00:A0:50:D8:D4:9A
Each attempt starts normally with:
Connecting v3 without cache
Stopping scan to make connection
Promoting client to connect
Connecting
but eventually ends with:
ESP_GATTC_DISCONNECT_EVT, reason 0x100
ESP_GATTC_OPEN_EVT in DISCONNECTING state (status=133)
Connection open error, status=133
I also notice that the Homey ESPHome client at 192.168.1.172 disconnects/reconnects around some of these attempts, and the log still shows:
@2colors/esphome-native-api 1.3 using outdated API 0.0, update to 1.14+
Full log:
[08:43:00.503][C][api:269]: Server:
[08:43:00.503][C][api:269]: Address: bleproxy.local:6053
[08:43:00.503][C][api:269]: Listen backlog: 2
[08:43:00.503][C][api:269]: Max connections: 6
[08:43:00.504][C][api:276]: Noise encryption: YES
[08:43:00.577][C][mdns:259]: mDNS:
[08:43:00.577][C][mdns:259]: Hostname: bleproxy
[08:46:54.877][D][wifi:2474]: Roam scan (-53 dBm, attempt 1/3)
[08:47:37.393][D][api:253]: Accept 192.168.1.172
[08:47:37.490][W][api.connection:1751]: ‘@2colors/esphome-native-api 1.3’ using outdated API 0.0, update to 1.14+
[08:47:37.576][D][api.connection:2526]: @2colors/esphome-native-api 1.3 (192.168.1.172): connected
[08:47:47.312][D][api.connection:2526]: @2colors/esphome-native-api 1.3 (192.168.1.172): disconnected
[08:47:47.407][W][api.connection:2532]: @2colors/esphome-native-api 1.3 (192.168.1.172): Reading failed CONNECTION_CLOSED errno=128
[08:47:52.743][D][api:253]: Accept 192.168.1.172
[08:47:52.848][W][api.connection:1751]: ‘@2colors/esphome-native-api 1.3’ using outdated API 0.0, update to 1.14+
[08:47:52.849][D][api.connection:2526]: @2colors/esphome-native-api 1.3 (192.168.1.172): connected
[08:47:53.773][I][bluetooth_proxy:059]: [0] [00:A0:50:D8:D4:9A] Connecting v3 without cache
[08:47:53.789][D][esp32_ble_tracker:169]: connecting: 0, discovered: 1, disconnecting: 0, active: 0
[08:47:53.789][D][esp32_ble_tracker:909]: Stopping scan to make connection
[08:47:53.790][D][esp32_ble_tracker:917]: Promoting client to connect
[08:47:53.802][D][esp32_ble_tracker:953]: Setting coexistence to Bluetooth to make connection.
[08:47:53.803][I][esp32_ble_client:126]: [0] [00:A0:50:D8:D4:9A] 0x00 Connecting
[08:47:53.803][D][esp32_ble_client:232]: [0] [00:A0:50:D8:D4:9A] fast conn params
[08:47:53.851][D][esp32_ble_tracker:169]: connecting: 1, discovered: 0, disconnecting: 0, active: 0
[08:48:03.302][D][esp-idf:000][BTU_TASK]: W (382407) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:48:03.803][D][esp32_ble_client:157]: [0] [00:A0:50:D8:D4:9A] Disconnect before connected, disconnect scheduled
[08:48:05.831][D][esp-idf:000][BTU_TASK]: W (384926) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:48:07.082][D][esp-idf:000][BTU_TASK]: W (386187) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:48:08.330][D][esp-idf:000][BTU_TASK]: W (387436) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:48:08.823][D][esp32_ble_client:157]: [0] [00:A0:50:D8:D4:9A] Disconnect before connected, disconnect scheduled
[08:48:09.621][D][esp-idf:000][BTU_TASK]: W (388686) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:48:10.849][D][esp-idf:000][BTU_TASK]: W (389936) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:48:12.097][D][esp-idf:000][BTU_TASK]: W (391196) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:48:13.111][D][esp32_ble_client:380]: [0] [00:A0:50:D8:D4:9A] ESP_GATTC_DISCONNECT_EVT, reason 0x100
[08:48:13.111][D][bluetooth_proxy.connection:383]: [0] [00:A0:50:D8:D4:9A] Disconnect, reason=0x100
[08:48:13.114][D][esp32_ble_client:212]: [0] [00:A0:50:D8:D4:9A] ESP_GATTC_OPEN_EVT
[08:48:13.115][E][esp32_ble_client:325]: [0] [00:A0:50:D8:D4:9A] ESP_GATTC_OPEN_EVT in DISCONNECTING state (status=133)
[08:48:13.115][W][esp32_ble_client:224]: [0] [00:A0:50:D8:D4:9A] Connection open error, status=133
[08:48:13.115][D][esp32_ble_tracker:169]: connecting: 0, discovered: 0, disconnecting: 0, active: 0
[08:48:13.116][D][esp32_ble_tracker:957]: Setting coexistence preference to balanced.
[08:48:13.228][W][api.connection:2532]: @2colors/esphome-native-api 1.3 (): Packet write failed SOCKET_WRITE_FAILED errno=128
[08:48:13.228][D][api:253]: Accept 192.168.1.172
[08:48:13.332][W][api.connection:1751]: ‘@2colors/esphome-native-api 1.3’ using outdated API 0.0, update to 1.14+
[08:48:13.336][D][api.connection:2526]: @2colors/esphome-native-api 1.3 (192.168.1.172): connected
[08:48:14.148][I][bluetooth_proxy:059]: [0] [00:A0:50:D8:D4:9A] Connecting v3 without cache
[08:48:14.163][D][esp32_ble_tracker:169]: connecting: 0, discovered: 1, disconnecting: 0, active: 0
[08:48:14.163][D][esp32_ble_tracker:909]: Stopping scan to make connection
[08:48:14.163][D][esp32_ble_tracker:917]: Promoting client to connect
[08:48:14.175][D][esp32_ble_tracker:953]: Setting coexistence to Bluetooth to make connection.
[08:48:14.237][I][esp32_ble_client:126]: [0] [00:A0:50:D8:D4:9A] 0x00 Connecting
[08:48:14.238][D][esp32_ble_client:232]: [0] [00:A0:50:D8:D4:9A] fast conn params
[08:48:14.241][D][esp32_ble_tracker:169]: connecting: 1, discovered: 0, disconnecting: 0, active: 0
[08:48:24.182][D][esp32_ble_client:157]: [0] [00:A0:50:D8:D4:9A] Disconnect before connected, disconnect scheduled
[08:48:27.162][D][esp-idf:000][BTU_TASK]: W (406267) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:48:29.198][D][esp32_ble_client:157]: [0] [00:A0:50:D8:D4:9A] Disconnect before connected, disconnect scheduled
[08:48:34.197][D][esp32_ble_client:380]: [0] [00:A0:50:D8:D4:9A] ESP_GATTC_DISCONNECT_EVT, reason 0x100
[08:48:34.197][D][bluetooth_proxy.connection:383]: [0] [00:A0:50:D8:D4:9A] Disconnect, reason=0x100
[08:48:34.200][D][esp32_ble_client:212]: [0] [00:A0:50:D8:D4:9A] ESP_GATTC_OPEN_EVT
[08:48:34.200][E][esp32_ble_client:325]: [0] [00:A0:50:D8:D4:9A] ESP_GATTC_OPEN_EVT in DISCONNECTING state (status=133)
[08:48:34.200][W][esp32_ble_client:224]: [0] [00:A0:50:D8:D4:9A] Connection open error, status=133
[08:48:34.215][D][esp32_ble_tracker:169]: connecting: 0, discovered: 0, disconnecting: 0, active: 0
[08:48:34.215][D][esp32_ble_tracker:957]: Setting coexistence preference to balanced.
[08:48:35.036][W][api.connection:2532]: ESPHome Logs 2026.7.2 (): Reading failed SOCKET_READ_FAILED errno=128
[08:50:32.927][D][api.connection:2526]: @2colors/esphome-native-api 1.3 (192.168.1.172): disconnected
[08:50:33.010][W][api.connection:2532]: @2colors/esphome-native-api 1.3 (192.168.1.172): Reading failed CONNECTION_CLOSED errno=128
[08:50:33.010][D][api:253]: Accept 192.168.1.172
[08:50:33.108][W][api.connection:1751]: ‘@2colors/esphome-native-api 1.3’ using outdated API 0.0, update to 1.14+
[08:50:33.194][D][api.connection:2526]: @2colors/esphome-native-api 1.3 (192.168.1.172): connected
[08:50:34.029][I][bluetooth_proxy:059]: [0] [00:A0:50:D8:D4:9A] Connecting v3 without cache
[08:50:34.040][D][esp32_ble_tracker:169]: connecting: 0, discovered: 1, disconnecting: 0, active: 0
[08:50:34.040][D][esp32_ble_tracker:909]: Stopping scan to make connection
[08:50:34.047][D][esp32_ble_tracker:917]: Promoting client to connect
[08:50:34.048][D][esp32_ble_tracker:953]: Setting coexistence to Bluetooth to make connection.
[08:50:34.048][I][esp32_ble_client:126]: [0] [00:A0:50:D8:D4:9A] 0x00 Connecting
[08:50:34.048][D][esp32_ble_client:232]: [0] [00:A0:50:D8:D4:9A] fast conn params
[08:50:34.149][D][esp32_ble_tracker:169]: connecting: 1, discovered: 0, disconnecting: 0, active: 0
[08:50:39.033][D][esp-idf:000][BTU_TASK]: W (538038) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:40.191][D][esp-idf:000][BTU_TASK]: W (539297) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:41.492][D][esp-idf:000][BTU_TASK]: W (540547) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:42.720][D][esp-idf:000][BTU_TASK]: W (541797) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:45.200][D][esp-idf:000][BTU_TASK]: W (544307) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:47.736][D][esp-idf:000][BTU_TASK]: W (546817) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:48.965][D][esp-idf:000][BTU_TASK]: W (548067) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:50.220][D][esp-idf:000][BTU_TASK]: W (549328) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:51.526][D][esp-idf:000][BTU_TASK]: W (550577) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:52.757][D][esp-idf:000][BTU_TASK]: W (551837) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e dev_find 1
[08:50:53.780][D][esp32_ble_client:380]: [0] [00:A0:50:D8:D4:9A] ESP_GATTC_DISCONNECT_EVT, reason 0x100
[08:50:53.780][D][bluetooth_proxy.connection:383]: [0] [00:A0:50:D8:D4:9A] Disconnect, reason=0x100
[08:50:53.784][D][esp32_ble_client:212]: [0] [00:A0:50:D8:D4:9A] ESP_GATTC_OPEN_EVT
[08:50:53.785][E][esp32_ble_client:325]: [0] [00:A0:50:D8:D4:9A] ESP_GATTC_OPEN_EVT in DISCONNECTING state (status=133)
[08:50:53.785][W][esp32_ble_client:224]: [0] [00:A0:50:D8:D4:9A] Connection open error, status=133
[08:50:53.792][D][esp32_ble_tracker:169]: connecting: 0, discovered: 0, disconnecting: 0, active: 0
[08:50:53.793][D][esp32_ble_tracker:957]: Setting coexistence preference to balanced.