Use estimated if Aidon sends same value as last hour

This commit is contained in:
Gunnar Skjold
2024-06-06 21:37:45 +02:00
parent 1db0082103
commit 4d340c5482
2 changed files with 18 additions and 4 deletions

View File

@@ -105,6 +105,7 @@ protected:
double l1activeExportCounter = 0, l2activeExportCounter = 0, l3activeExportCounter = 0;
float powerFactor = 0, l1PowerFactor = 0, l2PowerFactor = 0, l3PowerFactor = 0;
double activeImportCounter = 0, reactiveImportCounter = 0, activeExportCounter = 0, reactiveExportCounter = 0;
double lastKnownCounter = 0;
bool threePhase = false, twoPhase = false, counterEstimated = false, l2currentMissing = false;;
int8_t lastError = 0x00;