Using 'COM3' as serial port. Showing logs: [13:50:46][I][ble_client:041]: [E1:3B:67:5D:D6:45] Disabling BLE client. [13:50:46][D][esp-idf:000]: W (40577) BT_HCI: hci cmd send: disconnect: hdl 0x0, rsn:0x13 [13:50:46] [13:50:46][D][esp-idf:000]: W (40581) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x16 [13:50:46] [13:50:46][D][esp-idf:000]: W (40581) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x16 [13:50:46] [13:50:46][D][esp-idf:000]: W (40619) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x16 [13:50:46] [13:51:03][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:51:03][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:51:03][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:51:03]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:03][D][esp-idf:000]: W (57565) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:03] [13:51:03]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:03][D][esp-idf:000]: W (57835) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:03] [13:51:04]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:04][D][esp-idf:000]: W (58132) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:04] [13:51:04]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:04][D][esp-idf:000]: W (58421) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:04] [13:51:04][D][esp-idf:000]: W (58423) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x3e [13:51:04] [13:51:04][D][esp-idf:000]: W (58423) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x3e [13:51:04] [13:51:04][W][esp32_ble_client:134]: [1] [F6:ED:29:9D:03:68] Connection failed, status=133 [13:51:04][D][esp32_ble_tracker:246]: Starting scan... [13:51:05][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:51:05][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:51:05][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:51:05]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:05][D][esp-idf:000]: W (59273) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:05] [13:51:05]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:05][D][esp-idf:000]: W (59452) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:05] [13:51:05]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:05][D][esp-idf:000]: W (59741) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:05] [13:51:05]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:05][D][esp-idf:000]: W (59846) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:05] [13:51:05][D][esp-idf:000]: W (59848) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x3e [13:51:05] [13:51:05][D][esp-idf:000]: W (59848) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x3e [13:51:05] [13:51:05][W][esp32_ble_client:134]: [1] [F6:ED:29:9D:03:68] Connection failed, status=133 [13:51:05][D][esp32_ble_tracker:246]: Starting scan... [13:51:08][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:51:08][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:51:08][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:51:08]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:08][D][esp-idf:000]: W (62395) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:08] [13:51:08]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:08][D][esp-idf:000]: W (62513) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:08] [13:51:08]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:08][D][esp-idf:000]: W (62906) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:08] [13:51:09]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:09][D][esp-idf:000]: W (63190) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:09] [13:51:09][D][esp-idf:000]: W (63192) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x3e [13:51:09] [13:51:09][D][esp-idf:000]: W (63193) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x3e [13:51:09] [13:51:09][W][esp32_ble_client:134]: [1] [F6:ED:29:9D:03:68] Connection failed, status=133 [13:51:09][D][esp32_ble_tracker:246]: Starting scan... [13:51:10][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:51:10][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:51:10][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:51:11]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:11][D][esp-idf:000]: W (64990) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:11] [13:51:11]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:11][D][esp-idf:000]: W (65395) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:11] [13:51:12]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:51:12][D][esp-idf:000]: W (65993) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:51:12] [13:51:12][D][esp-idf:000]: E (66202) BT_BTM: btm_ble_remove_resolving_list_entry_complete remove resolving list error 0x2 [13:51:12] [13:51:12][D][esp-idf:000]: E (66204) BT_APPL: earlier enc was not done for same device [13:51:12] [13:51:12] [13:51:12][I][esp32_ble_client:265]: [1] [F6:ED:29:9D:03:68] auth complete. remote BD_ADDR: f6ed299d0368 [13:51:13][I][esp32_ble_client:196]: [1] [F6:ED:29:9D:03:68] Connected [13:51:13][D][vport_ble:049]: Discovering complete [13:51:13][D][esp32_ble_tracker:246]: Starting scan... [13:51:13][W][esp32_ble_client:215]: [1] [F6:ED:29:9D:03:68] esp_ble_gattc_get_descr_by_char_handle error, status=10 [13:51:42][D][esp32_ble_client:048]: [0] [E1:3B:67:5D:D6:45] Found device [13:51:42][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:51:42][I][esp32_ble_client:064]: [0] [E1:3B:67:5D:D6:45] 0x01 Attempting BLE connection [13:51:42][D][esp-idf:000]: E (96590) BT_APPL: earlier enc was not done for same device [13:51:42] [13:51:42] [13:51:42][D][esp-idf:000]: E (96593) BT_BTM: btm_ble_remove_resolving_list_entry_complete remove resolving list error 0x2 [13:51:42] [13:51:43][I][esp32_ble_client:265]: [0] [E1:3B:67:5D:D6:45] auth complete. remote BD_ADDR: e13b675dd645 [13:51:43][I][esp32_ble_client:196]: [0] [E1:3B:67:5D:D6:45] Connected [13:51:43][D][vport_ble:049]: Discovering complete [13:51:43][D][esp32_ble_tracker:246]: Starting scan... [13:51:43][W][esp32_ble_client:215]: [0] [E1:3B:67:5D:D6:45] esp_ble_gattc_get_descr_by_char_handle error, status=10 [13:53:58][D][api:102]: Accepted 192.168.249.40 [13:53:58][W][api.connection:071]: 192.168.249.40: Socket operation failed: BAD_INDICATOR errno=11 [13:54:12][D][api:102]: Accepted 192.168.249.40 [13:54:13][W][api.connection:083]: aioesphomeapi (192.168.249.40): Connection closed [13:54:13][D][api:102]: Accepted 192.168.249.40 [13:54:13][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.249.40): Connected successfully [13:54:43][D][climate:010]: 'Tion Lite Childroom' - Setting [13:54:43][D][climate:014]: Mode: FAN_ONLY [13:54:43][D][tion:069]: Set mode 4 [13:54:43][D][climate:392]: 'Tion Lite Childroom' - Sending state: [13:54:43][D][climate:395]: Mode: FAN_ONLY [13:54:43][D][climate:397]: Action: OFF [13:54:43][D][climate:403]: Custom Fan Mode: 2 [13:54:43][D][climate:415]: Current Temperature: 23.00°C [13:54:43][D][climate:421]: Target Temperature: 10.00°C [13:54:56][D][climate:010]: 'Tion Lite Childroom' - Setting [13:54:56][D][climate:039]: Target Temperature: 0.00 [13:54:56][D][tion:099]: Set target temperature 10.000000 [13:54:56][D][climate:392]: 'Tion Lite Childroom' - Sending state: [13:54:56][D][climate:395]: Mode: FAN_ONLY [13:54:56][D][climate:397]: Action: OFF [13:54:56][D][climate:403]: Custom Fan Mode: 2 [13:54:56][D][climate:406]: Preset: NONE [13:54:56][D][climate:415]: Current Temperature: 23.00°C [13:54:56][D][climate:421]: Target Temperature: 0.00°C [13:55:06][I][ota:113]: Boot seems successful, resetting boot loop counter. [13:55:06][D][esp32.preferences:113]: Saving 1 preferences to flash... [13:55:06][D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed [13:56:43][D][esp32_ble_tracker:246]: Starting scan... [13:56:54][D][climate:010]: 'Tion Lite Bedroom' - Setting [13:56:54][D][climate:014]: Mode: OFF [13:56:54][D][tion:069]: Set mode 0 [13:56:54][D][climate:392]: 'Tion Lite Bedroom' - Sending state: [13:56:54][D][climate:395]: Mode: OFF [13:56:54][D][climate:397]: Action: FAN [13:56:54][D][climate:403]: Custom Fan Mode: 3 [13:56:54][D][climate:415]: Current Temperature: 17.00°C [13:56:54][D][climate:421]: Target Temperature: 0.00°C [13:58:02][D][esp-idf:000]: W (476829) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x22 [13:58:02] [13:58:02][D][esp-idf:000]: W (476831) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x22 [13:58:02] [13:58:02][D][esp-idf:000]: W (476831) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x22 [13:58:02] [13:58:11][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:58:11][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:58:11][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:58:11]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:11][D][esp-idf:000]: W (485818) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:11] [13:58:11]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:11][D][esp-idf:000]: W (485920) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:11] [13:58:13]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:13][D][esp-idf:000]: W (487169) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:13] [13:58:13]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:13][D][esp-idf:000]: W (487275) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:13] [13:58:13][D][esp-idf:000]: W (487276) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x3e [13:58:13] [13:58:13][D][esp-idf:000]: W (487277) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x3e [13:58:13] [13:58:13][W][esp32_ble_client:134]: [1] [F6:ED:29:9D:03:68] Connection failed, status=133 [13:58:13][D][esp32_ble_tracker:246]: Starting scan... [13:58:17][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:58:17][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:58:17][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:58:17]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:17][D][esp-idf:000]: W (491744) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:17] [13:58:18]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:18][D][esp-idf:000]: W (492434) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:18] [13:58:18]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:18][D][esp-idf:000]: W (492658) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:18] [13:58:19]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:19][D][esp-idf:000]: W (493601) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:19] [13:58:19][D][esp-idf:000]: W (493605) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x3e [13:58:19] [13:58:19][D][esp-idf:000]: W (493606) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x3e [13:58:19] [13:58:19][W][esp32_ble_client:134]: [1] [F6:ED:29:9D:03:68] Connection failed, status=133 [13:58:19][D][esp32_ble_tracker:246]: Starting scan... [13:58:20][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:58:20][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:58:20][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:58:20]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:20][D][esp-idf:000]: W (494848) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:20] [13:58:22]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:22][D][esp-idf:000]: W (496634) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:22] [13:58:22]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:22][D][esp-idf:000]: W (496737) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:22] [13:58:23]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:23][D][esp-idf:000]: W (496960) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:23] [13:58:23][D][esp-idf:000]: W (496962) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x3e [13:58:23] [13:58:23][D][esp-idf:000]: W (496962) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x3e [13:58:23] [13:58:23][W][esp32_ble_client:134]: [1] [F6:ED:29:9D:03:68] Connection failed, status=133 [13:58:23][D][esp32_ble_tracker:246]: Starting scan... [13:58:24][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:58:24][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:58:24][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:58:24]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:24][D][esp-idf:000]: W (498105) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:24] [13:58:24]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:24][D][esp-idf:000]: W (498580) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:24] [13:58:24]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:24][D][esp-idf:000]: W (498687) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:24] [13:58:24]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:24][D][esp-idf:000]: W (498794) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:24] [13:58:24][D][esp-idf:000]: W (498796) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x3e [13:58:24] [13:58:24][D][esp-idf:000]: W (498797) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x3e [13:58:24] [13:58:24][W][esp32_ble_client:134]: [1] [F6:ED:29:9D:03:68] Connection failed, status=133 [13:58:24][D][esp32_ble_tracker:246]: Starting scan... [13:58:25][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:58:25][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:58:25][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:58:25]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:25][D][esp-idf:000]: W (499361) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:25] [13:58:25]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:25][D][esp-idf:000]: W (499480) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:25] [13:58:25]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:25][D][esp-idf:000]: W (499769) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:25] [13:58:25]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:25][D][esp-idf:000]: W (499874) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:25] [13:58:25][D][esp-idf:000]: W (499876) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x3e [13:58:25] [13:58:25][D][esp-idf:000]: W (499877) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x3e [13:58:25] [13:58:25][W][esp32_ble_client:134]: [1] [F6:ED:29:9D:03:68] Connection failed, status=133 [13:58:25][D][esp32_ble_tracker:246]: Starting scan... [13:58:27][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:58:27][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:58:27][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:58:28]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:28][D][esp-idf:000]: W (502630) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x8 [13:58:28] [13:58:28][D][esp-idf:000]: W (502632) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x8 [13:58:28] [13:58:28][D][esp-idf:000]: W (502633) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x8 [13:58:28] [13:58:28][W][esp32_ble_client:134]: [1] [F6:ED:29:9D:03:68] Connection failed, status=133 [13:58:28][D][esp32_ble_tracker:246]: Starting scan... [13:58:36][D][esp32_ble_client:048]: [1] [F6:ED:29:9D:03:68] Found device [13:58:36][D][esp32_ble_tracker:214]: Pausing scan to make connection... [13:58:36][I][esp32_ble_client:064]: [1] [F6:ED:29:9D:03:68] 0x01 Attempting BLE connection [13:58:36]lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1) [13:58:36][D][esp-idf:000]: W (510537) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e [13:58:36] [13:58:36][D][esp-idf:000]: E (510843) BT_BTM: btm_ble_remove_resolving_list_entry_complete remove resolving list error 0x2 [13:58:36] [13:58:36][D][esp-idf:000]: E (510844) BT_APPL: earlier enc was not done for same device [13:58:36] [13:58:36] [13:58:37][I][esp32_ble_client:265]: [1] [F6:ED:29:9D:03:68] auth complete. remote BD_ADDR: f6ed299d0368 [13:58:39][I][esp32_ble_client:196]: [1] [F6:ED:29:9D:03:68] Connected [13:58:39][D][vport_ble:049]: Discovering complete [13:58:39][D][esp32_ble_tracker:246]: Starting scan... [13:58:39][W][esp32_ble_client:215]: [1] [F6:ED:29:9D:03:68] esp_ble_gattc_get_descr_by_char_handle error, status=10 [14:03:39][D][esp32_ble_tracker:246]: Starting scan... [14:08:39][D][esp32_ble_tracker:246]: Starting scan...