no message

This commit is contained in:
mh
2025-09-30 14:09:19 +02:00
parent 6a2ac4814f
commit 69521c33c5
2 changed files with 56 additions and 10 deletions
+8 -8
View File
@@ -12,8 +12,8 @@ class Pufferspeicher extends IPSModule
$this->RegisterPropertyInteger("PufferTeilLeistung", 3000);
$this->RegisterPropertyInteger("ZeitKonstante", 120);
$this->RegisterPropertyInteger("Pufferfuehler_PT1", 0);
$this->RegisterPropertyInteger("Heizkontakt_Puffer", 0);
$this->RegisterPropertyInteger("Heizkontakt_Puffer_Teillast", 0);
$this->RegisterPropertyInteger("Heizkontakt2_Puffer", 0);
$this->RegisterPropertyInteger("Heizkontakt1_Puffer", 0);
$this->RegisterPropertyInteger("Aussentemp", 20);
$this->RegisterPropertyInteger("MinVT_Temp", 20);
$this->RegisterPropertyInteger("MaxVT_Temp", 80);
@@ -88,16 +88,16 @@ class Pufferspeicher extends IPSModule
{
// Schalte Kontakt Teillast und Vollast entsprechend der Power-Einstellung
if ($power == $this->ReadPropertyInteger("PufferLeistung")) {
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer"), true);
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer_Teillast"), false);
SetValue($this->ReadPropertyInteger("Heizkontakt2_Puffer"), true);
SetValue($this->ReadPropertyInteger("Heizkontakt1_Puffer"), false);
} elseif (
$power == $this->ReadPropertyInteger("PufferTeilLeistung")
) {
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer"), false);
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer_Teillast"), true);
SetValue($this->ReadPropertyInteger("Heizkontakt2_Puffer"), false);
SetValue($this->ReadPropertyInteger("Heizkontakt1_Puffer"), true);
} else {
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer"), false);
SetValue($this->ReadPropertyInteger("Heizkontakt_Puffer_Teillast"), false);
SetValue($this->ReadPropertyInteger("Heizkontakt2_Puffer"), false);
SetValue($this->ReadPropertyInteger("Heizkontakt1_Puffer"), false);
}
// Prüfe auf Änderung der Power im Vergleich zur letzten Einstellung