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
+1 -1
View File
@@ -161,7 +161,7 @@ class Boiler_2_Stufig_Mit_Fueler extends IPSModule
// 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();
}