New JK BMS Hardware Model JK-B2A8S20P-H Erroneous Readings
See original GitHub issueI was able to successfully poll this new hardware with the JK02 protocol. Model: JK-B2A8S20P-H Hardware: 11.XW Software: 11.12 Some of the readings don’t match the JIKONG BMS app. See resistance_cell04 through 8, capacity_remain, and cycle_count?
`Command: getCellData - BLE Cell Data inquiry
Parameter Value Unit
header 55aaeb90
record_type 02
record_counter 47
voltage_cell01 3.186 V
voltage_cell02 3.185 V
voltage_cell03 3.186 V
voltage_cell04 3.185 V
voltage_cell05 3.185 V
voltage_cell06 3.186 V
voltage_cell07 3.185 V
voltage_cell08 3.186 V
voltage_cell09 0.0 V
voltage_cell10 0.0 V
voltage_cell11 0.0 V
voltage_cell12 0.0 V
voltage_cell13 0.0 V
voltage_cell14 0.0 V
voltage_cell15 0.0 V
voltage_cell16 0.0 V
voltage_cell17 0.0 V
voltage_cell18 0.0 V
voltage_cell19 0.0 V
voltage_cell20 0.0 V
voltage_cell21 0.0 V
voltage_cell22 0.0 V
voltage_cell23 0.0 V
voltage_cell24 0.0 V
average_cell_voltage 0.0 V
delta_cell_voltage 0.0 V
current_balancer 0.0
resistance_cell01 0.0 Ohm
resistance_cell02 0.0 Ohm
resistance_cell03 0.0 Ohm
resistance_cell04 0.255 Ohm
resistance_cell05 0.0 Ohm
resistance_cell06 3.186 Ohm
resistance_cell07 0.002 Ohm
resistance_cell08 0.007 Ohm
resistance_cell09 0.049 Ohm
resistance_cell10 0.049 Ohm
resistance_cell11 0.049 Ohm
resistance_cell12 0.049 Ohm
resistance_cell13 0.049 Ohm
resistance_cell14 0.049 Ohm
resistance_cell15 0.049 Ohm
resistance_cell16 0.048 Ohm
resistance_cell17 0.0 Ohm
resistance_cell18 0.0 Ohm
resistance_cell19 0.0 Ohm
resistance_cell20 0.0 Ohm
resistance_cell21 0.0 Ohm
resistance_cell22 0.0 Ohm
resistance_cell23 0.0 Ohm
resistance_cell24 0.0 Ohm
battery_voltage 0.0 V
battery_power 0 W
balance_current 0.0 A
battery_t1 0.0 °C
battery_t2 0.0 °C
mos_temp 0.0 °C
percent_remain 0 %
capacity_remain 17694.72 Ah
nominal_capacity 0.0 Ah
cycle_count 25485
cycle_capacity 14.883 Ah
time 157D0H22M41S
current_charge 25.6
current_discharge 0.0 `
Debug attached. BMS_Debug.txt
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Thank you for the hint with the 32 cells… I added 8 cells in protocols/jk02.py and the read values fit perfectly !!!
Thanks a lot!
[“LittleHex2Short:r/1000”, 2, “Voltage_Cell15”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell16”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell17”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell18”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell19”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell20”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell21”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell22”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell23”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell24”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell25”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell26”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell27”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell28”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell29”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell30”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell31”, “V”], [“LittleHex2Short:r/1000”, 2, “Voltage_Cell32”, “V”], [“discard”, 4, “discard1”, “”], [“LittleHex2Short:r/1000”, 2, “Average_Cell_Voltage”, “V”], [“LittleHex2Short:r/1000”, 2, “Delta_Cell_Voltage”, “V”], [“LittleHex2Short:r/1000”, 2, “Current_Balancer”, “”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell01”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell02”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell03”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell04”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell05”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell06”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell07”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell08”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell09”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell10”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell11”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell12”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell13”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell14”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell15”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell16”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell17”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell18”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell19”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell20”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell21”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell22”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell23”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell24”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell25”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell26”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell27”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell28”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell29”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell30”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell31”, “Ohm”], [“LittleHex2Short:r/1000”, 2, “Resistance_Cell32”, “Ohm”],
I have not changed anything except adding 8 cells in the voltage and resistance section. This cron job has run 24h so far without any problems: ***** /usr/local/bin/jkbms -p c8:47:8c:e5:be:34 -b 115200 -P JK02 -c getCellData -o mqtt -q 192.168.0.55 > /dev/null 2>&1
The edited file: jk02.zip