no message

This commit is contained in:
mh
2025-09-25 10:39:41 +02:00
parent e7fd75b6d6
commit 062e999358
+3 -3
View File
@@ -11,7 +11,7 @@ class Puffer extends IPSModule
$this->RegisterPropertyInteger("PufferLeistung", 6000); $this->RegisterPropertyInteger("PufferLeistung", 6000);
$this->RegisterPropertyInteger("ZeitKonstante", 120); $this->RegisterPropertyInteger("ZeitKonstante", 120);
$this->RegisterPropertyInteger("Boilerfuehler_PT1", 0); $this->RegisterPropertyInteger("Boilerfuehler_PT1", 0);
$this->RegisterPropertyInteger("Heizkontakt_Puffer", 0); $this->RegisterPropertyBool("Heizkontakt_Puffer", false);
$this->RegisterPropertyInteger("Aussentemp", 20); $this->RegisterPropertyInteger("Aussentemp", 20);
$this->RegisterPropertyInteger("MinVT_Temp", 20); $this->RegisterPropertyInteger("MinVT_Temp", 20);
$this->RegisterPropertyInteger("MaxVT_Temp", 80); $this->RegisterPropertyInteger("MaxVT_Temp", 80);
@@ -90,9 +90,9 @@ class Puffer extends IPSModule
{ {
// Schalte Kontakt Teillast und Vollast entsprechend der Power-Einstellung // Schalte Kontakt Teillast und Vollast entsprechend der Power-Einstellung
if ($power == $this->ReadPropertyInteger("PufferLeistung")) { if ($power == $this->ReadPropertyInteger("PufferLeistung")) {
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer"), true); SetValue($this->ReadPropertyBool("Heizkontakt_Puffer"), true);
} else { } else {
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer"), false); SetValue($this->ReadPropertyBool("Heizkontakt_Puffer"), false);
} }
// Prüfe auf Änderung der Power im Vergleich zur letzten Einstellung // Prüfe auf Änderung der Power im Vergleich zur letzten Einstellung