Gesamtenergiemenge wird nun aufintegriert

This commit is contained in:
dh
2025-03-17 08:26:56 +01:00
parent ef341805c9
commit f8f31bac50
6 changed files with 11 additions and 3 deletions
+2 -1
View File
@@ -175,7 +175,8 @@ public function RequestAction($Ident, $Value)
// Setze die neue aktuelle Leistung
$this->SetValue("Aktuelle_Leistung", $power);
$this->SetValue("Bezogene_Energie", $this->GetValue("Bezogene_Energie")+($this->GetValue("Aktuelle_Leistung")*($this->ReadPropertyInteger("Interval")/3600)));
// IdleCounter verarbeiten
$this->ProcessIdleCounter();
}