LibreSolar / bms-firmware

Firmware for LibreSolar BMS boards based on bq769x0, bq769x2 or ISL94202
https://libre.solar/bms-firmware/
Apache License 2.0
154 stars 70 forks source link

OCV vs. SOC curve configuration improvements #77

Closed martinjaeger closed 4 months ago

martinjaeger commented 4 months ago

Previously, only a pre-selected OCV vs. SOC curve for different cells could be selected, but the curve was not exposed via ThingSet. For the custom cell, every value had to be configured manually.

With the new approach, the custom cell is removed and instead the actual cell configuration can be pre-set with default values for different cell types. These actual values are now also exposed via ThingSet and can be adjusted as well.

martinjaeger commented 4 months ago

Thanks for testing.

I've only tested writing using the Android app via Bluetooth (I'm about to finally publish it in the Play store...) and afterwards checked the values on the shell. Looks like I should have tested writing on the shell as well ;)

It makes sense to increase the buffer size. Will add a commit, probably on Monday.