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
View File
@@ -120,6 +120,8 @@ class Verbraucher_1_Stufig extends IPSModule
$this->SetTimerOn();
}
$this->SetValue("Aktuelle_Leistung", $power);
$this->SetValue("Bezogene_Energie", $this->GetValue("Bezogene_Energie")+($this->GetValue("Aktuelle_Leistung")*($this->ReadPropertyInteger("Interval")/3600)));
$boilerLeistung = $this->ReadPropertyInteger("BoilerLeistung");
$schaltkontaktID = $this->ReadPropertyInteger("Schaltkontakt1");