leapconnect icon indicating copy to clipboard operation
leapconnect copied to clipboard

SOH Batteria

Open marmof opened this issue 4 months ago • 2 comments

Buongiorno è possibile avere la lettura del SOH del pacco batterie ?

marmof avatar Jul 06 '26 10:07 marmof

Hi @marmof, thanks for the request!

Unfortunately none of the Leapmotor cloud APIs expose the battery State of Health directly, so there is no "official" SOH value we can read.

However, there is a good way to estimate it from data LeapConnect already records. The car reports the remaining battery energy (kWh) calculated by the BMS, and this value appears to already account for the battery's real capacity. Looking at the energy reported at 100% SOC over the last five months on my own car, there is a small, steady decline: about 38.2 kWh in May/June down to about 37.95 kWh in October (around −0.7%). That is consistent with normal early-life degradation of an LFP pack.

The plan is:

  • Daily estimate: compute a daily "full-charge capacity" from the highest energy reading at 100% SOC, smoothed over several days to filter out temperature effects (cold days read noticeably lower).
  • SOH percentage: compare that capacity against a reference capacity. By default this is the value observed during the first weeks of data, and you can override it with your own value (e.g. from a diagnostic report).
  • Display: show it in the app as "Battery health (estimated)", with the percentage, the absolute kWh and a trend chart, and also publish it as a Home Assistant / MQTT sensor.

A couple of caveats:

  • It is an estimate, not the BMS's own SOH value.
  • It needs an occasional charge to 100% to stay up to date. If you never charge to full, the value won't be updated. A fallback based on the 90–99% range may come later.
  • With the default reference, the percentage shows degradation since you started using LeapConnect, not since the car left the factory.

I'll update this issue when it's available.

markoceri avatar Oct 08 '26 15:10 markoceri

Grazie

marmof avatar Oct 09 '26 16:10 marmof