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
483 stars 162 forks source link

JK PB2A16S20P v15a fw15.29 issues with some values #613

Open Ghilm1986 opened 1 month ago

Ghilm1986 commented 1 month ago

Hi, i tried to connect my new bms but I had issues with some values, capacity and Soc too. I used the protocol you suggest in the discussion. Thanks in advance Screenshot_2024-10-15-17-21-55-33_c3a231c25ed346e59462e84656a70e50 Screenshot_2024-10-15-17-22-00-09_c3a231c25ed346e59462e84656a70e50 Screenshot_2024-10-15-17-22-04-32_c3a231c25ed346e59462e84656a70e50 Screenshot_2024-10-15-17-09-31-27_bd59be8c3f820c1e3d6fc2892aab342d

syssi commented 1 month ago

Could you post your YAML configuration too?

Ghilm1986 commented 1 month ago

jk02-firmware.factory.bin.zip

syssi commented 1 month ago

This is the firmare image which doesn't help. Could you provide your YAML configuration (yourname.yaml).

Ghilm1986 commented 1 month ago

I don t know.. where is it? Esp home... device...3 dots... download yaml? Or the home assistant configuration... (I don t know where download it)

syssi commented 1 month ago

It's the content of the text area. How did you start?

Ghilm1986 commented 1 month ago

Which text area? I copied your script from the discussion you provide me, modified with my data and flashed esp32. It s the second jk bms i m using, i had an old 10 version that is working fine with bt.

syssi commented 1 month ago

Could you provide a link to the discussion you are refering? I would like to have a look at the YAML.

Ghilm1986 commented 1 month ago

https://github.com/syssi/esphome-jk-bms/issues/390 U said to use the protocol at comment 390. Ok i understood u need to check the yaml, but i don't know how I can provide it to you Pls give me some instructions

syssi commented 1 month ago

What about pasting the YAML here?

syssi commented 3 weeks ago

Long story short: This issue is about https://github.com/syssi/esphome-jk-bms/blob/main/esp32-jk-pb-modbus-example.yaml. The Example is incomplete and should be extended using the Modbus register description here:

https://github.com/syssi/esphome-jk-bms/tree/main/docs/pb2a16s20p

I'm looking for some testers. Do you like to do some testing?

This issue is somehow a duplicate of #615.

Didou30 commented 3 weeks ago

Hello, I can test it, I have 5 to start, which yalm should I use to do it in BLE?