INFO ESPHome 2024.7.0 INFO Reading configuration /config/testboard2.yaml... INFO Updating https://github.com/syssi/esphome-jbd-bms.git@liontron INFO Starting log output from 192.168.176.54 using esphome API INFO Successfully connected to bms @ 192.168.176.54 in 0.070s INFO Successful handshake with bms @ 192.168.176.54 in 0.306s [11:49:35][I][app:100]: ESPHome version 2024.7.0 compiled on Jul 27 2024, 11:44:27 [11:49:35][C][logger:185]: Logger: [11:49:35][C][logger:186]: Level: VERY_VERBOSE [11:49:35][C][logger:188]: Log Baud Rate: 115200 [11:49:35][C][logger:189]: Hardware UART: UART0 [11:49:35][C][logger:193]: Level for 'jbd_bms_ble': VERY_VERBOSE [11:49:35][C][logger:193]: Level for 'ble_client': VERBOSE [11:49:35][C][logger:193]: Level for 'esp32_ble': DEBUG [11:49:35][C][logger:193]: Level for 'esp32_ble_client': VERY_VERBOSE [11:49:35][C][logger:193]: Level for 'esp32_ble_tracker': VERBOSE [11:49:35][C][logger:193]: Level for 'esp32.preferences': WARN [11:49:35][C][logger:193]: Level for 'scheduler': DEBUG [11:49:35][C][logger:193]: Level for 'component': DEBUG [11:49:35][C][logger:193]: Level for 'sensor': DEBUG [11:49:35][C][logger:193]: Level for 'api': WARN [11:49:35][C][logger:193]: Level for 'api.service': WARN [11:49:35][C][logger:193]: Level for 'json': WARN [11:49:35][C][logger:193]: Level for 'web_server_idf': WARN [11:49:35][C][logger:193]: Level for 'mdns': WARN [11:49:35][C][logger:193]: Level for 'wifi': WARN [11:49:35][C][logger:193]: Level for 'api.socket': WARN [11:49:35][C][logger:193]: Level for 'esp-idf': VERY_VERBOSE [11:49:35][C][logger:193]: Level for 'api.connection': WARN [11:49:36][C][jbd_bms_ble:396]: JbdBmsBle: [11:49:36][C][jbd_bms_ble:397]: Fake traffic enabled: NO [11:49:36][C][jbd_bms_ble:399]: Balancing 'bms balancing' [11:49:36][C][jbd_bms_ble:400]: Charging 'bms charging' [11:49:36][C][jbd_bms_ble:401]: Discharging 'bms discharging' [11:49:36][C][jbd_bms_ble:403]: Total voltage 'bms total voltage' [11:49:36][C][jbd_bms_ble:403]: Device Class: 'voltage' [11:49:36][C][jbd_bms_ble:403]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:403]: Unit of Measurement: 'V' [11:49:36][C][jbd_bms_ble:403]: Accuracy Decimals: 2 [11:49:36][C][jbd_bms_ble:404]: Battery strings 'bms battery strings' [11:49:36][C][jbd_bms_ble:404]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:404]: Unit of Measurement: '' [11:49:36][C][jbd_bms_ble:404]: Accuracy Decimals: 0 [11:49:36][C][jbd_bms_ble:404]: Icon: 'mdi:car-battery' [11:49:36][C][jbd_bms_ble:405]: Software version 'bms software version' [11:49:36][C][jbd_bms_ble:405]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:405]: Unit of Measurement: '' [11:49:36][C][jbd_bms_ble:405]: Accuracy Decimals: 1 [11:49:36][C][jbd_bms_ble:405]: Icon: 'mdi:numeric' [11:49:36][C][jbd_bms_ble:406]: Current 'bms current' [11:49:36][C][jbd_bms_ble:406]: Device Class: 'current' [11:49:36][C][jbd_bms_ble:406]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:406]: Unit of Measurement: 'A' [11:49:36][C][jbd_bms_ble:406]: Accuracy Decimals: 1 [11:49:36][C][jbd_bms_ble:406]: Icon: 'mdi:current-dc' [11:49:36][C][jbd_bms_ble:407]: Power 'bms power' [11:49:36][C][jbd_bms_ble:407]: Device Class: 'power' [11:49:36][C][jbd_bms_ble:407]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:407]: Unit of Measurement: 'W' [11:49:36][C][jbd_bms_ble:407]: Accuracy Decimals: 1 [11:49:36][C][jbd_bms_ble:408]: Charging Power 'bms charging power' [11:49:36][C][jbd_bms_ble:408]: Device Class: 'power' [11:49:36][C][jbd_bms_ble:408]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:408]: Unit of Measurement: 'W' [11:49:36][C][jbd_bms_ble:408]: Accuracy Decimals: 2 [11:49:36][C][jbd_bms_ble:409]: Discharging Power 'bms discharging power' [11:49:36][C][jbd_bms_ble:409]: Device Class: 'power' [11:49:36][C][jbd_bms_ble:409]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:409]: Unit of Measurement: 'W' [11:49:36][C][jbd_bms_ble:409]: Accuracy Decimals: 2 [11:49:36][C][jbd_bms_ble:410]: State of charge 'bms state of charge' [11:49:36][C][jbd_bms_ble:410]: Device Class: 'battery' [11:49:36][C][jbd_bms_ble:410]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:410]: Unit of Measurement: '%' [11:49:36][C][jbd_bms_ble:410]: Accuracy Decimals: 0 [11:49:36][C][jbd_bms_ble:411]: Operation status bitmask 'bms operation status bitmask' [11:49:36][C][jbd_bms_ble:411]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:411]: Unit of Measurement: '' [11:49:36][C][jbd_bms_ble:411]: Accuracy Decimals: 0 [11:49:36][C][jbd_bms_ble:411]: Icon: 'mdi:heart-pulse' [11:49:36][C][jbd_bms_ble:412]: Errors bitmask 'bms errors bitmask' [11:49:36][C][jbd_bms_ble:412]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:412]: Unit of Measurement: '' [11:49:36][C][jbd_bms_ble:412]: Accuracy Decimals: 0 [11:49:36][C][jbd_bms_ble:412]: Icon: 'mdi:alert-circle-outline' [11:49:36][C][jbd_bms_ble:413]: Nominal capacity 'bms nominal capacity' [11:49:36][C][jbd_bms_ble:413]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:413]: Unit of Measurement: 'Ah' [11:49:36][C][jbd_bms_ble:413]: Accuracy Decimals: 2 [11:49:36][C][jbd_bms_ble:413]: Icon: 'mdi:battery-50' [11:49:36][C][jbd_bms_ble:414]: Charging cycles 'bms charging cycles' [11:49:36][C][jbd_bms_ble:414]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:414]: Unit of Measurement: '' [11:49:36][C][jbd_bms_ble:414]: Accuracy Decimals: 0 [11:49:36][C][jbd_bms_ble:414]: Icon: 'mdi:battery-sync' [11:49:36][C][jbd_bms_ble:415]: Balancer status bitmask 'bms balancer status bitmask' [11:49:36][C][jbd_bms_ble:415]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:415]: Unit of Measurement: '' [11:49:36][C][jbd_bms_ble:415]: Accuracy Decimals: 0 [11:49:36][C][jbd_bms_ble:415]: Icon: 'mdi:seesaw' [11:49:36][C][jbd_bms_ble:416]: Capacity remaining 'bms capacity remaining' [11:49:36][C][jbd_bms_ble:416]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:416]: Unit of Measurement: 'Ah' [11:49:36][C][jbd_bms_ble:416]: Accuracy Decimals: 2 [11:49:36][C][jbd_bms_ble:416]: Icon: 'mdi:battery-50' [11:49:36][C][jbd_bms_ble:417]: Average cell voltage sensor 'bms average cell voltage' [11:49:36][C][jbd_bms_ble:417]: Device Class: 'voltage' [11:49:36][C][jbd_bms_ble:417]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:417]: Unit of Measurement: 'V' [11:49:36][C][jbd_bms_ble:417]: Accuracy Decimals: 4 [11:49:36][C][jbd_bms_ble:418]: Delta cell voltage sensor 'bms delta cell voltage' [11:49:36][C][jbd_bms_ble:418]: Device Class: 'voltage' [11:49:36][C][jbd_bms_ble:418]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:418]: Unit of Measurement: 'V' [11:49:36][C][jbd_bms_ble:418]: Accuracy Decimals: 4 [11:49:36][C][jbd_bms_ble:419]: Maximum cell voltage 'bms max cell voltage' [11:49:36][C][jbd_bms_ble:419]: Device Class: 'voltage' [11:49:36][C][jbd_bms_ble:419]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:419]: Unit of Measurement: 'V' [11:49:36][C][jbd_bms_ble:419]: Accuracy Decimals: 3 [11:49:36][C][jbd_bms_ble:419]: Icon: 'mdi:battery-plus-outline' [11:49:36][C][jbd_bms_ble:420]: Min voltage cell 'bms min voltage cell' [11:49:36][C][jbd_bms_ble:420]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:420]: Unit of Measurement: '' [11:49:36][C][jbd_bms_ble:420]: Accuracy Decimals: 0 [11:49:36][C][jbd_bms_ble:420]: Icon: 'mdi:battery-minus-outline' [11:49:36][C][jbd_bms_ble:421]: Max voltage cell 'bms max voltage cell' [11:49:36][C][jbd_bms_ble:421]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:421]: Unit of Measurement: '' [11:49:36][C][jbd_bms_ble:421]: Accuracy Decimals: 0 [11:49:36][C][jbd_bms_ble:421]: Icon: 'mdi:battery-plus-outline' [11:49:36][C][jbd_bms_ble:422]: Minimum cell voltage 'bms min cell voltage' [11:49:36][C][jbd_bms_ble:422]: Device Class: 'voltage' [11:49:36][C][jbd_bms_ble:422]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:422]: Unit of Measurement: 'V' [11:49:36][C][jbd_bms_ble:422]: Accuracy Decimals: 3 [11:49:36][C][jbd_bms_ble:422]: Icon: 'mdi:battery-minus-outline' [11:49:36][C][jbd_bms_ble:424]: Temperature 1 'bms temperature 1' [11:49:36][C][jbd_bms_ble:424]: Device Class: 'temperature' [11:49:36][C][jbd_bms_ble:424]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:424]: Unit of Measurement: '°C' [11:49:36][C][jbd_bms_ble:424]: Accuracy Decimals: 1 [11:49:36][C][jbd_bms_ble:425]: Temperature 2 'bms temperature 2' [11:49:36][C][jbd_bms_ble:425]: Device Class: 'temperature' [11:49:36][C][jbd_bms_ble:425]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:425]: Unit of Measurement: '°C' [11:49:36][C][jbd_bms_ble:425]: Accuracy Decimals: 1 [11:49:36][C][jbd_bms_ble:430]: Cell Voltage 1 'bms cell voltage 1' [11:49:36][C][jbd_bms_ble:430]: Device Class: 'voltage' [11:49:36][C][jbd_bms_ble:430]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:430]: Unit of Measurement: 'V' [11:49:36][C][jbd_bms_ble:430]: Accuracy Decimals: 3 [11:49:36][C][jbd_bms_ble:431]: Cell Voltage 2 'bms cell voltage 2' [11:49:36][C][jbd_bms_ble:431]: Device Class: 'voltage' [11:49:36][C][jbd_bms_ble:431]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:431]: Unit of Measurement: 'V' [11:49:36][C][jbd_bms_ble:431]: Accuracy Decimals: 3 [11:49:36][C][jbd_bms_ble:432]: Cell Voltage 3 'bms cell voltage 3' [11:49:36][C][jbd_bms_ble:432]: Device Class: 'voltage' [11:49:36][C][jbd_bms_ble:432]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:432]: Unit of Measurement: 'V' [11:49:36][C][jbd_bms_ble:432]: Accuracy Decimals: 3 [11:49:36][C][jbd_bms_ble:433]: Cell Voltage 4 'bms cell voltage 4' [11:49:36][C][jbd_bms_ble:433]: Device Class: 'voltage' [11:49:36][C][jbd_bms_ble:433]: State Class: 'measurement' [11:49:36][C][jbd_bms_ble:433]: Unit of Measurement: 'V' [11:49:36][C][jbd_bms_ble:433]: Accuracy Decimals: 3 [11:49:36][C][jbd_bms_ble:463]: Operation status 'bms operation status' [11:49:36][C][jbd_bms_ble:463]: Icon: 'mdi:heart-pulse' [11:49:36][C][jbd_bms_ble:464]: Errors 'bms errors' [11:49:36][C][jbd_bms_ble:464]: Icon: 'mdi:alert-circle-outline' [11:49:36][C][jbd_bms_ble:465]: Device model 'bms device model' [11:49:36][C][jbd_bms_ble:465]: Icon: 'mdi:chip' [11:49:36][C][ble_switch:068]: BLE Client Switch 'bms enable bluetooth connection' [11:49:36][C][ble_switch:070]: Icon: 'mdi:bluetooth' [11:49:36][C][ble_switch:091]: Restore Mode: always OFF [11:49:36][C][jbd_bms_ble.switch:068]: JbdBmsBle Switch 'bms discharging' [11:49:36][C][jbd_bms_ble.switch:070]: Icon: 'mdi:battery-charging-50' [11:49:36][C][jbd_bms_ble.switch:091]: Restore Mode: always OFF [11:49:36][C][jbd_bms_ble.switch:068]: JbdBmsBle Switch 'bms charging' [11:49:36][C][jbd_bms_ble.switch:070]: Icon: 'mdi:battery-charging-50' [11:49:36][C][jbd_bms_ble.switch:091]: Restore Mode: always OFF [11:49:36][C][esp32_ble:383]: ESP32 BLE: [11:49:36][C][esp32_ble:385]: MAC address: E0:5A:1B:A0:1E:66 [11:49:36][C][esp32_ble:386]: IO Capability: none [11:49:36][C][esp32_ble_tracker:653]: BLE Tracker: [11:49:36][C][esp32_ble_tracker:654]: Scan Duration: 300 s [11:49:36][C][esp32_ble_tracker:655]: Scan Interval: 320.0 ms [11:49:36][C][esp32_ble_tracker:656]: Scan Window: 30.0 ms [11:49:36][C][esp32_ble_tracker:657]: Scan Type: ACTIVE [11:49:36][C][esp32_ble_tracker:658]: Continuous Scanning: True [11:49:36][C][ble_client:027]: BLE Client: [11:49:36][C][ble_client:028]: Address: 70:3E:97:D1:BE:20 [11:49:36][C][ble_client:029]: Auto-Connect: TRUE [11:49:36][C][captive_portal:088]: Captive Portal: [11:49:36][C][web_server:173]: Web Server: [11:49:36][C][web_server:174]: Address: bms.local:80 [11:49:36][C][esphome.ota:073]: Over-The-Air updates: [11:49:36][C][esphome.ota:074]: Address: bms.local:3232 [11:49:36][C][esphome.ota:075]: Version: 2 [11:49:36][C][esphome.ota:078]: Password configured [11:49:36][C][safe_mode:018]: Safe Mode: [11:49:36][C][safe_mode:020]: Boot considered successful after 60 seconds [11:49:36][C][safe_mode:021]: Invoke after 10 boot attempts [11:49:36][C][safe_mode:023]: Remain in safe mode for 300 seconds [11:49:48][V][jbd_bms_ble:554]: Send command (handle 0x15): DD.A5.03.00.FF.FD.77 (7) [11:49:48][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=4 gattc_if=3 [11:49:48][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_WRITE_CHAR_EVT [11:49:51][W][web_server_idf:070][httpd]: Only application/x-www-form-urlencoded supported for POST request [11:49:51][D][switch:016]: 'bms enable bluetooth connection' Turning OFF. [11:49:51][I][ble_client:043]: [70:3E:97:D1:BE:20] Disabling BLE client. [11:49:51][I][esp32_ble_client:084]: [0] [70:3E:97:D1:BE:20] Disconnecting. [11:49:51][D][switch:055]: 'bms enable bluetooth connection': Sending state OFF [11:49:51][VV][esp-idf:000][BTU_TASK]: W (117900) BT_HCI: hci cmd send: disconnect: hdl 0x0, rsn:0x13 [11:49:51][VV][esp-idf:000][BTU_TASK]: W (117910) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x16 [11:49:51][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=5 gattc_if=3 [11:49:51][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_CLOSE_EVT [11:49:51][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=41 gattc_if=3 [11:49:51][D][esp32_ble_client:172]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_DISCONNECT_EVT, reason 22 [11:49:51][VV][esp-idf:000][BTU_TASK]: W (117974) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x16 [11:49:56][W][web_server_idf:070][httpd]: Only application/x-www-form-urlencoded supported for POST request [11:49:56][D][switch:012]: 'bms enable bluetooth connection' Turning ON. [11:49:56][D][switch:055]: 'bms enable bluetooth connection': Sending state ON [11:49:58][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] Found device [11:49:58][D][esp32_ble_tracker:669]: Found device 70:3E:97:D1:BE:20 RSSI=-80 [11:49:58][D][esp32_ble_tracker:690]: Address Type: PUBLIC [11:49:58][D][esp32_ble_tracker:692]: Name: '0223400011' [11:49:58][D][esp32_ble_tracker:695]: TX Power: 2 [11:49:58][D][esp32_ble_tracker:219]: Pausing scan to make connection... [11:49:58][D][esp32_ble_tracker:219]: Pausing scan to make connection... [11:49:58][VV][esp-idf:000][BTU_TASK]: E (124186) BT_BTM: BTM_BleScan scan not active [11:49:58][VV][esp-idf:000][BTU_TASK]: W (124191) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6 [11:49:59][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=40 gattc_if=3 [11:49:59][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_CONNECT_EVT [11:49:59][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=2 gattc_if=3 [11:49:59][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_OPEN_EVT [11:49:59][D][esp32_ble_tracker:270]: Starting scan... [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=46 gattc_if=3 [11:50:00][D][esp32_ble_client:306]: [0] [70:3E:97:D1:BE:20] Event 46 [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=7 gattc_if=3 [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=7 gattc_if=3 [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=7 gattc_if=3 [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=7 gattc_if=3 [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=7 gattc_if=3 [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=6 gattc_if=3 [11:50:00][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_SEARCH_CMPL_EVT [11:50:00][V][esp32_ble_client:223]: [0] [70:3E:97:D1:BE:20] Service UUID: 0x1800 [11:50:00][V][esp32_ble_client:225]: [0] [70:3E:97:D1:BE:20] start_handle: 0x1 end_handle: 0x7 [11:50:00][V][esp32_ble_client:223]: [0] [70:3E:97:D1:BE:20] Service UUID: 0x1801 [11:50:00][V][esp32_ble_client:225]: [0] [70:3E:97:D1:BE:20] start_handle: 0x8 end_handle: 0xb [11:50:00][V][esp32_ble_client:223]: [0] [70:3E:97:D1:BE:20] Service UUID: 0x180A [11:50:00][V][esp32_ble_client:225]: [0] [70:3E:97:D1:BE:20] start_handle: 0xc end_handle: 0xe [11:50:00][V][esp32_ble_client:223]: [0] [70:3E:97:D1:BE:20] Service UUID: 0xFF00 [11:50:00][V][esp32_ble_client:225]: [0] [70:3E:97:D1:BE:20] start_handle: 0xf end_handle: 0x16 [11:50:00][V][esp32_ble_client:223]: [0] [70:3E:97:D1:BE:20] Service UUID: 00010203-0405-0607-0809-0A0B0C0D1912 [11:50:00][V][esp32_ble_client:225]: [0] [70:3E:97:D1:BE:20] start_handle: 0x17 end_handle: 0x1b [11:50:00][I][esp32_ble_client:227]: [0] [70:3E:97:D1:BE:20] Connected [11:50:00][V][esp32_ble_client:069]: [0] [70:3E:97:D1:BE:20] characteristic 0xFF01, handle 0x11, properties 0x12 [11:50:00][V][esp32_ble_client:069]: [0] [70:3E:97:D1:BE:20] characteristic 0xFF02, handle 0x15, properties 0x6 [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=18 gattc_if=3 [11:50:00][D][esp32_ble_client:188]: [0] [70:3E:97:D1:BE:20] cfg_mtu status 0, mtu 128 [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=38 gattc_if=3 [11:50:00][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_REG_FOR_NOTIFY_EVT [11:50:00][D][esp32_ble_client:296]: Wrote notify descriptor 1, properties=18 [11:50:00][V][jbd_bms_ble:554]: Send command (handle 0x15): DD.A5.03.00.FF.FD.77 (7) [11:50:00][D][ble_client:058]: All clients established, services released [11:50:00][W][component:237]: Component esp32_ble took a long time for an operation (200 ms). [11:50:00][W][component:238]: Components should block for at most 30 ms. [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=9 gattc_if=3 [11:50:00][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_WRITE_DESCR_EVT [11:50:00][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=4 gattc_if=3 [11:50:00][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_WRITE_CHAR_EVT [11:50:03][D][binary_sensor:036]: 'bms online status': Sending state OFF [11:50:03][V][text_sensor:013]: 'bms errors': Received new state Offline [11:50:03][D][text_sensor:064]: 'bms errors': Sending state 'Offline' [11:50:03][D][sensor:094]: 'bms state of charge': Sending state nan % with 0 decimals of accuracy [11:50:03][D][sensor:094]: 'bms total voltage': Sending state nan V with 2 decimals of accuracy [11:50:03][D][sensor:094]: 'bms current': Sending state nan A with 1 decimals of accuracy [11:50:03][D][sensor:094]: 'bms power': Sending state nan W with 1 decimals of accuracy [11:50:03][D][sensor:094]: 'bms charging power': Sending state nan W with 2 decimals of accuracy [11:50:03][D][sensor:094]: 'bms discharging power': Sending state nan W with 2 decimals of accuracy [11:50:03][D][sensor:094]: 'bms nominal capacity': Sending state nan Ah with 2 decimals of accuracy [11:50:03][D][sensor:094]: 'bms charging cycles': Sending state nan with 0 decimals of accuracy [11:50:03][D][sensor:094]: 'bms capacity remaining': Sending state nan Ah with 2 decimals of accuracy [11:50:03][D][sensor:094]: 'bms min cell voltage': Sending state nan V with 3 decimals of accuracy [11:50:03][D][sensor:094]: 'bms max cell voltage': Sending state nan V with 3 decimals of accuracy [11:50:03][D][sensor:094]: 'bms min voltage cell': Sending state nan with 0 decimals of accuracy [11:50:03][D][sensor:094]: 'bms max voltage cell': Sending state nan with 0 decimals of accuracy [11:50:03][D][sensor:094]: 'bms delta cell voltage': Sending state nan V with 4 decimals of accuracy [11:50:03][D][sensor:094]: 'bms average cell voltage': Sending state nan V with 4 decimals of accuracy [11:50:03][D][sensor:094]: 'bms operation status bitmask': Sending state nan with 0 decimals of accuracy [11:50:03][D][sensor:094]: 'bms errors bitmask': Sending state nan with 0 decimals of accuracy [11:50:03][D][sensor:094]: 'bms balancer status bitmask': Sending state nan with 0 decimals of accuracy [11:50:03][D][sensor:094]: 'bms battery strings': Sending state nan with 0 decimals of accuracy [11:50:03][D][sensor:094]: 'bms software version': Sending state nan with 1 decimals of accuracy [11:50:03][D][sensor:094]: 'bms temperature 1': Sending state nan °C with 1 decimals of accuracy [11:50:03][D][sensor:094]: 'bms temperature 2': Sending state nan °C with 1 decimals of accuracy [11:50:03][D][sensor:094]: 'bms cell voltage 1': Sending state nan V with 3 decimals of accuracy [11:50:03][D][sensor:094]: 'bms cell voltage 2': Sending state nan V with 3 decimals of accuracy [11:50:03][D][sensor:094]: 'bms cell voltage 3': Sending state nan V with 3 decimals of accuracy [11:50:03][D][sensor:094]: 'bms cell voltage 4': Sending state nan V with 3 decimals of accuracy [11:50:03][V][jbd_bms_ble:554]: Send command (handle 0x15): DD.A5.03.00.FF.FD.77 (7) [11:50:03][W][component:237]: Component jbd_bms_ble took a long time for an operation (255 ms). [11:50:03][W][component:238]: Components should block for at most 30 ms. [11:50:03][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=4 gattc_if=3 [11:50:03][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_WRITE_CHAR_EVT [11:50:18][V][jbd_bms_ble:554]: Send command (handle 0x15): DD.A5.03.00.FF.FD.77 (7) [11:50:18][V][esp32_ble_client:121]: [0] [70:3E:97:D1:BE:20] gattc_event_handler: event=4 gattc_if=3 [11:50:18][D][esp32_ble_client:110]: [0] [70:3E:97:D1:BE:20] ESP_GATTC_WRITE_CHAR_EVT