That’ll do. Will fix it and create a PR sometime this weekend.
@sidjohn1 All DP3 sensors should work now, try version v0.10.0-pre2 from my fork and let me know if there are any problems.
v0.10.0-pre2 looks good for DP3, switches work and reporting looks correct.
On the Delta 3:
I have a D3 1500, it’s detected but when I try to add it I get the error “Could not connect to device, exceeded maximum tries”. It looks like it starts the connection but something in the exchange may not be happy. I did a lot reset on the device in the hopes it would help and no love.
2025-04-05 16:30:21.354 DEBUG (MainThread) [custom_components.ef_ble.config_flow] Confirm discovery: EF-D30753, {'user_id': 'myactualuserid', 'login': {'email': '', 'password': ''}, 'address': 'EF-D30753 (E4:B3:23:96:4C:82)'}
2025-04-05 16:30:21.355 INFO (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Reconnecting to device
2025-04-05 16:30:21.766 INFO (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Connected
2025-04-05 16:30:21.766 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: MTU: 500
2025-04-05 16:30:21.766 INFO (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Init completed, starting auth routine...
2025-04-05 16:30:21.766 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: initBleSessionKey: Pub key exchange
2025-04-05 16:30:21.769 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Sending: '5a5a00012c0001000632922ae9cae9bfe69726a497e6962e3f6d74652f75f203706aa2dd73c171266d5ce3b074af0e8e1637'
2025-04-05 16:30:21.972 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: parseSimple: Data: '5a5a00012d000100000b205476de60975a46730ab629c31e97cdb907c26db2e374ec717a09eabe3612764b5ff6f676a993f916'
2025-04-05 16:30:21.976 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: getKeyInfoReq: Receiving session key
2025-04-05 16:30:21.977 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Sending: '5a5a000103000286c2'
2025-04-05 16:30:22.210 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: parseSimple: Data: '5a5a0001230002c2307a94b7ccc5880cf7b181343049f25a2752430bed5d73ce878d7816e0dc871b3b'
2025-04-05 16:30:22.211 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: getKeyInfoReq: Receiving auth status
2025-04-05 16:30:22.211 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Sending packet: Packet(0x21, 0x35, 0x35, 0x89, bytes.fromhex(''), 0x01, 0x01, 0x03, b'\x00\x00\x00\x00', 0x00)
2025-04-05 16:30:22.213 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Sending: '5a5a10012200959035ef29eb0eb6e81a12040af6670508b11a4abecfb8a2a895f41dea5d754ba9c3'
2025-04-05 16:30:31.717 WARNING (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Disconnected from device
2025-04-05 16:30:31.718 WARNING (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Reconnecting to the device in 10 seconds...
2025-04-05 16:30:41.720 INFO (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Reconnecting to device
2025-04-05 16:30:41.919 INFO (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Disconnecting from device
2025-04-05 16:30:41.979 INFO (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Connected
2025-04-05 16:30:41.979 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: MTU: 500
2025-04-05 16:30:41.979 INFO (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Init completed, starting auth routine...
2025-04-05 16:30:41.979 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: initBleSessionKey: Pub key exchange
2025-04-05 16:30:41.981 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Sending: '5a5a00012c000100dc9af1202662bc599d7bbde27b2498e150b5a05a2b0455fb7bcaef260a8b155f9a1a60f30113a848308f'
2025-04-05 16:30:42.249 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: parseSimple: Data: '5a5a00012d00010000af15478a5eb8ac542271b3948167a055699bd02e7518268da8f43fa356949bd26d7203c6413689d9a01e'
2025-04-05 16:30:42.252 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: getKeyInfoReq: Receiving session key
2025-04-05 16:30:42.253 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Sending: '5a5a000103000286c2'
2025-04-05 16:30:42.453 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: parseSimple: Data: '5a5a0001230002057060e9201a6aaabbb6dbddc19ad3b30b63650dab24bfa794380a9a3abae832007e'
2025-04-05 16:30:42.454 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: getKeyInfoReq: Receiving auth status
2025-04-05 16:30:42.454 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Sending packet: Packet(0x21, 0x35, 0x35, 0x89, bytes.fromhex(''), 0x01, 0x01, 0x03, b'\x00\x00\x00\x00', 0x00)
2025-04-05 16:30:42.455 DEBUG (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Sending: '5a5a100122006b7428b67678643cd5154e0ded8fd5a4c15e8aecaea8d0640b8fb1f2581c648b14af'
2025-04-05 16:29:44.090 WARNING (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Disconnected from device
2025-04-05 16:29:44.091 WARNING (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Reconnecting to the device in 10 seconds...
2025-04-05 16:29:54.625 WARNING (MainThread) [custom_components.ef_ble.eflib.connection] E4:B3:23:96:4C:82: Disconnected from device
@Rabit or @GnoX,
Have either of you had a chance to review the logs from the D3 1500 to see why it’s not joining. If there is anything else i can provide to help, just let me know.
Hey, sorry for the late response. During my testing, timeouts did happen but were not super common, the device just doesn’t want to respond sometimes. For me though, it always worked on first or second retry. I assume you already tried to reload the integration and/or restart HA? You can maybe try to temporarily disable integration for your other devices temporarily, add D3 and reenable them.
oh yeah several times
I tried this and it did not allow me to add the D3… though it did reduce the noise in my logs. Below is what I see in the BT proxy logs when I try to add the D3 and I’d like another set of eyes to confirm. I don’t think the issue is with this integration but maybe the bt proxy is not confirming the writes from the D3 and its closing the connection. I’m very new to troubleshooting bluetooth so, am I on track here or WAY off base?
Also do you have a buy me a coffee / beer link? I really appreciate all your help.
[19:25:45][I][bluetooth_proxy:286]: [0] [AB:CD:EF:AB:CD:EF] Connecting v3 without cache
[19:25:45][D][esp32_ble_tracker:115]: connecting: 0, discovered: 1, searching: 0, disconnecting: 0
[19:25:45][D][esp32_ble_tracker:231]: Pausing scan to make connection...
[19:25:45][I][esp32_ble_client:110]: [0] [AB:CD:EF:AB:CD:EF] 0x00 Attempting BLE connection
[19:25:45][D][esp32_ble_tracker:115]: connecting: 1, discovered: 0, searching: 0, disconnecting: 0
[19:25:45][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_CONNECT_EVT
[19:25:45][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_OPEN_EVT
[19:25:45][D][esp32_ble_tracker:115]: connecting: 0, discovered: 0, searching: 0, disconnecting: 0
[19:25:45][D][esp32_ble_tracker:282]: Starting scan...
[19:25:45][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_SEARCH_CMPL_EVT
[19:25:45][I][esp32_ble_client:337]: [0] [AB:CD:EF:AB:CD:EF] Connected
[19:25:45][D][esp32_ble_client:296]: [0] [AB:CD:EF:AB:CD:EF] cfg_mtu status 0, mtu 500
[19:25:45][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:25:45][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:25:45][I][esp32_ble_client:147]: [0] [AB:CD:EF:AB:CD:EF] Disconnecting (conn_id: 0).
[19:25:45][D][esp32_ble_tracker:115]: connecting: 0, discovered: 0, searching: 0, disconnecting: 1
[19:25:45][D][esp-idf:000][BTU_TASK]: W (37492091) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x16
[19:25:45][D][esp-idf:000][BTU_TASK]: W (37492095) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x16
[19:25:45][D][esp-idf:000][BTU_TASK]: W (37492099) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x16
[19:25:45][D][esp-idf:000][BTU_TASK]: W (37492112) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x16
[19:25:45][D][esp32_ble_tracker:115]: connecting: 0, discovered: 0, searching: 0, disconnecting: 0
[19:30:20][I][bluetooth_proxy:286]: [0] [AB:CD:EF:AB:CD:EF] Connecting v3 without cache
[19:30:20][D][esp32_ble_tracker:115]: connecting: 0, discovered: 1, searching: 0, disconnecting: 0
[19:30:20][D][esp32_ble_tracker:231]: Pausing scan to make connection...
[19:30:20][I][esp32_ble_client:110]: [0] [AB:CD:EF:AB:CD:EF] 0x00 Attempting BLE connection
[19:30:20][D][esp32_ble_tracker:115]: connecting: 1, discovered: 0, searching: 0, disconnecting: 0
[19:30:20][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_CONNECT_EVT
[19:30:20][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_OPEN_EVT
[19:30:20][D][esp32_ble_tracker:115]: connecting: 0, discovered: 0, searching: 0, disconnecting: 0
[19:30:20][D][esp32_ble_tracker:282]: Starting scan...
[19:30:20][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_SEARCH_CMPL_EVT
[19:30:20][I][esp32_ble_client:337]: [0] [AB:CD:EF:AB:CD:EF] Connected
[19:30:20][D][esp32_ble_client:296]: [0] [AB:CD:EF:AB:CD:EF] cfg_mtu status 0, mtu 500
[19:30:20][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:30:20][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:30:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:30:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_NOTIFY_EVT
[19:30:21][D][esp32_ble_client:416]: [0] [AB:CD:EF:AB:CD:EF] Event 39
[19:30:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:30:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:30:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_NOTIFY_EVT
[19:30:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:30:21][D][esp32_ble_client:416]: [0] [AB:CD:EF:AB:CD:EF] Event 39
[19:30:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:30:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:30:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:30:30][D][esp-idf:000][BTU_TASK]: W (37776814) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x13
[19:30:30][D][esp-idf:000][BTU_TASK]: W (37776818) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x13
[19:30:30][D][esp-idf:000][BTU_TASK]: W (37776820) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x13
[19:30:30][D][esp-idf:000][BTU_TASK]: W (37776823) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x13
[19:30:30][D][esp32_ble_client:280]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_DISCONNECT_EVT, reason 19
[19:30:30][D][esp32_ble_client:191]: [0] [] ESP_GATTC_CLOSE_EVT
[19:30:40][I][bluetooth_proxy:286]: [0] [AB:CD:EF:AB:CD:EF] Connecting v3 without cache
[19:30:40][D][esp32_ble_tracker:115]: connecting: 0, discovered: 1, searching: 0, disconnecting: 0
[19:30:40][D][esp32_ble_tracker:231]: Pausing scan to make connection...
[19:30:40][I][esp32_ble_client:110]: [0] [AB:CD:EF:AB:CD:EF] 0x00 Attempting BLE connection
[19:30:40][D][esp32_ble_tracker:115]: connecting: 1, discovered: 0, searching: 0, disconnecting: 0
[19:30:41][D][esp-idf:000][BTU_TASK]: W (37787220) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e
[19:30:41][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_CONNECT_EVT
[19:30:41][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_OPEN_EVT
[19:30:41][D][esp32_ble_tracker:115]: connecting: 0, discovered: 0, searching: 0, disconnecting: 0
[19:30:41][D][esp32_ble_tracker:282]: Starting scan...
[19:30:41][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_SEARCH_CMPL_EVT
[19:30:41][I][esp32_ble_client:337]: [0] [AB:CD:EF:AB:CD:EF] Connected
[19:30:41][D][esp32_ble_client:296]: [0] [AB:CD:EF:AB:CD:EF] cfg_mtu status 0, mtu 500
[19:30:41][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:30:41][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:30:41][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:30:41][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_NOTIFY_EVT
[19:30:41][D][esp32_ble_client:416]: [0] [AB:CD:EF:AB:CD:EF] Event 39
[19:30:41][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:30:42][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:30:42][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_NOTIFY_EVT
[19:30:42][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:30:42][D][esp32_ble_client:416]: [0] [AB:CD:EF:AB:CD:EF] Event 39
[19:30:42][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:30:42][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:30:42][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:30:51][D][esp-idf:000][BTU_TASK]: W (37797284) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x13
[19:30:51][D][esp-idf:000][BTU_TASK]: W (37797290) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x13
[19:30:51][D][esp-idf:000][BTU_TASK]: W (37797292) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x13
[19:30:51][D][esp-idf:000][BTU_TASK]: W (37797296) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x13
[19:30:51][D][esp32_ble_client:280]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_DISCONNECT_EVT, reason 19
[19:30:51][D][esp32_ble_client:191]: [0] [] ESP_GATTC_CLOSE_EVT
[19:31:01][I][bluetooth_proxy:286]: [0] [AB:CD:EF:AB:CD:EF] Connecting v3 without cache
[19:31:01][D][esp32_ble_tracker:115]: connecting: 0, discovered: 1, searching: 0, disconnecting: 0
[19:31:01][D][esp32_ble_tracker:231]: Pausing scan to make connection...
[19:31:01][I][esp32_ble_client:110]: [0] [AB:CD:EF:AB:CD:EF] 0x00 Attempting BLE connection
[19:31:01][D][esp32_ble_tracker:115]: connecting: 1, discovered: 0, searching: 0, disconnecting: 0
[19:31:01][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_CONNECT_EVT
[19:31:01][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_OPEN_EVT
[19:31:01][D][esp32_ble_tracker:115]: connecting: 0, discovered: 0, searching: 0, disconnecting: 0
[19:31:01][D][esp32_ble_tracker:282]: Starting scan...
[19:31:01][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_SEARCH_CMPL_EVT
[19:31:01][I][esp32_ble_client:337]: [0] [AB:CD:EF:AB:CD:EF] Connected
[19:31:01][D][esp32_ble_client:296]: [0] [AB:CD:EF:AB:CD:EF] cfg_mtu status 0, mtu 500
[19:31:01][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:31:01][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:31:01][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_NOTIFY_EVT
[19:31:01][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:31:01][D][esp32_ble_client:416]: [0] [AB:CD:EF:AB:CD:EF] Event 39
[19:31:01][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:31:02][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:31:02][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_NOTIFY_EVT
[19:31:02][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:31:02][D][esp32_ble_client:416]: [0] [AB:CD:EF:AB:CD:EF] Event 39
[19:31:02][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:31:02][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:31:02][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:31:11][D][esp-idf:000][BTU_TASK]: W (37817570) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x13
[19:31:11][D][esp-idf:000][BTU_TASK]: W (37817575) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x13
[19:31:11][D][esp-idf:000][BTU_TASK]: W (37817580) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x13
[19:31:11][D][esp-idf:000][BTU_TASK]: W (37817586) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x13
[19:31:11][D][esp32_ble_client:280]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_DISCONNECT_EVT, reason 19
[19:31:11][D][esp32_ble_client:191]: [0] [] ESP_GATTC_CLOSE_EVT
[19:31:21][I][bluetooth_proxy:286]: [0] [AB:CD:EF:AB:CD:EF] Connecting v3 without cache
[19:31:21][D][esp32_ble_tracker:115]: connecting: 0, discovered: 1, searching: 0, disconnecting: 0
[19:31:21][D][esp32_ble_tracker:231]: Pausing scan to make connection...
[19:31:21][D][esp32_ble_tracker:231]: Pausing scan to make connection...
[19:31:21][D][esp-idf:000][BTU_TASK]: E (37827652) BT_BTM: BTM_BleScan scan not active
[19:31:21][D][esp-idf:000][BTU_TASK]: W (37827657) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
[19:31:21][I][esp32_ble_client:110]: [0] [AB:CD:EF:AB:CD:EF] 0x00 Attempting BLE connection
[19:31:21][D][esp32_ble_tracker:115]: connecting: 1, discovered: 0, searching: 0, disconnecting: 0
[19:31:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_CONNECT_EVT
[19:31:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_OPEN_EVT
[19:31:21][D][esp32_ble_tracker:115]: connecting: 0, discovered: 0, searching: 0, disconnecting: 0
[19:31:21][D][esp32_ble_tracker:282]: Starting scan...
[19:31:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_SEARCH_CMPL_EVT
[19:31:21][I][esp32_ble_client:337]: [0] [AB:CD:EF:AB:CD:EF] Connected
[19:31:21][D][esp32_ble_client:296]: [0] [AB:CD:EF:AB:CD:EF] cfg_mtu status 0, mtu 500
[19:31:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:31:21][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:31:22][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_NOTIFY_EVT
[19:31:22][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:31:22][D][esp32_ble_client:416]: [0] [AB:CD:EF:AB:CD:EF] Event 39
[19:31:22][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:31:22][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:31:22][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_NOTIFY_EVT
[19:31:22][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:31:22][D][esp32_ble_client:416]: [0] [AB:CD:EF:AB:CD:EF] Event 39
[19:31:22][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_REG_FOR_NOTIFY_EVT
[19:31:22][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_DESCR_EVT
[19:31:23][D][esp32_ble_client:191]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_WRITE_CHAR_EVT
[19:31:31][D][esp-idf:000][BTU_TASK]: W (37837850) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x13
[19:31:31][D][esp-idf:000][BTU_TASK]: W (37837854) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x13
[19:31:31][D][esp-idf:000][BTU_TASK]: W (37837855) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x13
[19:31:31][D][esp-idf:000][BTU_TASK]: W (37837862) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x13
[19:31:31][D][esp32_ble_client:280]: [0] [AB:CD:EF:AB:CD:EF] ESP_GATTC_DISCONNECT_EVT, reason 19
[19:31:31][D][esp32_ble_client:191]: [0] [] ESP_GATTC_CLOSE_EVT
I’m very new to troubleshooting bluetooth
Unfortunately, so am I. I’m not sure where to even start with debugging so without being able to reproduce it myself, I’m afraid I won’t be able to help. I tried increasing number of retries and increased timeout, try Release v0.11.0-pre1 · GnoX/ha-ef-ble · GitHub to see if this helps.
Also do you have a buy me a coffee / beer link?
I appreciate the sentiment, but I do this because I enjoy it so I don’t really lack motivation :). I would also feel bad since @Rabit did all the hard work - adding more devices was the easy part.
Hi @GnoX & @sidjohn1 the only thing I could propose is to check out the wiki page FAQ I recently created - it talks a bit about the communication issues and the ways to solve them: Home · rabits/ha-ef-ble Wiki · GitHub