Louisvdw / dbus-serialbattery

Battery Monitor driver for serial battery in VenusOS GX systems
MIT License
543 stars 166 forks source link

Calculating the SOC value at jkbms #304

Closed Bonzai10 closed 1 year ago

Bonzai10 commented 1 year ago

Hi, it is possible to calculate the SOC value, available amps and consumed amps with the driver.

Reason: The values of the JKBMS deviate quite a bit from reality over time due to the "Abnormal release of current sensor" error.

So far I had the problem that the BMS had e.g. 98% SOC, then it was only charged with 5 amps, although the voltage was only 53.6. With the version of WaldemarFech the loading/unloading problem is already fixed. Thanks.

Now it would be nice to see a real SOC value. It would be nice to calculate like a shunt which synchronizes itself again and again. Likewise, the integration of the float mode in the WaldemarFech version would be very nice

grafik

Louisvdw commented 1 year ago

Hi It will not be easy to calculate SOC in the driver.

Bonzai10 commented 1 year ago

OK. Thank´s for the info

Dr-Gigavolt commented 1 year ago

Perhaps this can help you: https://github.com/Dr-Gigavolt/dbus-aggregate-batteries