no message

This commit is contained in:
belevo\mh
2025-09-25 10:50:54 +02:00
parent de12ed64a9
commit f7493c3ebc

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->RegisterPropertyBoolean("Heizkontakt_Puffer", false); $this->RegisterPropertyInteger("Heizkontakt_Puffer", 0);
$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->ReadPropertyBoolean("Heizkontakt_Puffer"), true); SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer"), true);
} else { } else {
SetValue($this->ReadPropertyBoolean("Heizkontakt_Puffer"), false); SetValue($this->ReadPropertyInteger("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