start inverter if power consumption greater or equal lower power limit
This commit is contained in:
parent
260f4ccdb8
commit
67a5217482
@ -132,7 +132,7 @@ void PowerLimiterClass::loop()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ((isStartThresholdReached(inverter) || canUseDirectSolarPower()) && powerMeter > 0) {
|
if ((isStartThresholdReached(inverter) || canUseDirectSolarPower()) && powerMeter >= config.PowerLimiter_LowerPowerLimit) {
|
||||||
// DC voltage high enough, start the inverter
|
// DC voltage high enough, start the inverter
|
||||||
MessageOutput.println("[PowerLimiterClass::loop] Starting up inverter...");
|
MessageOutput.println("[PowerLimiterClass::loop] Starting up inverter...");
|
||||||
_lastCommandSent = millis();
|
_lastCommandSent = millis();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user