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
409 stars 137 forks source link

Version 1.5.0 unkown #334

Closed jcastro closed 1 year ago

jcastro commented 1 year ago

Hi @syssi ! I was just testing version 1.50 and came across this unknown logs. Not sure if it's relevant but just wanted to share in case it's something missing or new! Thanks for all your hard work <3

[16:09:31][I][jk_bms_ble:467]: Cell info frame (version 3, 300 bytes) received
[16:09:31][D][sensor:094]: 'jk-bms cell voltage 1': Sending state 3.45800 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms cell voltage 2': Sending state 3.43800 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms cell voltage 3': Sending state 3.44200 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms cell voltage 4': Sending state 3.44000 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms cell voltage 5': Sending state 3.44400 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms cell voltage 6': Sending state 3.43900 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms cell voltage 7': Sending state 3.45300 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms cell voltage 8': Sending state 3.43800 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms min cell voltage': Sending state 3.43800 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms max cell voltage': Sending state 3.45800 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms average cell voltage': Sending state 3.44400 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms delta cell voltage': Sending state 0.02200 V with 3 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms max voltage cell': Sending state 1.00000  with 0 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms min voltage cell': Sending state 2.00000  with 0 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms power tube temperature': Sending state 30.80000 °C with 1 decimals of accuracy
[16:09:31][D][jk_bms_ble:562]: Wire resistance warning bitmask: 0x00 0x00 0x00 0x00
[16:09:31][D][sensor:094]: 'jk-bms total voltage': Sending state 27.55200 V with 2 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms current': Sending state 2.95100 A with 2 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms power': Sending state 81.30596 W with 2 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms charging power': Sending state 81.30596 W with 2 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms discharging power': Sending state 0.00000 W with 2 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms temperature sensor 1': Sending state 27.70000 °C with 1 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms temperature sensor 2': Sending state 28.60000 °C with 1 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms errors bitmask': Sending state 0.00000  with 0 decimals of accuracy
[16:09:31][D][text_sensor:064]: 'jk-bms errors': Sending state ''
[16:09:31][D][sensor:094]: 'jk-bms state of charge': Sending state 100.00000 % with 0 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms capacity remaining': Sending state 2.34200 Ah with 0 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms total battery capacity setting': Sending state 2.34200 Ah with 0 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms charging cycles': Sending state 2.00000  with 0 decimals of accuracy
[16:09:31][D][sensor:094]: 'jk-bms total charging cycle capacity': Sending state 5.57900 Ah with 3 decimals of accuracy
[16:09:31][D][jk_bms_ble:647]: Unknown158: 0x20 0x00 (always 0x64 0x00?)
[16:09:31][D][jk_bms_ble:650]: Unknown160: 0x00 0x00 (always 0xC5 0x09?)
[16:09:31][D][sensor:094]: 'jk-bms total runtime': Sending state 219220.00000 s with 0 decimals of accuracy
[16:09:31][D][text_sensor:064]: 'jk-bms total runtime formatted': Sending state '2d 12h'
[16:09:31][D][jk_bms_ble:663]: Unknown168: 00.00.00.00.00.00.00.00.00.00.00.00.00.00 (14)
[16:09:31][D][jk_bms_ble:677]: Unknown189: 0x00 0x20
[16:09:31][D][jk_bms_ble:681]: Unknown192: 0x00
[16:09:31][D][jk_bms_ble:683]: Unknown193: 0x00 0x10 (0x00 0x8D)
[16:09:31][D][jk_bms_ble:685]: Unknown195: 0x36 0x40 (0x21 0x40)
[16:09:32][I][jk_bms_ble:467]: Cell info frame (version 3, 300 bytes) received
syssi commented 1 year ago

That's fine. The meaning of some bytes of the payload is simply unknown. This output is normal for the log level DEBUG.

jcastro commented 1 year ago

thanks!