syssi / esphome-jk-bms

ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE
Apache License 2.0
452 stars 152 forks source link

Total voltage wraps around at 65.535V (0xFFFF) #111

Closed s1lvi0 closed 2 years ago

s1lvi0 commented 2 years ago

Hi, I tried to connect the bms through bluetooth with an esp32 mcu node but the board restarts at some point with error: CORRUPT HEAP: multi_heap.c: 187 detected in 0x3fff4a14 What could be the problem?

BMS INFO:

 JK-B2A24S20P
Hardware Ver: 10.XG
Software Ver: 10.07
Version: 4.6.5

This is my esphome configuration:

substitutions:
  name: electric-kart
  external_components_source: github://syssi/esphome-jk-bms@main
  mac_address: c8:47:8c:e2:95:b2
  # Defaults to "JK02". Please use "JK04" if you have some old JK-BMS version (f.e. JK-B2A16S hw 3.0, sw. 3.3.0)
  protocol_version: JK02

esphome:
  name: ${name}

esp32:
  board: nodemcu-32s
  framework:
    type: arduino

# Enable logging
logger:
  level: VERY_VERBOSE
  logs:
    scheduler: DEBUG
    component: DEBUG
    esp32_ble_tracker: DEBUG
    sensor: DEBUG

# Enable Home Assistant API
api:

external_components:
  - source: ${external_components_source}
    refresh: 0s

ota:
  password: "69ca71c5c1e5959c66b9f4c61caa0f69"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Electric-Kart Fallback Hotspot"
    password: "sfDGMvdU652h"

captive_portal:

esp32_ble_tracker:

ble_client:
  - mac_address: ${mac_address}
    id: client0

jk_bms_ble:
  - ble_client_id: client0
    throttle: 5s
    id: bms0
    protocol_version: ${protocol_version}

binary_sensor:
  - platform: jk_bms_ble
    balancing:
      name: "${name} balancing"
    charging:
      name: "${name} charging"
    discharging:
      name: "${name} discharging"

button:
  - platform: jk_bms_ble
    retrieve_settings:
      name: "${name} retrieve settings"
    retrieve_device_info:
      name: "${name} retrieve device info"

sensor:
  - platform: jk_bms_ble
    jk_bms_ble_id: bms0
    min_cell_voltage:
      name: "${name} min cell voltage"
    max_cell_voltage:
      name: "${name} max cell voltage"
    min_voltage_cell:
      name: "${name} min voltage cell"
    max_voltage_cell:
      name: "${name} max voltage cell"
    delta_cell_voltage:
      name: "${name} delta cell voltage"
    average_cell_voltage:
      name: "${name} average cell voltage"
    total_voltage:
      name: "${name} total voltage"
    current:
      name: "${name} current"
    power:
      name: "${name} power"

and this is the log:

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:214]: Log initialized
[C][ota:461]: There have been 2 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving preferences to flash...
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[D][esp32_ble_tracker:217]: Starting scan...
[C][wifi:037]: Setting up WiFi...
[V][esp32.preferences:057]: nvs_get_blob('32219596'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[V][wifi_esp32:039]: Enabling STA.
[VV][esp-idf:000]: I (787) wifi:
[VV][esp-idf:000]: wifi driver task: 3ffe9e38, prio:23, stack:3584, core=0
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1823) wifi:
[VV][esp-idf:000]: wifi firmware version: dc30037
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1824) wifi:
[VV][esp-idf:000]: config NVS flash: enabled
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1836) wifi:
[VV][esp-idf:000]: config nano formating: disabled
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1849) wifi:
[VV][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1862) wifi:
[VV][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1875) wifi:
[VV][esp-idf:000]: Init management short buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1888) wifi:
[VV][esp-idf:000]: Init dynamic tx buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1901) wifi:
[VV][esp-idf:000]: Init static rx buffer size: 1600
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1913) wifi:
[VV][esp-idf:000]: Init static rx buffer num: 16
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1925) wifi:
[VV][esp-idf:000]: Init dynamic rx buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1949) wifi:
[VV][esp-idf:000]: mode : sta (fc:f5:c4:00:f6:34)
[VV][esp-idf:000]: 

[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
[V][wifi_esp32:460]: Event: WiFi STA start
[VV][esp-idf:000]: I (1972) wifi:
[VV][esp-idf:000]: Set ps type: 1

[VV][esp-idf:000]: 

[D][wifi:373]: Starting scan...
[VV][esp-idf:000]: W (1982) wifi:
[VV][esp-idf:000]: Error! Should use default active scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!

[VV][esp-idf:000]: 

[W][jk_bms_ble:269]: [c8:47:8c:e2:95:b2] Not connected
[V][ble_client:107]: gattc registered app id 1
[D][esp32_ble_tracker:726]: Found device 7F:FF:FF:8A:DF:63 RSSI=-60
[D][esp32_ble_tracker:747]:   Address Type: RANDOM

[VV][esp-idf:000]: I (5235) wifi:
[VV][esp-idf:000]: new:<6,2>, old:<1,0>, ap:<255,255>, sta:<6,2>, prof:1
[VV][esp-idf:000]: 

[W][jk_bms_ble:269]: [c8:47:8c:e2:95:b2] Not connected
[VV][esp-idf:000]: I (5984) wifi:
[VV][esp-idf:000]: state: init -> auth (b0)
[VV][esp-idf:000]: 

[D][ble_client:047]: Found device at MAC address [C8:47:8C:E2:95:B2]
[VV][esp-idf:000]: I (6004) wifi:
[VV][esp-idf:000]: state: auth -> assoc (0)
[VV][esp-idf:000]: 

[I][ble_client:085]: Attempting BLE connection to c8:47:8c:e2:95:b2
[VV][esp-idf:000]: I (6015) wifi:
[VV][esp-idf:000]: state: assoc -> run (10)
[VV][esp-idf:000]: 

lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1)
[V][ble_client:147]: [c8:47:8c:e2:95:b2] ESP_GATTC_DISCONNECT_EVT, reason 62
[V][ble_client:115]: [c8:47:8c:e2:95:b2] ESP_GATTC_OPEN_EVT
[W][ble_client:117]: connect to c8:47:8c:e2:95:b2 failed, status=133
[D][esp32_ble_tracker:217]: Starting scan...

[VV][esp-idf:000]: I (7108) wifi:
[VV][esp-idf:000]: security type: 3, phy: bgn, rssi: -54
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (7121) wifi:
[VV][esp-idf:000]: pm start, type: 1

[VV][esp-idf:000]: 

