When using the 'always active' mode of version 0.3.0 the charge duration is not calculated correctly because 'millisStopCharging = millis();' is only executed when not in always active mode.
After changing line 782-785 from
if (vehicleCharging) { // EV interrupted charging
vehicleCharging = false;
toDeactivateEVSE = true;
}
to
if (vehicleCharging) { // EV interrupted charging
vehicleCharging = false;
toDeactivateEVSE = true;
millisStopCharging = millis();
}
calculation is done correctly in always active mode.
When using the 'always active' mode of version 0.3.0 the charge duration is not calculated correctly because 'millisStopCharging = millis();' is only executed when not in always active mode.
After changing line 782-785 from
to
calculation is done correctly in always active mode.