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
403 stars 134 forks source link

JK-B2A24S15P Many values are 0 #495

Closed Selyria closed 2 months ago

Selyria commented 2 months ago

I have the problem that yesterday I connected to my BMS with my cell phone where the values are correct a few hours later they are correct in the app but with the Esp they are wrong. Many values are 0

WhatsApp Bild 2024-04-24 um 15 17 13_c675a85a

WhatsApp Bild 2024-04-24 um 15 20 45_2468d582

Unbenannt

syssi commented 2 months ago

Did you set the proper protocol_version at your YAML?

Selyria commented 2 months ago

Sorry, the fault lies with me. I still had version 1.5 on it, then disconnected the power from the ESP and then looked at it with the BMS app and then reconnected the ESP to the power supply. After that the values were gone.

I then thought that the problem was with the ESP, flashed it again with the current version 2.0 and then had the same problems with the values. However, I saw that I now have to use version JK02_32S in the protocol and had JK02 in version 1.5.

Now everything is working again thanks for the tip