disable restarting solar-powered inverters
now that users can tell the DPL that their inverter is not powered by a battery but powered by solar panels, we shall not restart inverters to reset the daily yield value, if they are solar powered. these inverters will reboot every night by themselves.
This commit is contained in:
parent
8895791145
commit
5c6b4a8f12
@ -804,6 +804,12 @@ void PowerLimiterClass::calcNextInverterRestart()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config.PowerLimiter.IsInverterSolarPowered) {
|
||||||
|
_nextInverterRestart = 1;
|
||||||
|
MessageOutput.println("[DPL::calcNextInverterRestart] not restarting solar-powered inverters");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// read time from timeserver, if time is not synced then return
|
// read time from timeserver, if time is not synced then return
|
||||||
struct tm timeinfo;
|
struct tm timeinfo;
|
||||||
if (getLocalTime(&timeinfo, 5)) {
|
if (getLocalTime(&timeinfo, 5)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user