happyfunball wrote:On a related note, is there any way to get battery SOH from OVMS? Or send ODB2 codes and read the results?
SOH percentage is reported in metric v.b.soh (MQTT topic v/b/soh).
We currently get the total estimated capacity (in Ah) from bytes 33--35 of the active query 0x79b/0x7bb, then divide by the new capacity, which you must manually set with config parameter xnl.newCarAh (this defaults to 66Ah, suitable for a 24kWh battery). I would prefer to report the value directly from the 2nd MSB of 0x5b3, so there would be no need to calibrate anything. Some people seem to like the current way though, so maybe we need a choice, like we do for SOC.