mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-17 07:41:52 +01:00
Fix: Power not set to 0 when not reachable at EOD
If the inverter polling was disabled before it got unreachable the values where not set to zero Fix: #1488
This commit is contained in:
@@ -55,9 +55,4 @@ bool RealTimeRunDataCommand::handleResponse(InverterAbstract* inverter, fragment
|
||||
void RealTimeRunDataCommand::gotTimeout(InverterAbstract* inverter)
|
||||
{
|
||||
inverter->Statistics()->incrementRxFailureCount();
|
||||
|
||||
if (inverter->getZeroValuesIfUnreachable() && !inverter->isReachable()) {
|
||||
Hoymiles.getMessageOutput()->println("Set runtime data to zero");
|
||||
inverter->Statistics()->zeroRuntimeData();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user