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 163 forks source link

JK BMS BLE Protocol #331

Closed EstyGee closed 1 year ago

EstyGee commented 1 year ago

Hello, it's not about [esphome-jk-bms], but it's about reading daa drom JK BMS by my app...

Now i have this: image

I send to BMS 2 command: 0xffe1: aa5590eb9700df5288679d0a096b9af6709a17fd aa5590eb9600f45fe2036dfbe038aabc441234b8

After that i start to recieve data each second, but I was able to decrypt some data. The main thing I need to find is the charge current and the discharge current. Help me please...

First pair: Data from Bluetoothe and after 10 seconds screenshot of app: image image

Second pair: Data from Bluetoothe and after 10 seconds screenshot of app: image image

My English not so good, but I hope you will understood me :)

EstyGee commented 1 year ago

Oh, I think I found charge current and charge power? image

But where is discharge?

EstyGee commented 1 year ago

Ok, solved... it can be negative... Thank for everyone (no one) :)

syssi commented 1 year ago

You are on the right track! Keep in mind there are different time zones and everybody needs some rest. :-)

syssi commented 1 year ago

https://github.com/syssi/esphome-jk-bms/blob/main/components/jk_bms_ble/jk_bms_ble.cpp#L564-L578