[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 4 - STA_CONNECTED
[D][ble_client:047]: Found device at MAC address [C8:47:8C:E2:95:B2]
[VV][esp-idf:000]: I (7160) wifi:
[VV][esp-idf:000]: AP's beacon interval = 102400 us, DTIM period = 1
[VV][esp-idf:000]: 

lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1)
[V][ble_client:147]: [c8:47:8c:e2:95:b2] ESP_GATTC_DISCONNECT_EVT, reason 62
[V][ble_client:115]: [c8:47:8c:e2:95:b2] ESP_GATTC_OPEN_EVT
[W][ble_client:117]: connect to c8:47:8c:e2:95:b2 failed, status=133
[D][esp32_ble_tracker:217]: Starting scan...
[D][wifi:514]: Disabling AP...
[C][ota:085]: Over-The-Air Updates:
[C][ota:086]:   Address: electric-kart.local:3232
[C][ota:089]:   Using Password.
[W][ota:095]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[C][api:025]: Setting up Home Assistant API server...
[I][app:062]: setup() finished successfully!
[I][app:102]: ESPHome version 2022.4.0 compiled on May 14 2022, 10:02:57
[C][logger:233]: Logger:
[C][logger:234]:   Level: VERY_VERBOSE
[C][logger:235]:   Log Baud Rate: 115200
[C][logger:236]:   Hardware UART: UART0
[C][logger:238]:   Level for 'scheduler': DEBUG
[C][logger:238]:   Level for 'component': DEBUG
[C][logger:238]:   Level for 'esp32_ble_tracker': DEBUG
[C][logger:238]:   Level for 'sensor': DEBUG
[C][jk_bms_ble:049]: JkBmsBle
[C][jk_bms_ble:050]: Minimum Cell Voltage 'electric-kart min cell voltage'
[C][jk_bms_ble:050]:   Device Class: 'voltage'
[C][jk_bms_ble:050]:   State Class: 'measurement'
[C][jk_bms_ble:050]:   Unit of Measurement: 'V'
[C][jk_bms_ble:050]:   Accuracy Decimals: 3
[C][jk_bms_ble:051]: Maximum Cell Voltage 'electric-kart max cell voltage'
[C][jk_bms_ble:051]:   Device Class: 'voltage'
[C][jk_bms_ble:051]:   State Class: 'measurement'
[C][jk_bms_ble:051]:   Unit of Measurement: 'V'
[C][jk_bms_ble:051]:   Accuracy Decimals: 3
[C][jk_bms_ble:052]: Minimum Voltage Cell 'electric-kart min voltage cell'
[C][jk_bms_ble:052]:   State Class: 'measurement'
[C][jk_bms_ble:052]:   Unit of Measurement: ''
[C][jk_bms_ble:052]:   Accuracy Decimals: 0
[C][jk_bms_ble:052]:   Icon: 'mdi:battery-minus-outline'
[C][jk_bms_ble:053]: Maximum Voltage Cell 'electric-kart max voltage cell'
[C][jk_bms_ble:053]:   State Class: 'measurement'
[C][jk_bms_ble:053]:   Unit of Measurement: ''
[C][jk_bms_ble:053]:   Accuracy Decimals: 0
[C][jk_bms_ble:053]:   Icon: 'mdi:battery-plus-outline'
[C][jk_bms_ble:054]: Delta Cell Voltage 'electric-kart delta cell voltage'
[C][jk_bms_ble:054]:   Device Class: 'voltage'
[C][jk_bms_ble:054]:   State Class: 'measurement'
[C][jk_bms_ble:054]:   Unit of Measurement: 'V'
[C][jk_bms_ble:054]:   Accuracy Decimals: 3
[C][jk_bms_ble:055]: Average Cell Voltage 'electric-kart average cell voltage'
[C][jk_bms_ble:055]:   Device Class: 'voltage'
[C][jk_bms_ble:055]:   State Class: 'measurement'
[C][jk_bms_ble:055]:   Unit of Measurement: 'V'
[C][jk_bms_ble:055]:   Accuracy Decimals: 3
[C][jk_bms_ble:104]: Total Voltage 'electric-kart total voltage'
[C][jk_bms_ble:104]:   Device Class: 'voltage'
[C][jk_bms_ble:104]:   State Class: 'measurement'
[C][jk_bms_ble:104]:   Unit of Measurement: 'V'
[C][jk_bms_ble:104]:   Accuracy Decimals: 2
[C][jk_bms_ble:105]: Current 'electric-kart current'
[C][jk_bms_ble:105]:   Device Class: 'current'
[C][jk_bms_ble:105]:   State Class: 'measurement'
[C][jk_bms_ble:105]:   Unit of Measurement: 'A'
[C][jk_bms_ble:105]:   Accuracy Decimals: 2
[C][jk_bms_ble:106]: Power 'electric-kart power'
[C][jk_bms_ble:106]:   Device Class: 'power'
[C][jk_bms_ble:106]:   State Class: 'measurement'
[C][jk_bms_ble:106]:   Unit of Measurement: 'W'
[C][jk_bms_ble:106]:   Accuracy Decimals: 2
[C][jk_bms_ble:120]: Balancing 'electric-kart balancing'
[C][jk_bms_ble:121]: Charging 'electric-kart charging'
[C][jk_bms_ble:122]: Discharging 'electric-kart discharging'
[C][jk_bms_ble.button:010]: JkBmsBle Button 'electric-kart retrieve settings'
[C][jk_bms_ble.button:010]:   Icon: 'mdi:cog'
[C][jk_bms_ble.button:010]: JkBmsBle Button 'electric-kart retrieve device info'
[C][jk_bms_ble.button:010]:   Icon: 'mdi:information-variant'
[C][esp32_ble_tracker:712]: BLE Tracker:
[C][esp32_ble_tracker:713]:   Scan Duration: 300 s
[C][esp32_ble_tracker:714]:   Scan Interval: 320.0 ms
[C][esp32_ble_tracker:715]:   Scan Window: 30.0 ms
[C][esp32_ble_tracker:716]:   Scan Type: ACTIVE
[C][ble_client:035]: BLE Client:
[C][ble_client:036]:   Address: c8:47:8c:e2:95:b2
[C][captive_portal:088]: Captive Portal:
[C][mdns:084]: mDNS:
[C][mdns:085]:   Hostname: electric-kart
[V][mdns:086]:   Services:
[V][mdns:088]:   - _esphomelib, _tcp, 6053
[V][mdns:090]:     TXT: version = 2022.4.0
[V][mdns:090]:     TXT: mac = fcf5c400f634
[V][mdns:090]:     TXT: platform = ESP32
[V][mdns:090]:     TXT: board = nodemcu-32s
[C][ota:085]: Over-The-Air Updates:
[C][ota:086]:   Address: electric-kart.local:3232
[C][ota:089]:   Using Password.
[W][ota:095]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[C][api:138]: API Server:
[C][api:139]:   Address: electric-kart.local:6053
[C][api:143]:   Using noise encryption: NO
[D][api:102]: Accepted ::FFFF:C0A8:640A
[VV][api.service:319]: on_hello_request: HelloRequest {
  client_info: 'Home Assistant 2022.5.4'
}
[V][api.connection:809]: Hello from client: 'Home Assistant 2022.5.4 (::FFFF:C0A8:640A)'
[VV][api.service:013]: send_hello_response: HelloResponse {
  api_version_major: 1
  api_version_minor: 6
  server_info: 'electric-kart (esphome v2022.4.0)'
  name: 'electric-kart'
}
[VV][api.service:328]: on_connect_request: ConnectRequest {
  password: ''
}
[D][api.connection:827]: Home Assistant 2022.5.4 (::FFFF:C0A8:640A): Connected successfully
[VV][api.service:019]: send_connect_response: ConnectResponse {
  invalid_password: NO
}
[VV][api.service:373]: on_device_info_request: DeviceInfoRequest {}
[VV][api.service:049]: send_device_info_response: DeviceInfoResponse {
  uses_password: NO
  name: 'electric-kart'
  mac_address: 'FC:F5:C4:00:F6:34'
  esphome_version: '2022.4.0'
  compilation_time: 'May 14 2022, 10:02:57'
  model: 'nodemcu-32s'
  has_deep_sleep: NO
  project_name: ''
  project_version: ''
  webserver_port: 0
}
[VV][api.service:382]: on_list_entities_request: ListEntitiesRequest {}
[VV][api.service:062]: send_list_entities_binary_sensor_response: ListEntitiesBinarySensorResponse {
  object_id: 'electric-kart_charging'
  key: 735460315
  name: 'electric-kart charging'
  unique_id: 'electric-kartbinary_sensorelectric-kart_charging'
  device_class: ''
  is_status_binary_sensor: NO
  disabled_by_default: NO
  icon: 'mdi:battery-charging'
  entity_category: ENTITY_CATEGORY_NONE
}
[VV][api.service:062]: send_list_entities_binary_sensor_response: ListEntitiesBinarySensorResponse {
  object_id: 'electric-kart_discharging'
  key: 3702557535
  name: 'electric-kart discharging'
  unique_id: 'electric-kartbinary_sensorelectric-kart_discharging'
  device_class: ''
  is_status_binary_sensor: NO
  disabled_by_default: NO
  icon: 'mdi:power-plug'
  entity_category: ENTITY_CATEGORY_NONE
}
[VV][api.service:062]: send_list_entities_binary_sensor_response: ListEntitiesBinarySensorResponse {
  object_id: 'electric-kart_balancing'
  key: 1183987071
  name: 'electric-kart balancing'
  unique_id: 'electric-kartbinary_sensorelectric-kart_balancing'
  device_class: ''
  is_status_binary_sensor: NO
  disabled_by_default: NO
  icon: 'mdi:battery-heart-variant'
  entity_category: ENTITY_CATEGORY_NONE
}
[VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'electric-kart_min_cell_voltage'
  key: 4231311246
  name: 'electric-kart min cell voltage'
  unique_id: 'electric-kartsensorelectric-kart_min_cell_voltage'
  icon: ''
  unit_of_measurement: 'V'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'voltage'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: ENTITY_CATEGOR
[VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'electric-kart_max_cell_voltage'
  key: 1680168780
  name: 'electric-kart max cell voltage'
  unique_id: 'electric-kartsensorelectric-kart_max_cell_voltage'
  icon: ''
  unit_of_measurement: 'V'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'voltage'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: ENTITY_CATEGOR
[VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'electric-kart_min_voltage_cell'
  key: 86550620
  name: 'electric-kart min voltage cell'
  unique_id: 'electric-kartsensorelectric-kart_min_voltage_cell'
  icon: 'mdi:battery-minus-outline'
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category:
[VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'electric-kart_max_voltage_cell'
  key: 3024152162
  name: 'electric-kart max voltage cell'
  unique_id: 'electric-kartsensorelectric-kart_max_voltage_cell'
  icon: 'mdi:battery-plus-outline'
  unit_of_measurement: ''
  accuracy_decimals: 0
  force_update: NO
  device_class: ''
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category
[VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'electric-kart_delta_cell_voltage'
  key: 2493639604
  name: 'electric-kart delta cell voltage'
  unique_id: 'electric-kartsensorelectric-kart_delta_cell_voltage'
  icon: ''
  unit_of_measurement: 'V'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'voltage'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: ENTITY_C
[VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'electric-kart_average_cell_voltage'
  key: 1657038217
  name: 'electric-kart average cell voltage'
  unique_id: 'electric-kartsensorelectric-kart_average_cell_voltage'
  icon: ''
  unit_of_measurement: 'V'
  accuracy_decimals: 3
  force_update: NO
  device_class: 'voltage'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: EN
[VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'electric-kart_total_voltage'
  key: 3760902167
  name: 'electric-kart total voltage'
  unique_id: 'electric-kartsensorelectric-kart_total_voltage'
  icon: ''
  unit_of_measurement: 'V'
  accuracy_decimals: 2
  force_update: NO
  device_class: 'voltage'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: ENTITY_CATEGORY_NONE
}[
[VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'electric-kart_current'
  key: 91044581
  name: 'electric-kart current'
  unique_id: 'electric-kartsensorelectric-kart_current'
  icon: ''
  unit_of_measurement: 'A'
  accuracy_decimals: 2
  force_update: NO
  device_class: 'current'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: ENTITY_CATEGORY_NONE
}
[VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse {
  object_id: 'electric-kart_power'
  key: 818729485
  name: 'electric-kart power'
  unique_id: 'electric-kartsensorelectric-kart_power'
  icon: ''
  unit_of_measurement: 'W'
  accuracy_decimals: 2
  force_update: NO
  device_class: 'power'
  state_class: STATE_CLASS_MEASUREMENT
  legacy_last_reset_type: LAST_RESET_NONE
  disabled_by_default: NO
  entity_category: ENTITY_CATEGORY_NONE
}
[VV][api.service:306]: send_list_entities_button_response: ListEntitiesButtonResponse {
  object_id: 'electric-kart_retrieve_settings'
  key: 2197594386
  name: 'electric-kart retrieve settings'
  unique_id: 'electric-kartbuttonelectric-kart_retrieve_settings'
  icon: 'mdi:cog'
  disabled_by_default: NO
  entity_category: ENTITY_CATEGORY_NONE
  device_class: ''
}
[VV][api.service:306]: send_list_entities_button_response: ListEntitiesButtonResponse {
  object_id: 'electric-kart_retrieve_device_info'
  key: 3344790582
  name: 'electric-kart retrieve device info'
  unique_id: 'electric-kartbuttonelectric-kart_retrieve_device_info'
  icon: 'mdi:information-variant'
  disabled_by_default: NO
  entity_category: ENTITY_CATEGORY_NONE
  device_class: ''
}
[VV][api.service:055]: send_list_entities_done_response: ListEntitiesDoneResponse {}
[VV][api.service:391]: on_subscribe_states_request: SubscribeStatesRequest {}
[VV][api.service:453]: on_subscribe_homeassistant_services_request: SubscribeHomeassistantServicesRequest {}
[VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse {
  key: 735460315
  state: NO
  missing_state: YES
}
[VV][api.service:480]: on_subscribe_home_assistant_states_request: SubscribeHomeAssistantStatesRequest {}
[VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse {
  key: 3702557535
  state: NO
  missing_state: YES
}
[VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse {
  key: 1183987071
  state: NO
  missing_state: YES
}
[VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 4231311246
  state: nan
  missing_state: YES
}
[VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1680168780
  state: nan
  missing_state: YES
}
[VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 86550620
  state: nan
  missing_state: YES
}
[VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 3024152162
  state: nan
  missing_state: YES
}
[VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 2493639604
  state: nan
  missing_state: YES
}
[VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 1657038217
  state: nan
  missing_state: YES
}
[VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 3760902167
  state: nan
  missing_state: YES
}
[VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 91044581
  state: nan
  missing_state: YES
}
[VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 818729485
  state: nan
  missing_state: YES
}
[W][jk_bms_ble:269]: [c8:47:8c:e2:95:b2] Not connected
[D][ble_client:047]: Found device at MAC address [C8:47:8C:E2:95:B2]
[I][ble_client:085]: Attempting BLE connection to c8:47:8c:e2:95:b2
lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1)
[V][ble_client:147]: [c8:47:8c:e2:95:b2] ESP_GATTC_DISCONNECT_EVT, reason 62
[V][ble_client:115]: [c8:47:8c:e2:95:b2] ESP_GATTC_OPEN_EVT
[W][ble_client:117]: connect to c8:47:8c:e2:95:b2 failed, status=133
[D][esp32_ble_tracker:217]: Starting scan...
[D][ble_client:047]: Found device at MAC address [C8:47:8C:E2:95:B2]
[I][ble_client:085]: Attempting BLE connection to c8:47:8c:e2:95:b2
lld_pdu_get_tx_flush_nb HCI packet count mismatch (0, 1)
[V][ble_client:147]: [c8:47:8c:e2:95:b2] ESP_GATTC_DISCONNECT_EVT, reason 62
[V][ble_client:115]: [c8:47:8c:e2:95:b2] ESP_GATTC_OPEN_EVT
[W][ble_client:117]: connect to c8:47:8c:e2:95:b2 failed, status=133
[D][esp32_ble_tracker:217]: Starting scan...
[W][jk_bms_ble:269]: [c8:47:8c:e2:95:b2] Not connected
[D][ble_client:047]: Found device at MAC address [C8:47:8C:E2:95:B2]
[I][ble_client:085]: Attempting BLE connection to c8:47:8c:e2:95:b2
[V][ble_client:124]: [c8:47:8c:e2:95:b2] ESP_GATTC_CONNECT_EVT
[V][ble_client:115]: [c8:47:8c:e2:95:b2] ESP_GATTC_OPEN_EVT
[W][jk_bms_ble:269]: [c8:47:8c:e2:95:b2] Not connected
[V][ble_client:139]: cfg_mtu status 0, mtu 131
[V][ble_client:164]: [c8:47:8c:e2:95:b2] ESP_GATTC_SEARCH_CMPL_EVT
[I][ble_client:166]: Service UUID: 0x1800
[I][ble_client:167]:   start_handle: 0x1  end_handle: 0x9
[I][ble_client:378]:  characteristic 0x2A00, handle 0x3, properties 0xa
[I][ble_client:378]:  characteristic 0x2A01, handle 0x5, properties 0xa
[I][ble_client:378]:  characteristic 0x2A02, handle 0x7, properties 0x2
[I][ble_client:378]:  characteristic 0x2A04, handle 0x9, properties 0x2
[I][ble_client:166]: Service UUID: 0x1801
[I][ble_client:167]:   start_handle: 0xa  end_handle: 0xd
[I][ble_client:378]:  characteristic 0x2A05, handle 0xc, properties 0x22
[V][ble_client:413]:    descriptor 0x2902, handle 0xd
[I][ble_client:166]: Service UUID: 0xFFE0
[I][ble_client:167]:   start_handle: 0xe  end_handle: 0x13
[I][ble_client:378]:  characteristic 0xFFE2, handle 0x10, properties 0x4
[I][ble_client:378]:  characteristic 0xFFE1, handle 0x12, properties 0x1c
[V][ble_client:413]:    descriptor 0x2902, handle 0x13
[I][ble_client:166]: Service UUID: 0x180A
[I][ble_client:167]:   start_handle: 0x14  end_handle: 0x26
[I][ble_client:378]:  characteristic 0x2A29, handle 0x16, properties 0x2
[I][ble_client:378]:  characteristic 0x2A24, handle 0x18, properties 0x2
[I][ble_client:378]:  characteristic 0x2A25, handle 0x1a, properties 0x2
[I][ble_client:378]:  characteristic 0x2A27, handle 0x1c, properties 0x2
[I][ble_client:378]:  characteristic 0x2A26, handle 0x1e, properties 0x2
[I][ble_client:378]:  characteristic 0x2A28, handle 0x20, properties 0x2
[I][ble_client:378]:  characteristic 0x2A23, handle 0x22, properties 0x2
[I][ble_client:378]:  characteristic 0x2A2A, handle 0x24, properties 0x2
[I][ble_client:378]:  characteristic 0x2A50, handle 0x26, properties 0x2
[I][ble_client:166]: Service UUID: 0x180F
[I][ble_client:167]:   start_handle: 0x27  end_handle: 0x2a
[I][ble_client:378]:  characteristic 0x2A19, handle 0x29, properties 0x12
[V][ble_client:413]:    descriptor 0x2902, handle 0x2a
[I][ble_client:166]: Service UUID: F000FFC0-0451-4000-B000-000000000000
[I][ble_client:167]:   start_handle: 0x2b  end_handle: 0x33
[I][ble_client:378]:  characteristic F000FFC1-0451-4000-B000-000000000000, handle 0x2d, properties 0x1c
[V][ble_client:413]:    descriptor 0x2902, handle 0x2e
[V][ble_client:413]:    descriptor 0x2901, handle 0x2f
[I][ble_client:378]:  characteristic F000FFC2-0451-4000-B000-000000000000, handle 0x31, properties 0x1c
[V][ble_client:413]:    descriptor 0x2902, handle 0x32
[V][ble_client:413]:    descriptor 0x2901, handle 0x33
[D][esp32_ble_tracker:217]: Starting scan...
[I][jk_bms_ble:158]: Request device info
[D][jk_bms_ble:1077]: Write register: AA.55.90.EB.97.00.00.00.00.00.00.00.00.00.00.00.00.00.00.11 (20)
CORRUPT HEAP: multi_heap.c:187 detected at 0x3fff4a14
abort() was called at PC 0x4009363e on core 0

ELF file SHA256: 0000000000000000

Backtrace: 0x4008f6e4:0x3ffd55e0 0x4008f961:0x3ffd5600 0x4009363e:0x3ffd5620 0x40093bd9:0x3ffd5640 0x400940aa:0x3ffd5660 0x40081eb6:0x3ffd5680 0x40086c61:0x3ffd56a0 0x4000bec7:0x3ffd56c0 0x4013d0a1:0x3ffd56e0 0x400909d6:0x3ffd5710

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:214]: Log initialized
[C][ota:461]: There have been 3 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving preferences to flash...
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[D][esp32_ble_tracker:217]: Starting scan...
[C][wifi:037]: Setting up WiFi...
[V][esp32.preferences:057]: nvs_get_blob('32219596'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[V][wifi_esp32:039]: Enabling STA.
[VV][esp-idf:000]: I (788) wifi:
[VV][esp-idf:000]: wifi driver task: 3ffe9e38, prio:23, stack:3584, core=0
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1906) wifi:
[VV][esp-idf:000]: wifi firmware version: dc30037
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1908) wifi:
[VV][esp-idf:000]: config NVS flash: enabled
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1920) wifi:
[VV][esp-idf:000]: config nano formating: disabled
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1932) wifi:
[VV][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1945) wifi:
[VV][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1959) wifi:
[VV][esp-idf:000]: Init management short buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1972) wifi:
[VV][esp-idf:000]: Init dynamic tx buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1984) wifi:
[VV][esp-idf:000]: Init static rx buffer size: 1600
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (1997) wifi:
[VV][esp-idf:000]: Init static rx buffer num: 16
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (2008) wifi:
[VV][esp-idf:000]: Init dynamic rx buffer num: 32
[VV][esp-idf:000]: 

[VV][esp-idf:000]: I (2032) wifi:
[VV][esp-idf:000]: mode : sta (fc:f5:c4:00:f6:34)
[VV][esp-idf:000]: 

[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
[V][wifi_esp32:460]: Event: WiFi STA start
[VV][esp-idf:000]: I (2055) wifi:
[VV][esp-idf:000]: Set ps type: 1

[VV][esp-idf:000]: 

[D][wifi:373]: Starting scan...
[VV][esp-idf:000]: W (2065) wifi:
[VV][esp-idf:000]: Error! Should use default active scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!

[VV][esp-idf:000]: 
syssi commented 2 years ago

Please don't use the Arduino framework because of this issue. If you stick to ESP-IDF the device won't crash.

s1lvi0 commented 2 years ago

Ok thanks, my mistake.

The Total Voltage value display around 13V insted of around 80V, is that normal?

syssi commented 2 years ago

No. What does the android app show? Did you set the cell count setting correctly?

syssi commented 2 years ago

Could you provide a log with log level VERY_VERBOSE enabled? I would like to compare the raw frame with the sensor value.

s1lvi0 commented 2 years ago

On the app the voltage is correct and the cells number is correct (24 cells).

VERBOSE LOG ``` INFO Starting log output from e-kart.local using esphome API INFO Successfully connected to e-kart.local [21:51:27][VV][api.service:373]: on_device_info_request: DeviceInfoRequest {} [21:51:27][VV][api.service:049]: send_device_info_response: DeviceInfoResponse { uses_password: NO name: 'e-kart' mac_address: '9C:9C:1F:C7:20:60' esphome_version: '2022.4.0' compilation_time: 'May 14 2022, 21:50:34' model: 'nodemcu-32s' has_deep_sleep: NO project_name: '' project_version: '' webserver_port: 0 } [21:51:27][I][app:102]: ESPHome version 2022.4.0 compiled on May 14 2022, 21:50:34 [21:51:27][VV][api.service:382]: on_list_entities_request: ListEntitiesRequest {} [21:51:27][C][logger:233]: Logger: [21:51:27][C][logger:234]: Level: VERY_VERBOSE [21:51:27][C][logger:235]: Log Baud Rate: 115200 [21:51:27][C][logger:236]: Hardware UART: UART0 [21:51:27][VV][api.service:062]: send_list_entities_binary_sensor_response: ListEntitiesBinarySensorResponse { object_id: 'e-kart_charging' key: 659392089 name: 'e-kart charging' unique_id: 'e-kartbinary_sensore-kart_charging' device_class: '' is_status_binary_sensor: NO disabled_by_default: NO icon: 'mdi:battery-charging' entity_category: ENTITY_CATEGORY_NONE } [21:51:27][VV][api.service:062]: send_list_entities_binary_sensor_response: ListEntitiesBinarySensorResponse { object_id: 'e-kart_discharging' key: 757500221 name: 'e-kart discharging' unique_id: 'e-kartbinary_sensore-kart_discharging' device_class: '' is_status_binary_sensor: NO disabled_by_default: NO icon: 'mdi:power-plug' entity_category: ENTITY_CATEGORY_NONE } [21:51:27][C][jk_bms_ble:049]: JkBmsBle [21:51:27][C][jk_bms_ble:050]: Minimum Cell Voltage 'e-kart min cell voltage' [21:51:27][C][jk_bms_ble:050]: Device Class: 'voltage' [21:51:27][C][jk_bms_ble:050]: State Class: 'measurement' [21:51:27][C][jk_bms_ble:050]: Unit of Measurement: 'V' [21:51:27][C][jk_bms_ble:050]: Accuracy Decimals: 3 [21:51:27][C][jk_bms_ble:051]: Maximum Cell Voltage 'e-kart max cell voltage' [21:51:27][C][jk_bms_ble:051]: Device Class: 'voltage' [21:51:27][C][jk_bms_ble:051]: State Class: 'measurement' [21:51:27][C][jk_bms_ble:051]: Unit of Measurement: 'V' [21:51:27][C][jk_bms_ble:051]: Accuracy Decimals: 3 [21:51:27][C][jk_bms_ble:052]: Minimum Voltage Cell 'e-kart min voltage cell' [21:51:27][C][jk_bms_ble:052]: State Class: 'measurement' [21:51:27][C][jk_bms_ble:052]: Unit of Measurement: '' [21:51:27][C][jk_bms_ble:052]: Accuracy Decimals: 0 [21:51:27][C][jk_bms_ble:052]: Icon: 'mdi:battery-minus-outline' [21:51:27][C][jk_bms_ble:053]: Maximum Voltage Cell 'e-kart max voltage cell' [21:51:27][C][jk_bms_ble:053]: State Class: 'measurement' [21:51:27][C][jk_bms_ble:053]: Unit of Measurement: '' [21:51:27][C][jk_bms_ble:053]: Accuracy Decimals: 0 [21:51:27][C][jk_bms_ble:054]: Delta Cell Voltage 'e-kart delta cell voltage' [21:51:27][C][jk_bms_ble:054]: Device Class: 'voltage' [21:51:27][C][jk_bms_ble:054]: State Class: 'measurement' [21:51:27][C][jk_bms_ble:054]: Unit of Measurement: 'V' [21:51:27][C][jk_bms_ble:054]: Accuracy Decimals: 3 [21:51:27][C][jk_bms_ble:055]: Average Cell Voltage 'e-kart average cell voltage' [21:51:27][C][jk_bms_ble:055]: Device Class: 'voltage' [21:51:27][C][jk_bms_ble:055]: State Class: 'measurement' [21:51:27][C][jk_bms_ble:055]: Unit of Measurement: 'V' [21:51:27][C][jk_bms_ble:055]: Accuracy Decimals: 3 [21:51:27][C][jk_bms_ble:056]: Cell Voltage 1 'e-kart cell voltage 1' [21:51:27][C][jk_bms_ble:056]: Device Class: 'voltage' [21:51:27][C][jk_bms_ble:056]: State Class: 'measurement' [21:51:27][C][jk_bms_ble:056]: Unit of Measurement: 'V' [21:51:27][C][jk_bms_ble:056]: Accuracy Decimals: 3 [21:51:27][C][jk_bms_ble:057]: Cell Voltage 2 'e-kart cell voltage 2' [21:51:27][C][jk_bms_ble:057]: Device Class: 'voltage' [21:51:27][C][jk_bms_ble:057]: State Class: 'measurement' [21:51:27][C][jk_bms_ble:057]: Unit of Measurement: 'V' [21:51:27][C][jk_bms_ble:060]: State Class: 'measurement' [21:51:27][C][jk_bms_ble:060]: Unit of Measurement: 'V' [21:51:27][C][jk_bms_ble:060]: Accuracy Decimals: 3 [21:51:27][C][jk_bms_ble:061]: Cell Voltage 6 'e-kart cell voltage 6' [21:51:27][C][jk_bms_ble:061]: Device Class: 'voltage' [21:51:27][C][jk_bms_ble:061]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:061]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:061]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:062]: Cell Voltage 7 'e-kart cell voltage 7' [21:51:28][C][jk_bms_ble:062]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:062]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:062]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:062]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:063]: Cell Voltage 8 'e-kart cell voltage 8' [21:51:28][C][jk_bms_ble:063]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:063]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:063]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:063]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:064]: Cell Voltage 9 'e-kart cell voltage 9' [21:51:28][C][jk_bms_ble:064]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:064]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:064]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:064]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:065]: Cell Voltage 10 'e-kart cell voltage 10' [21:51:28][C][jk_bms_ble:065]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:065]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:065]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:065]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:066]: Cell Voltage 11 'e-kart cell voltage 11' [21:51:28][C][jk_bms_ble:066]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:066]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:066]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:066]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:067]: Cell Voltage 12 'e-kart cell voltage 12' [21:51:28][C][jk_bms_ble:067]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:067]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:067]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:067]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:068]: Cell Voltage 13 'e-kart cell voltage 13' [21:51:28][C][jk_bms_ble:068]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:068]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:068]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:068]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:069]: Cell Voltage 14 'e-kart cell voltage 14' [21:51:28][C][jk_bms_ble:069]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:069]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:069]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:069]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:070]: Cell Voltage 15 'e-kart cell voltage 15' [21:51:28][C][jk_bms_ble:070]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:070]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:070]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:070]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:071]: Cell Voltage 16 'e-kart cell voltage 16' [21:51:28][C][jk_bms_ble:071]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:071]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:071]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:071]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:072]: Cell Voltage 17 'e-kart cell voltage 17' [21:51:28][C][jk_bms_ble:072]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:072]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:072]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:072]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:073]: Cell Voltage 18 'e-kart cell voltage 18' [21:51:28][C][jk_bms_ble:073]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:073]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:073]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:073]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:074]: Cell Voltage 19 'e-kart cell voltage 19' [21:51:28][C][jk_bms_ble:074]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:074]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:074]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:074]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:075]: Cell Voltage 20 'e-kart cell voltage 20' [21:51:28][C][jk_bms_ble:075]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:075]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:075]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:075]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:076]: Cell Voltage 21 'e-kart cell voltage 21' [21:51:28][C][jk_bms_ble:076]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:076]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:076]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:076]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:077]: Cell Voltage 22 'e-kart cell voltage 22' [21:51:28][C][jk_bms_ble:077]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:077]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:077]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:077]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:078]: Cell Voltage 23 'e-kart cell voltage 23' [21:51:28][C][jk_bms_ble:078]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:078]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:078]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:078]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:079]: Cell Voltage 24 'e-kart cell voltage 24' [21:51:28][C][jk_bms_ble:079]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:079]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:079]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:079]: Accuracy Decimals: 3 [21:51:28][C][jk_bms_ble:104]: Total Voltage 'e-kart total voltage' [21:51:28][C][jk_bms_ble:104]: Device Class: 'voltage' [21:51:28][C][jk_bms_ble:104]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:104]: Unit of Measurement: 'V' [21:51:28][C][jk_bms_ble:104]: Accuracy Decimals: 2 [21:51:28][C][jk_bms_ble:105]: Current 'e-kart current' [21:51:28][C][jk_bms_ble:105]: Device Class: 'current' [21:51:28][C][jk_bms_ble:105]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:105]: Unit of Measurement: 'A' [21:51:28][C][jk_bms_ble:105]: Accuracy Decimals: 2 [21:51:28][C][jk_bms_ble:106]: Power 'e-kart power' [21:51:28][C][jk_bms_ble:106]: Device Class: 'power' [21:51:28][C][jk_bms_ble:106]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:106]: Unit of Measurement: 'W' [21:51:28][C][jk_bms_ble:106]: Accuracy Decimals: 2 [21:51:28][C][jk_bms_ble:107]: Charging Power 'e-kart charging power' [21:51:28][C][jk_bms_ble:107]: Device Class: 'power' [21:51:28][C][jk_bms_ble:107]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:107]: Unit of Measurement: 'W' [21:51:28][C][jk_bms_ble:107]: Accuracy Decimals: 2 [21:51:28][C][jk_bms_ble:108]: Discharging Power 'e-kart discharging power' [21:51:28][C][jk_bms_ble:108]: Device Class: 'power' [21:51:28][C][jk_bms_ble:108]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:108]: Unit of Measurement: 'W' [21:51:28][C][jk_bms_ble:108]: Accuracy Decimals: 2 [21:51:28][C][jk_bms_ble:109]: Power Tube Temperature 'e-kart power tube temperature' [21:51:28][C][jk_bms_ble:109]: Device Class: 'temperature' [21:51:28][C][jk_bms_ble:109]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:109]: Unit of Measurement: '°C' [21:51:28][C][jk_bms_ble:109]: Accuracy Decimals: 0 [21:51:28][C][jk_bms_ble:110]: Temperature Sensor 1 'e-kart temperature sensor 1' [21:51:28][C][jk_bms_ble:110]: Device Class: 'temperature' [21:51:28][C][jk_bms_ble:110]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:110]: Unit of Measurement: '°C' [21:51:28][C][jk_bms_ble:110]: Accuracy Decimals: 0 [21:51:28][C][jk_bms_ble:111]: Temperature Sensor 2 'e-kart temperature sensor 2' [21:51:28][C][jk_bms_ble:111]: Device Class: 'temperature' [21:51:28][C][jk_bms_ble:111]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:111]: Unit of Measurement: '°C' [21:51:28][C][jk_bms_ble:111]: Accuracy Decimals: 0 [21:51:28][C][jk_bms_ble:112]: State Of Charge 'e-kart state of charge' [21:51:28][C][jk_bms_ble:112]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:112]: Unit of Measurement: '%' [21:51:28][C][jk_bms_ble:112]: Accuracy Decimals: 0 [21:51:28][C][jk_bms_ble:112]: Icon: 'mdi:battery-50' [21:51:28][C][jk_bms_ble:113]: Capacity Remaining 'e-kart capacity remaining' [21:51:28][C][jk_bms_ble:113]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:113]: Unit of Measurement: 'Ah' [21:51:28][C][jk_bms_ble:113]: Accuracy Decimals: 0 [21:51:28][C][jk_bms_ble:113]: Icon: 'mdi:battery-50' [21:51:28][C][jk_bms_ble:114]: Total Battery Capacity Setting 'e-kart total battery capacity setting' [21:51:28][C][jk_bms_ble:114]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:114]: Unit of Measurement: 'Ah' [21:51:28][C][jk_bms_ble:114]: Accuracy Decimals: 0 [21:51:28][C][jk_bms_ble:115]: Charging Cycles 'e-kart charging cycles' [21:51:28][C][jk_bms_ble:115]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:115]: Unit of Measurement: '' [21:51:28][C][jk_bms_ble:115]: Accuracy Decimals: 0 [21:51:28][C][jk_bms_ble:115]: Icon: 'mdi:battery-sync' [21:51:28][C][jk_bms_ble:116]: Total Charging Cycle Capacity 'e-kart total charging cycle capacity' [21:51:28][C][jk_bms_ble:116]: State Class: 'measurement' [21:51:28][C][jk_bms_ble:116]: Unit of Measurement: '' [21:51:28][C][jk_bms_ble:116]: Accuracy Decimals: 0 [21:51:28][C][jk_bms_ble:117]: Total Runtime 'e-kart total runtime' [21:51:28][C][jk_bms_ble:117]: State Class: 'total_increasing' [21:51:28][C][jk_bms_ble:117]: Unit of Measurement: 's' [21:51:28][C][jk_bms_ble:117]: Accuracy Decimals: 0 [21:51:28][C][jk_bms_ble:117]: Icon: 'mdi:timelapse' [21:51:28][C][jk_bms_ble:119]: Total Runtime Formatted 'e-kart total runtime formatted' [21:51:28][C][jk_bms_ble:119]: Icon: 'mdi:timelapse' [21:51:28][C][jk_bms_ble:120]: Balancing 'e-kart balancing' [21:51:28][C][jk_bms_ble:121]: Charging 'e-kart charging' [21:51:28][C][jk_bms_ble:122]: Discharging 'e-kart discharging' [21:51:28][VV][scheduler:186]: Running interval 'update' with interval=5000 last_execution=2567 (now=8748) [21:51:28][W][jk_bms_ble:269]: [c8:47:8c:e2:95:b2] Not connected [21:51:28][VV][api.service:062]: send_list_entities_binary_sensor_response: ListEntitiesBinarySensorResponse { object_id: 'e-kart_balancing' key: 1614319409 name: 'e-kart balancing' unique_id: 'e-kartbinary_sensore-kart_balancing' device_class: '' is_status_binary_sensor: NO disabled_by_default: NO icon: 'mdi:battery-heart-variant' entity_category: ENTITY_CATEGORY_NONE } [21:51:28][C][jk_bms_ble.button:010]: JkBmsBle Button 'e-kart retrieve settings' [21:51:28][C][jk_bms_ble.button:010]: Icon: 'mdi:cog' [21:51:28][C][jk_bms_ble.button:010]: JkBmsBle Button 'e-kart retrieve device info' [21:51:28][C][jk_bms_ble.button:010]: Icon: 'mdi:information-variant' [21:51:28][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_1' key: 1916666447 name: 'e-kart cell voltage 1' unique_id: 'e-kartsensore-kart_cell_voltage_1' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][C][jk_bms_ble.switch:010]: JkBmsBle Switch 'e-kart charging' [21:51:29][C][jk_bms_ble.switch:010]: Icon: 'mdi:battery-charging-50' [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_2' key: 1916666444 name: 'e-kart cell voltage 2' unique_id: 'e-kartsensore-kart_cell_voltage_2' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][C][jk_bms_ble.switch:010]: JkBmsBle Switch 'e-kart discharging' [21:51:29][C][jk_bms_ble.switch:010]: Icon: 'mdi:battery-charging-50' [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_3' key: 1916666445 name: 'e-kart cell voltage 3' unique_id: 'e-kartsensore-kart_cell_voltage_3' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][C][jk_bms_ble.switch:010]: JkBmsBle Switch 'e-kart balancer' [21:51:29][C][jk_bms_ble.switch:010]: Icon: 'mdi:seesaw' [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_4' key: 1916666442 name: 'e-kart cell voltage 4' unique_id: 'e-kartsensore-kart_cell_voltage_4' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][C][ble_switch:035]: BLE Client Switch 'e-kart enable bluetooth connection' [21:51:29][C][ble_switch:035]: Icon: 'mdi:bluetooth' [21:51:29][VV][esp32_ble_tracker:500]: Parse Result: [21:51:29][VV][esp32_ble_tracker:517]: Address: C8:47:8C:E2:95:B2 (PUBLIC) [21:51:29][VV][esp32_ble_tracker:519]: RSSI: -86 [21:51:29][VV][esp32_ble_tracker:520]: Name: 'JK-B2A24S20P' [21:51:29][VV][esp32_ble_tracker:528]: Ad Flag: 6 [21:51:29][VV][esp32_ble_tracker:531]: Service UUID: 0xFFE0 [21:51:29][VV][esp32_ble_tracker:531]: Service UUID: 0xFEE7 [21:51:29][VV][esp32_ble_tracker:534]: Manufacturer data: 88.A0.C8.47.8C.E2.95.B2 (8) [21:51:29][VV][esp32_ble_tracker:550]: Adv data: 02.01.06.05.02.E0.FF.E7.FE.0B.FF.65.0B.88.A0.C8.47.8C.E2.95.B2.0D.09.4A.4B.2D.42.32.41.32.34.53.32.30.50 (35) [21:51:29][D][ble_client:047]: Found device at MAC address [C8:47:8C:E2:95:B2] [21:51:29][V][component:199]: Component esp32_ble_tracker took a long time for an operation (0.06 s). [21:51:29][V][component:200]: Components should block for at most 20-30ms. [21:51:29][I][ble_client:085]: Attempting BLE connection to c8:47:8c:e2:95:b2 [21:51:29][C][esp32_ble_tracker:712]: BLE Tracker: [21:51:29][C][esp32_ble_tracker:713]: Scan Duration: 300 s [21:51:29][C][esp32_ble_tracker:714]: Scan Interval: 320.0 ms [21:51:29][C][esp32_ble_tracker:715]: Scan Window: 30.0 ms [21:51:29][C][esp32_ble_tracker:716]: Scan Type: ACTIVE [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_6' key: 1916666440 name: 'e-kart cell voltage 6' unique_id: 'e-kartsensore-kart_cell_voltage_6' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][C][ble_client:035]: BLE Client: [21:51:29][C][ble_client:036]: Address: c8:47:8c:e2:95:b2 [21:51:29][V][ble_client:124]: [c8:47:8c:e2:95:b2] ESP_GATTC_CONNECT_EVT [21:51:29][V][ble_client:115]: [c8:47:8c:e2:95:b2] ESP_GATTC_OPEN_EVT [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_7' key: 1916666441 name: 'e-kart cell voltage 7' unique_id: 'e-kartsensore-kart_cell_voltage_7' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][C][mdns:084]: mDNS: [21:51:29][C][mdns:085]: Hostname: e-kart [21:51:29][V][mdns:086]: Services: [21:51:29][V][mdns:088]: - _esphomelib, _tcp, 6053 [21:51:29][V][mdns:090]: TXT: version = 2022.4.0 [21:51:29][V][mdns:090]: TXT: mac = 9c9c1fc72060 [21:51:29][V][mdns:090]: TXT: platform = ESP32 [21:51:29][V][mdns:090]: TXT: board = nodemcu-32s [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_8' key: 1916666438 name: 'e-kart cell voltage 8' unique_id: 'e-kartsensore-kart_cell_voltage_8' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][C][ota:085]: Over-The-Air Updates: [21:51:29][C][ota:086]: Address: e-kart.local:3232 [21:51:29][C][ota:089]: Using Password. [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_9' key: 1916666439 name: 'e-kart cell voltage 9' unique_id: 'e-kartsensore-kart_cell_voltage_9' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][C][api:138]: API Server: [21:51:29][C][api:139]: Address: e-kart.local:6053 [21:51:29][C][api:143]: Using noise encryption: NO [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_10' key: 647864941 name: 'e-kart cell voltage 10' unique_id: 'e-kartsensore-kart_cell_voltage_10' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_11' key: 647864940 name: 'e-kart cell voltage 11' unique_id: 'e-kartsensore-kart_cell_voltage_11' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_12' key: 647864943 name: 'e-kart cell voltage 12' unique_id: 'e-kartsensore-kart_cell_voltage_12' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_13' key: 647864942 name: 'e-kart cell voltage 13' unique_id: 'e-kartsensore-kart_cell_voltage_13' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_14' key: 647864937 name: 'e-kart cell voltage 14' unique_id: 'e-kartsensore-kart_cell_voltage_14' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_15' key: 647864936 name: 'e-kart cell voltage 15' unique_id: 'e-kartsensore-kart_cell_voltage_15' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_16' key: 647864939 name: 'e-kart cell voltage 16' unique_id: 'e-kartsensore-kart_cell_voltage_16' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:29][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_17' key: 647864938 name: 'e-kart cell voltage 17' unique_id: 'e-kartsensore-kart_cell_voltage_17' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_18' key: 647864933 name: 'e-kart cell voltage 18' unique_id: 'e-kartsensore-kart_cell_voltage_18' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_19' key: 647864932 name: 'e-kart cell voltage 19' unique_id: 'e-kartsensore-kart_cell_voltage_19' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_20' key: 597532052 name: 'e-kart cell voltage 20' unique_id: 'e-kartsensore-kart_cell_voltage_20' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_21' key: 597532053 name: 'e-kart cell voltage 21' unique_id: 'e-kartsensore-kart_cell_voltage_21' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_22' key: 597532054 name: 'e-kart cell voltage 22' unique_id: 'e-kartsensore-kart_cell_voltage_22' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_23' key: 597532055 name: 'e-kart cell voltage 23' unique_id: 'e-kartsensore-kart_cell_voltage_23' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_cell_voltage_24' key: 597532048 name: 'e-kart cell voltage 24' unique_id: 'e-kartsensore-kart_cell_voltage_24' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_min_cell_voltage' key: 375572444 name: 'e-kart min cell voltage' unique_id: 'e-kartsensore-kart_min_cell_voltage' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_max_cell_voltage' key: 2598392158 name: 'e-kart max cell voltage' unique_id: 'e-kartsensore-kart_max_cell_voltage' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_min_voltage_cell' key: 3878544690 name: 'e-kart min voltage cell' unique_id: 'e-kartsensore-kart_min_voltage_cell' icon: 'mdi:battery-minus-outline' unit_of_measurement: '' accuracy_decimals: 0 force_update: NO device_class: '' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_max_voltage_cell' key: 2996459116 name: 'e-kart max voltage cell' unique_id: 'e-kartsensore-kart_max_voltage_cell' icon: 'mdi:battery-plus-outline' unit_of_measurement: '' accuracy_decimals: 0 force_update: NO device_class: '' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_delta_cell_voltage' key: 3551258014 name: 'e-kart delta cell voltage' unique_id: 'e-kartsensore-kart_delta_cell_voltage' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_average_cell_voltage' key: 1547985143 name: 'e-kart average cell voltage' unique_id: 'e-kartsensore-kart_average_cell_voltage' icon: '' unit_of_measurement: 'V' accuracy_decimals: 3 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_total_voltage' key: 136745041 name: 'e-kart total voltage' unique_id: 'e-kartsensore-kart_total_voltage' icon: '' unit_of_measurement: 'V' accuracy_decimals: 2 force_update: NO device_class: 'voltage' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_current' key: 3360996619 name: 'e-kart current' unique_id: 'e-kartsensore-kart_current' icon: '' unit_of_measurement: 'A' accuracy_decimals: 2 force_update: NO device_class: 'current' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_power' key: 1050579183 name: 'e-kart power' unique_id: 'e-kartsensore-kart_power' icon: '' unit_of_measurement: 'W' accuracy_decimals: 2 force_update: NO device_class: 'power' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_charging_power' key: 4207234647 name: 'e-kart charging power' unique_id: 'e-kartsensore-kart_charging_power' icon: '' unit_of_measurement: 'W' accuracy_decimals: 2 force_update: NO device_class: 'power' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_discharging_power' key: 454243995 name: 'e-kart discharging power' unique_id: 'e-kartsensore-kart_discharging_power' icon: '' unit_of_measurement: 'W' accuracy_decimals: 2 force_update: NO device_class: 'power' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_temperature_sensor_1' key: 1652678151 name: 'e-kart temperature sensor 1' unique_id: 'e-kartsensore-kart_temperature_sensor_1' icon: '' unit_of_measurement: '°C' accuracy_decimals: 0 force_update: NO device_class: 'temperature' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE }\033[0 [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_temperature_sensor_2' key: 1652678148 name: 'e-kart temperature sensor 2' unique_id: 'e-kartsensore-kart_temperature_sensor_2' icon: '' unit_of_measurement: '°C' accuracy_decimals: 0 force_update: NO device_class: 'temperature' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE }\033[0 [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_power_tube_temperature' key: 880855315 name: 'e-kart power tube temperature' unique_id: 'e-kartsensore-kart_power_tube_temperature' icon: '' unit_of_measurement: '°C' accuracy_decimals: 0 force_update: NO device_class: 'temperature' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NON [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_state_of_charge' key: 332362208 name: 'e-kart state of charge' unique_id: 'e-kartsensore-kart_state_of_charge' icon: 'mdi:battery-50' unit_of_measurement: '%' accuracy_decimals: 0 force_update: NO device_class: '' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_capacity_remaining' key: 3338503577 name: 'e-kart capacity remaining' unique_id: 'e-kartsensore-kart_capacity_remaining' icon: 'mdi:battery-50' unit_of_measurement: 'Ah' accuracy_decimals: 0 force_update: NO device_class: '' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:30][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_total_battery_capacity_setting' key: 2700436242 name: 'e-kart total battery capacity setting' unique_id: 'e-kartsensore-kart_total_battery_capacity_setting' icon: '' unit_of_measurement: 'Ah' accuracy_decimals: 0 force_update: NO device_class: '' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY [21:51:31][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_charging_cycles' key: 2968283233 name: 'e-kart charging cycles' unique_id: 'e-kartsensore-kart_charging_cycles' icon: 'mdi:battery-sync' unit_of_measurement: '' accuracy_decimals: 0 force_update: NO device_class: '' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:31][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_total_charging_cycle_capacity' key: 1552445950 name: 'e-kart total charging cycle capacity' unique_id: 'e-kartsensore-kart_total_charging_cycle_capacity' icon: '' unit_of_measurement: '' accuracy_decimals: 0 force_update: NO device_class: '' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATE [21:51:31][V][ble_client:139]: cfg_mtu status 0, mtu 131 [21:51:31][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_total_runtime' key: 1094436031 name: 'e-kart total runtime' unique_id: 'e-kartsensore-kart_total_runtime' icon: 'mdi:timelapse' unit_of_measurement: 's' accuracy_decimals: 0 force_update: NO device_class: '' state_class: STATE_CLASS_TOTAL_INCREASING legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:31][V][ble_client:164]: [c8:47:8c:e2:95:b2] ESP_GATTC_SEARCH_CMPL_EVT [21:51:31][I][ble_client:166]: Service UUID: 0x1800 [21:51:31][I][ble_client:167]: start_handle: 0x1 end_handle: 0x9 [21:51:31][I][ble_client:378]: characteristic 0x2A00, handle 0x3, properties 0xa [21:51:31][I][ble_client:378]: characteristic 0x2A01, handle 0x5, properties 0xa [21:51:31][I][ble_client:378]: characteristic 0x2A02, handle 0x7, properties 0x2 [21:51:31][I][ble_client:378]: characteristic 0x2A04, handle 0x9, properties 0x2 [21:51:31][I][ble_client:166]: Service UUID: 0x1801 [21:51:31][I][ble_client:167]: start_handle: 0xa end_handle: 0xd [21:51:31][I][ble_client:378]: characteristic 0x2A05, handle 0xc, properties 0x22 [21:51:31][V][ble_client:413]: descriptor 0x2902, handle 0xd [21:51:31][I][ble_client:166]: Service UUID: 0xFFE0 [21:51:31][I][ble_client:167]: start_handle: 0xe end_handle: 0x13 [21:51:31][I][ble_client:378]: characteristic 0xFFE2, handle 0x10, properties 0x4 [21:51:31][I][ble_client:378]: characteristic 0xFFE1, handle 0x12, properties 0x1c [21:51:31][V][ble_client:413]: descriptor 0x2902, handle 0x13 [21:51:31][I][ble_client:166]: Service UUID: 0x180A [21:51:31][I][ble_client:167]: start_handle: 0x14 end_handle: 0x26 [21:51:31][I][ble_client:378]: characteristic 0x2A29, handle 0x16, properties 0x2 [21:51:31][I][ble_client:378]: characteristic 0x2A24, handle 0x18, properties 0x2 [21:51:31][I][ble_client:378]: characteristic 0x2A25, handle 0x1a, properties 0x2 [21:51:31][I][ble_client:378]: characteristic 0x2A27, handle 0x1c, properties 0x2 [21:51:31][I][ble_client:378]: characteristic 0x2A26, handle 0x1e, properties 0x2 [21:51:31][I][ble_client:378]: characteristic 0x2A28, handle 0x20, properties 0x2 [21:51:31][I][ble_client:378]: characteristic 0x2A23, handle 0x22, properties 0x2 [21:51:31][I][ble_client:378]: characteristic 0x2A2A, handle 0x24, properties 0x2 [21:51:31][I][ble_client:378]: characteristic 0x2A50, handle 0x26, properties 0x2 [21:51:31][I][ble_client:166]: Service UUID: 0x180F [21:51:31][I][ble_client:167]: start_handle: 0x27 end_handle: 0x2a [21:51:31][I][ble_client:378]: characteristic 0x2A19, handle 0x29, properties 0x12 [21:51:31][V][ble_client:413]: descriptor 0x2902, handle 0x2a [21:51:31][I][ble_client:166]: Service UUID: F000FFC0-0451-4000-B000-000000000000 [21:51:31][I][ble_client:167]: start_handle: 0x2b end_handle: 0x33 [21:51:31][I][ble_client:378]: characteristic F000FFC1-0451-4000-B000-000000000000, handle 0x2d, properties 0x1c [21:51:31][V][ble_client:413]: descriptor 0x2902, handle 0x2e [21:51:31][V][ble_client:413]: descriptor 0x2901, handle 0x2f [21:51:31][I][ble_client:378]: characteristic F000FFC2-0451-4000-B000-000000000000, handle 0x31, properties 0x1c [21:51:31][V][ble_client:413]: descriptor 0x2902, handle 0x32 [21:51:31][V][ble_client:413]: descriptor 0x2901, handle 0x33 [21:51:31][D][esp32_ble_tracker:217]: Starting scan... [21:51:31][VV][scheduler:026]: set_timeout(name='scan', timeout=600000) [21:51:31][V][component:199]: Component esp32_ble_tracker took a long time for an operation (0.26 s). [21:51:31][V][component:200]: Components should block for at most 20-30ms. [21:51:31][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_balancing_current' key: 2996511115 name: 'e-kart balancing current' unique_id: 'e-kartsensore-kart_balancing_current' icon: '' unit_of_measurement: 'A' accuracy_decimals: 2 force_update: NO device_class: 'current' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:31][I][jk_bms_ble:158]: Request device info [21:51:31][D][jk_bms_ble:1077]: Write register: AA.55.90.EB.97.00.00.00.00.00.00.00.00.00.00.00.00.00.00.11 (20) [21:51:31][VV][api.service:132]: send_list_entities_sensor_response: ListEntitiesSensorResponse { object_id: 'e-kart_errors_bitmask' key: 190373881 name: 'e-kart errors bitmask' unique_id: 'e-kartsensore-kart_errors_bitmask' icon: 'mdi:alert-circle-outline' unit_of_measurement: '' accuracy_decimals: 0 force_update: NO device_class: '' state_class: STATE_CLASS_MEASUREMENT legacy_last_reset_type: LAST_RESET_NONE disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:31][VV][api.service:148]: send_list_entities_switch_response: ListEntitiesSwitchResponse { object_id: 'e-kart_charging' key: 659392089 name: 'e-kart charging' unique_id: 'e-kartswitche-kart_charging' icon: 'mdi:battery-charging-50' assumed_state: NO disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE device_class: '' } [21:51:31][VV][api.service:148]: send_list_entities_switch_response: ListEntitiesSwitchResponse { object_id: 'e-kart_discharging' key: 757500221 name: 'e-kart discharging' unique_id: 'e-kartswitche-kart_discharging' icon: 'mdi:battery-charging-50' assumed_state: NO disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE device_class: '' } [21:51:31][VV][api.service:148]: send_list_entities_switch_response: ListEntitiesSwitchResponse { object_id: 'e-kart_balancer' key: 1924769722 name: 'e-kart balancer' unique_id: 'e-kartswitche-kart_balancer' icon: 'mdi:seesaw' assumed_state: NO disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE device_class: '' } [21:51:31][VV][api.service:148]: send_list_entities_switch_response: ListEntitiesSwitchResponse { object_id: 'e-kart_enable_bluetooth_connection' key: 2484820473 name: 'e-kart enable bluetooth connection' unique_id: 'e-kartswitche-kart_enable_bluetooth_connection' icon: 'mdi:bluetooth' assumed_state: NO disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE device_class: '' } [21:51:31][VV][api.service:306]: send_list_entities_button_response: ListEntitiesButtonResponse { object_id: 'e-kart_retrieve_settings' key: 1696981584 name: 'e-kart retrieve settings' unique_id: 'e-kartbuttone-kart_retrieve_settings' icon: 'mdi:cog' disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE device_class: '' } [21:51:31][VV][api.service:306]: send_list_entities_button_response: ListEntitiesButtonResponse { object_id: 'e-kart_retrieve_device_info' key: 1667407104 name: 'e-kart retrieve device info' unique_id: 'e-kartbuttone-kart_retrieve_device_info' icon: 'mdi:information-variant' disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE device_class: '' } [21:51:31][I][jk_bms_ble:988]: Device info frame (300 bytes): [21:51:31][VV][jk_bms_ble:989]: 55.AA.EB.90.03.FC.4A.4B.2D.42.32.41.32.34.53.32.30.50.00.00.00.00.31.30.2E.58.47.00.00.00.31.30.2E.30.37.00.00.00.2C.1B.04.00.01.00.00.00.4A.4B.2D.42.32.41.32.34.53.32.30.50.00.00.00.00.31.32.33.34.00.00.00.00.00.00.00.00.00.00.00.00.32.32.30.35.31.31.00.00.32.30.34.31.38.30.33.30.32.38.00.30.30.30.30.00.49.6E.70.75.74.20.55.73.65.72.64.61.74.61.00.00.31.32.33.34.35.36.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 [21:51:31][VV][jk_bms_ble:990]: 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.FC (140) [21:51:31][I][jk_bms_ble:1040]: Vendor ID: JK-B2A24S20P [21:51:31][I][jk_bms_ble:1041]: Hardware version: 10.XG [21:51:31][I][jk_bms_ble:1042]: Software version: 10.07 [21:51:31][I][jk_bms_ble:1043]: Uptime: 269100 s [21:51:31][I][jk_bms_ble:1044]: Power on count: 1 [21:51:31][I][jk_bms_ble:1045]: Device name: JK-B2A24S20P [21:51:31][I][jk_bms_ble:1046]: Device passcode: 1234 [21:51:31][I][jk_bms_ble:1047]: Manufacturing date: 220511 [21:51:31][I][jk_bms_ble:1048]: Serial number: 2041803028 [21:51:31][I][jk_bms_ble:1049]: Passcode: 0000 [21:51:31][I][jk_bms_ble:1050]: User data: Input Userdata [21:51:31][I][jk_bms_ble:1051]: Setup passcode: 123456 [21:51:31][V][component:199]: Component esp32_ble_tracker took a long time for an operation (0.13 s). [21:51:31][V][component:200]: Components should block for at most 20-30ms. [21:51:31][VV][api.service:166]: send_list_entities_text_sensor_response: ListEntitiesTextSensorResponse { object_id: 'e-kart_errors' key: 1889080433 name: 'e-kart errors' unique_id: 'e-karttext_sensore-kart_errors' icon: 'mdi:alert-circle-outline' disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:31][VV][api.service:166]: send_list_entities_text_sensor_response: ListEntitiesTextSensorResponse { object_id: 'e-kart_total_runtime_formatted' key: 3420366294 name: 'e-kart total runtime formatted' unique_id: 'e-karttext_sensore-kart_total_runtime_formatted' icon: 'mdi:timelapse' disabled_by_default: NO entity_category: ENTITY_CATEGORY_NONE } [21:51:31][VV][api.service:055]: send_list_entities_done_response: ListEntitiesDoneResponse {} [21:51:32][VV][api.service:391]: on_subscribe_states_request: SubscribeStatesRequest {} [21:51:32][VV][api.service:453]: on_subscribe_homeassistant_services_request: SubscribeHomeassistantServicesRequest {} [21:51:32][VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse { key: 659392089 state: NO missing_state: YES } [21:51:32][VV][api.service:480]: on_subscribe_home_assistant_states_request: SubscribeHomeAssistantStatesRequest {} [21:51:32][VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse { key: 757500221 state: NO missing_state: YES } [21:51:32][VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse { key: 1614319409 state: NO missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666447 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666444 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666445 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666442 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666443 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666440 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666441 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666438 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666439 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864941 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864940 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864943 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864942 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864937 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864936 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864939 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864938 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864933 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864932 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532052 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532053 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532054 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532055 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532048 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 375572444 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2598392158 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 3878544690 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2996459116 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 3551258014 state: nan missing_state: YES } [21:51:32][VV][scheduler:186]: Running interval 'update' with interval=5000 last_execution=7567 (now=12567) [21:51:32][I][jk_bms_ble:274]: Request status notification [21:51:32][D][jk_bms_ble:1077]: Write register: AA.55.90.EB.96.00.00.00.00.00.00.00.00.00.00.00.00.00.00.10 (20) [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1547985143 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 136745041 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 3360996619 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1050579183 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 4207234647 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 454243995 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1652678151 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1652678148 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 880855315 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 332362208 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 3338503577 state: nan missing_state: YES } [21:51:32][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2700436242 state: nan missing_state: YES } [21:51:32][I][jk_bms_ble:748]: Settings frame (300 bytes): [21:51:32][VV][jk_bms_ble:749]: 55.AA.EB.90.01.FC.58.02.00.00.28.0A.00.00.78.0A.00.00.DE.0D.00.00.48.0D.00.00.05.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.F6.09.00.00.50.C3.00.00.1E.00.00.00.3C.00.00.00.20.BF.02.00.2C.01.00.00.3C.00.00.00.3C.00.00.00.BC.02.00.00.58.02.00.00.F4.01.00.00.58.02.00.00.26.02.00.00.00.00.00.00.0A.00.00.00.84.03.00.00.BC.02.00.00.18.00.00.00.01.00.00.00.00.00.00.00.00.00.00.00.50.C3.00.00.E8.03.00.00.B8.0B.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 [21:51:33][VV][jk_bms_ble:750]: 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.74 (140) [21:51:33][I][jk_bms_ble:774]: Unknown6: 0.600000 [21:51:33][I][jk_bms_ble:776]: Cell UVP: 2.600000 V [21:51:33][I][jk_bms_ble:778]: Cell UVPR: 2.680000 V [21:51:33][I][jk_bms_ble:780]: Cell OVP: 3.550000 V [21:51:33][I][jk_bms_ble:782]: Cell OVPR: 3.400000 V [21:51:33][I][jk_bms_ble:784]: Balance trigger voltage: 0.005000 V [21:51:33][I][jk_bms_ble:790]: Power off voltage: 2.550000 V [21:51:33][I][jk_bms_ble:792]: Max. charge current: 50.000004 A [21:51:33][I][jk_bms_ble:794]: Charge OCP delay: 30.000000 s [21:51:33][I][jk_bms_ble:796]: Charge OCP recovery delay: 60.000000 s [21:51:33][I][jk_bms_ble:798]: Max. discharge current: 180.000015 A [21:51:33][I][jk_bms_ble:800]: Discharge OCP recovery delay: 300.000000 s [21:51:33][I][jk_bms_ble:802]: Discharge OCP recovery delay: 60.000000 s [21:51:33][I][jk_bms_ble:804]: SCP recovery time: 60.000000 s [21:51:33][I][jk_bms_ble:806]: Max. balance current: 0.700000 A [21:51:33][I][jk_bms_ble:808]: Charge OTP: 60.000000 °C [21:51:33][I][jk_bms_ble:810]: Charge OTP recovery: 50.000000 °C [21:51:33][I][jk_bms_ble:812]: Discharge OTP: 60.000000 °C [21:51:33][I][jk_bms_ble:814]: Discharge OTP recovery: 55.000000 °C [21:51:33][I][jk_bms_ble:816]: Charge UTP: 0.000000 °C [21:51:33][I][jk_bms_ble:818]: Charge UTP recovery: 1.000000 °C [21:51:33][I][jk_bms_ble:820]: MOS OTP: 90.000000 °C [21:51:33][I][jk_bms_ble:822]: MOS OTP recovery: 70.000000 °C [21:51:33][I][jk_bms_ble:824]: Cell count: 24.000000 [21:51:33][I][jk_bms_ble:827]: Charge switch: on [21:51:33][D][switch:037]: 'e-kart charging': Sending state ON [21:51:33][VV][api.service:156]: send_switch_state_response: SwitchStateResponse { key: 659392089 state: YES } [21:51:33][I][jk_bms_ble:831]: Discharge switch: off [21:51:33][D][switch:037]: 'e-kart discharging': Sending state OFF [21:51:33][VV][api.service:156]: send_switch_state_response: SwitchStateResponse { key: 757500221 state: NO } [21:51:33][I][jk_bms_ble:835]: Balancer switch: off [21:51:33][D][switch:037]: 'e-kart balancer': Sending state OFF [21:51:33][VV][api.service:156]: send_switch_state_response: SwitchStateResponse { key: 1924769722 state: NO } [21:51:33][I][jk_bms_ble:839]: Nominal battery capacity: 50.000004 Ah [21:51:33][I][jk_bms_ble:841]: Unknown134: 1.000000 [21:51:33][I][jk_bms_ble:843]: Unknown138: 3.000000 [21:51:33][I][jk_bms_ble:873]: Con. wire resistance 1: 0.000000 Ohm [21:51:33][I][jk_bms_ble:873]: Con. wire resistance 19: 0.000000 Ohm [21:51:33][I][jk_bms_ble:873]: Con. wire resistance 20: 0.000000 Ohm [21:51:33][I][jk_bms_ble:873]: Con. wire resistance 21: 0.000000 Ohm [21:51:33][I][jk_bms_ble:873]: Con. wire resistance 22: 0.000000 Ohm [21:51:33][I][jk_bms_ble:873]: Con. wire resistance 23: 0.000000 Ohm [21:51:33][I][jk_bms_ble:873]: Con. wire resistance 24: 0.000000 Ohm [21:51:33][V][component:199]: Component esp32_ble_tracker took a long time for an operation (0.42 s). [21:51:33][V][component:200]: Components should block for at most 20-30ms. [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2968283233 state: nan missing_state: YES } [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1552445950 state: nan missing_state: YES } [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1094436031 state: nan missing_state: YES } [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2996511115 state: nan missing_state: YES } [21:51:33][VV][jk_bms_ble:350]: Cell info frame (300 bytes): [21:51:33][VV][jk_bms_ble:351]: 55.AA.EB.90.02.FC.D4.0C.D0.0C.CF.0C.D0.0C.D0.0C.CF.0C.CF.0C.D1.0C.D0.0C.CF.0C.D0.0C.CF.0C.D2.0C.D4.0C.CF.0C.CF.0C.D0.0C.CF.0C.D1.0C.D2.0C.D2.0C.D2.0C.D5.0C.D1.0C.FF.FF.FF.00.D1.0C.05.00.00.03.64.00.6C.00.68.00.63.00.5F.00.5D.00.5B.00.5E.00.7F.00.79.00.6B.00.6F.00.6F.00.68.00.64.00.60.00.5B.00.58.00.58.00.5B.00.60.00.65.00.68.00.61.00.00.00.00.00.00.00.8F.33.01.00.00.00.00.00.00.00.00.00.CF.00.CF.00.EA.00.00.00.00.00.00.55.34.A7.00.00.50.C3.00.00 (150) [21:51:33][VV][jk_bms_ble:352]: 00.00.00.00.F9.34.00.00.64.00.40.05.1C.1C.04.00.01.00.85.06.00.00.00.00.00.00.00.00.00.00.00.00.07.00.01.00.00.00.FA.03.00.00.00.00.00.D2.3F.40.00.00.00.00.E2.04.00.00.00.00.00.01.00.03.00.00.1A.19.29.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.43 (150) [21:51:33][V][sensor:074]: 'e-kart cell voltage 1': Received new state 3.284000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 1': Sending state 3.28400 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666447 state: 3.284 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 2': Received new state 3.280000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 2': Sending state 3.28000 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666444 state: 3.28 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 3': Received new state 3.279000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 3': Sending state 3.27900 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666445 state: 3.279 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 4': Received new state 3.280000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 4': Sending state 3.28000 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666442 state: 3.28 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 5': Received new state 3.280000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 5': Sending state 3.28000 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666443 state: 3.28 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 6': Received new state 3.279000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 6': Sending state 3.27900 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666440 state: 3.279 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 7': Received new state 3.279000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 7': Sending state 3.27900 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666441 state: 3.279 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 8': Received new state 3.281000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 8': Sending state 3.28100 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666438 state: 3.281 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 9': Received new state 3.280000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 9': Sending state 3.28000 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666439 state: 3.28 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 10': Received new state 3.279000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 10': Sending state 3.27900 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864941 state: 3.279 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 11': Received new state 3.280000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 11': Sending state 3.28000 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864940 state: 3.28 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 12': Received new state 3.279000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 12': Sending state 3.27900 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864943 state: 3.279 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 13': Received new state 3.282000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 13': Sending state 3.28200 V with 3 decimals of accuracy [21:51:33][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864942 state: 3.282 missing_state: NO } [21:51:33][V][sensor:074]: 'e-kart cell voltage 14': Received new state 3.284000 [21:51:33][D][sensor:125]: 'e-kart cell voltage 14': Sending state 3.28400 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864937 state: 3.284 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 15': Received new state 3.279000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 15': Sending state 3.27900 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864936 state: 3.279 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 16': Received new state 3.279000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 16': Sending state 3.27900 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864939 state: 3.279 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 17': Received new state 3.280000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 17': Sending state 3.28000 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864938 state: 3.28 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 18': Received new state 3.279000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 18': Sending state 3.27900 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864933 state: 3.279 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 19': Received new state 3.281000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 19': Sending state 3.28100 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864932 state: 3.281 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 20': Received new state 3.282000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 20': Sending state 3.28200 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532052 state: 3.282 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 21': Received new state 3.282000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 21': Sending state 3.28200 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532053 state: 3.282 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 22': Received new state 3.282000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 22': Sending state 3.28200 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532054 state: 3.282 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 23': Received new state 3.285000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 23': Sending state 3.28500 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532055 state: 3.285 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart cell voltage 24': Received new state 3.281000 [21:51:34][D][sensor:125]: 'e-kart cell voltage 24': Sending state 3.28100 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 597532048 state: 3.281 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart min cell voltage': Received new state 3.279000 [21:51:34][D][sensor:125]: 'e-kart min cell voltage': Sending state 3.27900 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 375572444 state: 3.279 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart max cell voltage': Received new state 3.285000 [21:51:34][D][sensor:125]: 'e-kart max cell voltage': Sending state 3.28500 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2598392158 state: 3.285 missing_state: NO } [21:51:34][I][jk_bms_ble:409]: Enabled cells: FF FF FF 00 (0xFF 0x1F: 13 cells, 0xFF 0xFF: 16 cells) [21:51:34][V][sensor:074]: 'e-kart average cell voltage': Received new state 3.281000 [21:51:34][D][sensor:125]: 'e-kart average cell voltage': Sending state 3.28100 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1547985143 state: 3.281 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart delta cell voltage': Received new state 0.005000 [21:51:34][D][sensor:125]: 'e-kart delta cell voltage': Sending state 0.00500 V with 3 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 3551258014 state: 0.005 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart max voltage cell': Received new state 1.000000 [21:51:34][D][sensor:125]: 'e-kart max voltage cell': Sending state 1.00000 with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2996459116 state: 1 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart min voltage cell': Received new state 4.000000 [21:51:34][D][sensor:125]: 'e-kart min voltage cell': Sending state 4.00000 with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 3878544690 state: 4 missing_state: NO } [21:51:34][I][jk_bms_ble:428]: Unknown112: 00 00 [21:51:34][I][jk_bms_ble:430]: Wire resistance warning: 00 00 00 00 [21:51:34][V][sensor:074]: 'e-kart total voltage': Received new state 13.199000 [21:51:34][D][sensor:125]: 'e-kart total voltage': Sending state 13.19900 V with 2 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 136745041 state: 13.199 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart current': Received new state 0.000000 [21:51:34][D][sensor:125]: 'e-kart current': Sending state 0.00000 A with 2 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 3360996619 state: 0 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart power': Received new state 0.000000 [21:51:34][D][sensor:125]: 'e-kart power': Sending state 0.00000 W with 2 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1050579183 state: 0 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart charging power': Received new state 0.000000 [21:51:34][D][sensor:125]: 'e-kart charging power': Sending state 0.00000 W with 2 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 4207234647 state: 0 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart discharging power': Received new state 0.000000 [21:51:34][D][sensor:125]: 'e-kart discharging power': Sending state 0.00000 W with 2 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 454243995 state: 0 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart temperature sensor 1': Received new state 20.700001 [21:51:34][D][sensor:125]: 'e-kart temperature sensor 1': Sending state 20.70000 °C with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1652678151 state: 20.7 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart temperature sensor 2': Received new state 20.700001 [21:51:34][D][sensor:125]: 'e-kart temperature sensor 2': Sending state 20.70000 °C with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1652678148 state: 20.7 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart power tube temperature': Received new state 23.400000 [21:51:34][D][sensor:125]: 'e-kart power tube temperature': Sending state 23.40000 °C with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 880855315 state: 23.4 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart errors bitmask': Received new state 43605.000000 [21:51:34][D][sensor:125]: 'e-kart errors bitmask': Sending state 43605.00000 with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 190373881 state: 43605 missing_state: NO } [21:51:34][V][text_sensor:016]: 'e-kart errors': Received new state Charge Overtemperature;Error 0x00 0x04;Error 0x00 0x10;Error 0x00 0x40;Error 0x02 0x00;Error 0x08 0x00;Error 0x20 0x00;Error 0x80 0x00 [21:51:34][D][text_sensor:067]: 'e-kart errors': Sending state 'Charge Overtemperature;Error 0x00 0x04;Error 0x00 0x10;Error 0x00 0x40;Error 0x02 0x00;Error 0x08 0x00;Error 0x20 0x00;Error 0x80 0x00' [21:51:34][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse { key: 1889080433 state: 'Charge Overtemperature;Error 0x00 0x04;Error 0x00 0x10;Error 0x00 0x40;Error 0x02 0x00;Error 0x08 0x00;Error 0x20 0x00;Error 0x80 0x00' missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart balancing current': Received new state 0.000000 [21:51:34][D][sensor:125]: 'e-kart balancing current': Sending state 0.00000 A with 2 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2996511115 state: 0 missing_state: NO } [21:51:34][D][binary_sensor:036]: 'e-kart balancing': Sending state OFF [21:51:34][VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse { key: 1614319409 state: NO missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart state of charge': Received new state 85.000000 [21:51:34][D][sensor:125]: 'e-kart state of charge': Sending state 85.00000 % with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 332362208 state: 85 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart capacity remaining': Received new state 42.804001 [21:51:34][D][sensor:125]: 'e-kart capacity remaining': Sending state 42.80400 Ah with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 3338503577 state: 42.804 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart total battery capacity setting': Received new state 50.000004 [21:51:34][D][sensor:125]: 'e-kart total battery capacity setting': Sending state 50.00000 Ah with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2700436242 state: 50 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart charging cycles': Received new state 0.000000 [21:51:34][D][sensor:125]: 'e-kart charging cycles': Sending state 0.00000 with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 2968283233 state: 0 missing_state: NO } [21:51:34][V][sensor:074]: 'e-kart total charging cycle capacity': Received new state 13561.000000 [21:51:34][D][sensor:125]: 'e-kart total charging cycle capacity': Sending state 13561.00000 with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1552445950 state: 13561 missing_state: NO } [21:51:34][I][jk_bms_ble:507]: Unknown158: 64 00 (always 0x64 0x00?) [21:51:34][I][jk_bms_ble:510]: Unknown160: 40 05 (always 0xC5 0x09?) [21:51:34][V][sensor:074]: 'e-kart total runtime': Received new state 269340.000000 [21:51:34][D][sensor:125]: 'e-kart total runtime': Sending state 269340.00000 s with 0 decimals of accuracy [21:51:34][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1094436031 state: 269340 missing_state: NO } [21:51:35][V][text_sensor:016]: 'e-kart total runtime formatted': Received new state 3d 2h [21:51:35][D][text_sensor:067]: 'e-kart total runtime formatted': Sending state '3d 2h' [21:51:35][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse { key: 3420366294 state: '3d 2h' missing_state: NO } [21:51:35][D][binary_sensor:036]: 'e-kart charging': Sending state ON [21:51:35][VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse { key: 659392089 state: YES missing_state: NO } [21:51:35][D][binary_sensor:036]: 'e-kart discharging': Sending state OFF [21:51:35][VV][api.service:070]: send_binary_sensor_state_response: BinarySensorStateResponse { key: 757500221 state: NO missing_state: NO } [21:51:35][I][jk_bms_ble:522]: Unknown168: 85.06.00.00.00.00.00.00.00.00.00.00.00.00.07.00.01.00.00.00.FA.03.00.00.00.00.00.D2.3F.40.00.00.00.00.E2.04.00.00.00.00.00.01.00.03.00.00 (46) [21:51:35][I][jk_bms_ble:536]: Unknown189: 03 00 [21:51:35][I][jk_bms_ble:539]: Unknown192: 00 [21:51:35][I][jk_bms_ble:541]: Unknown193: 00 00 (0x00 0x8D) [21:51:35][I][jk_bms_ble:543]: Unknown195: D2 3F (0x21 0x40) [21:51:35][V][component:199]: Component esp32_ble_tracker took a long time for an operation (1.59 s). [21:51:35][V][component:200]: Components should block for at most 20-30ms. [21:51:35][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 190373881 state: 43605 missing_state: NO } [21:51:35][VV][api.service:156]: send_switch_state_response: SwitchStateResponse { key: 659392089 state: YES } [21:51:35][VV][api.service:156]: send_switch_state_response: SwitchStateResponse { key: 757500221 state: NO } [21:51:35][VV][api.service:156]: send_switch_state_response: SwitchStateResponse { key: 1924769722 state: NO } [21:51:35][VV][api.service:156]: send_switch_state_response: SwitchStateResponse { key: 2484820473 state: YES } [21:51:35][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse { key: 1889080433 state: 'Charge Overtemperature;Error 0x00 0x04;Error 0x00 0x10;Error 0x00 0x40;Error 0x02 0x00;Error 0x08 0x00;Error 0x20 0x00;Error 0x80 0x00' missing_state: NO } [21:51:35][VV][api.service:174]: send_text_sensor_state_response: TextSensorStateResponse { key: 3420366294 state: '3d 2h' missing_state: NO } [21:51:37][VV][scheduler:186]: Running interval 'update' with interval=5000 last_execution=12567 (now=17567) [21:51:38][VV][jk_bms_ble:350]: Cell info frame (300 bytes): [21:51:38][VV][jk_bms_ble:351]: 55.AA.EB.90.02.06.D4.0C.D1.0C.CF.0C.D0.0C.D0.0C.CF.0C.D0.0C.D1.0C.D0.0C.D0.0C.D0.0C.D0.0C.D2.0C.D4.0C.D0.0C.D0.0C.D0.0C.D0.0C.D0.0C.D2.0C.D4.0C.D4.0C.D4.0C.D1.0C.FF.FF.FF.00.D1.0C.06.00.16.05.64.00.6C.00.68.00.63.00.5F.00.5D.00.5B.00.5E.00.7F.00.79.00.6B.00.6F.00.6F.00.68.00.64.00.60.00.5B.00.58.00.58.00.5B.00.60.00.65.00.68.00.61.00.00.00.00.00.00.00.94.33.01.00.00.00.00.00.00.00.00.00.CF.00.CF.00.EA.00.00.00.00.00.00.55.34.A7.00.00.50.C3.00.00 (150) [21:51:38][VV][jk_bms_ble:352]: 00.00.00.00.F9.34.00.00.64.00.40.05.21.1C.04.00.01.00.85.06.00.00.00.00.00.00.00.00.00.00.00.00.07.00.01.00.00.00.FA.03.00.00.00.00.00.D2.3F.40.00.00.00.00.E2.04.00.00.00.00.00.01.00.03.00.00.4F.19.29.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.AE (150) [21:51:38][V][sensor:074]: 'e-kart cell voltage 1': Received new state 3.284000 [21:51:38][D][sensor:125]: 'e-kart cell voltage 1': Sending state 3.28400 V with 3 decimals of accuracy [21:51:38][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666447 state: 3.284 missing_state: NO } [21:51:38][V][sensor:074]: 'e-kart cell voltage 2': Received new state 3.281000 [21:51:38][D][sensor:125]: 'e-kart cell voltage 2': Sending state 3.28100 V with 3 decimals of accuracy [21:51:38][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666444 state: 3.281 missing_state: NO } [21:51:38][V][sensor:074]: 'e-kart cell voltage 3': Received new state 3.279000 [21:51:38][D][sensor:125]: 'e-kart cell voltage 3': Sending state 3.27900 V with 3 decimals of accuracy [21:51:38][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666445 state: 3.279 missing_state: NO } [21:51:38][V][sensor:074]: 'e-kart cell voltage 4': Received new state 3.280000 [21:51:38][D][sensor:125]: 'e-kart cell voltage 4': Sending state 3.28000 V with 3 decimals of accuracy [21:51:38][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666442 state: 3.28 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 5': Received new state 3.280000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 5': Sending state 3.28000 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666443 state: 3.28 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 6': Received new state 3.279000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 6': Sending state 3.27900 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666440 state: 3.279 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 7': Received new state 3.280000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 7': Sending state 3.28000 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666441 state: 3.28 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 8': Received new state 3.281000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 8': Sending state 3.28100 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666438 state: 3.281 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 9': Received new state 3.280000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 9': Sending state 3.28000 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 1916666439 state: 3.28 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 10': Received new state 3.280000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 10': Sending state 3.28000 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864941 state: 3.28 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 11': Received new state 3.280000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 11': Sending state 3.28000 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864940 state: 3.28 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 12': Received new state 3.280000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 12': Sending state 3.28000 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864943 state: 3.28 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 13': Received new state 3.282000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 13': Sending state 3.28200 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864942 state: 3.282 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 14': Received new state 3.284000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 14': Sending state 3.28400 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864937 state: 3.284 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 15': Received new state 3.280000 [21:51:39][D][sensor:125]: 'e-kart cell voltage 15': Sending state 3.28000 V with 3 decimals of accuracy [21:51:39][VV][api.service:140]: send_sensor_state_response: SensorStateResponse { key: 647864936 state: 3.28 missing_state: NO } [21:51:39][V][sensor:074]: 'e-kart cell voltage 16': Received new state 3.280000 ```
syssi commented 2 years ago

The most important bytes from your log:

Device info frame:

55.AA.EB.90.03.FC.4A.4B.2D.42.32.41.32.34.53.32.30.50.00.00.00.00.31.30.2E.58.47.00.00.00.31.30.2E.30.37.00.00.00.2C.1B.04.00.01.00.00.00.4A.4B.2D.42.32.41.32.34.53.32.30.50.00.00.00.00.31.32.33.34.00.00.00.00.00.00.00.00.00.00.00.00.32.32.30.35.31.31.00.00.32.30.34.31.38.30.33.30.32.38.00.30.30.30.30.00.49.6E.70.75.74.20.55.73.65.72.64.61.74.61.00.00.31.32.33.34.35.36.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.FC

Settings frame:

55.AA.EB.90.01.FC.58.02.00.00.28.0A.00.00.78.0A.00.00.DE.0D.00.00.48.0D.00.00.05.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.F6.09.00.00.50.C3.00.00.1E.00.00.00.3C.00.00.00.20.BF.02.00.2C.01.00.00.3C.00.00.00.3C.00.00.00.BC.02.00.00.58.02.00.00.F4.01.00.00.58.02.00.00.26.02.00.00.00.00.00.00.0A.00.00.00.84.03.00.00.BC.02.00.00.18.00.00.00.01.00.00.00.00.00.00.00.00.00.00.00.50.C3.00.00.E8.03.00.00.B8.0B.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.74

Cell info frame:

55.AA.EB.90.02.FC.D4.0C.D0.0C.CF.0C.D0.0C.D0.0C.CF.0C.CF.0C.D1.0C.D0.0C.CF.0C.D0.0C.CF.0C.D2.0C.D4.0C.CF.0C.CF.0C.D0.0C.CF.0C.D1.0C.D2.0C.D2.0C.D2.0C.D5.0C.D1.0C.FF.FF.FF.00.D1.0C.05.00.00.03.64.00.6C.00.68.00.63.00.5F.00.5D.00.5B.00.5E.00.7F.00.79.00.6B.00.6F.00.6F.00.68.00.64.00.60.00.5B.00.58.00.58.00.5B.00.60.00.65.00.68.00.61.00.00.00.00.00.00.00.8F.33.01.00.00.00.00.00.00.00.00.00.CF.00.CF.00.EA.00.00.00.00.00.00.55.34.A7.00.00.50.C3.00.00.00.00.00.00.F9.34.00.00.64.00.40.05.1C.1C.04.00.01.00.85.06.00.00.00.00.00.00.00.00.00.00.00.00.07.00.01.00.00.00.FA.03.00.00.00.00.00.D2.3F.40.00.00.00.00.E2.04.00.00.00.00.00.01.00.03.00.00.1A.19.29.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.43
syssi commented 2 years ago

I've fixed the total voltage. Compile & flash again.

s1lvi0 commented 2 years ago

Now works perfect, thank you so much.