no message

This commit is contained in:
belevo\mh
2025-09-30 14:12:14 +02:00
parent 69521c33c5
commit 8996baeb84

View File

@@ -10,6 +10,14 @@ class Pufferspeicher extends IPSModule
$this->RegisterPropertyInteger("PufferLeistung", 6000); $this->RegisterPropertyInteger("PufferLeistung", 6000);
$this->RegisterPropertyInteger("PufferTeilLeistung", 3000); $this->RegisterPropertyInteger("PufferTeilLeistung", 3000);
$this->RegisterPropertyInteger("Stufe1", 100);
$this->RegisterPropertyInteger("Stufe2", 1000);
$this->RegisterPropertyInteger("Stufe3", 3000);
$this->RegisterPropertyInteger("Stufe4", 6000);
$this->RegisterPropertyInteger("ZeitKonstante", 120); $this->RegisterPropertyInteger("ZeitKonstante", 120);
$this->RegisterPropertyInteger("Pufferfuehler_PT1", 0); $this->RegisterPropertyInteger("Pufferfuehler_PT1", 0);
$this->RegisterPropertyInteger("Heizkontakt2_Puffer", 0); $this->RegisterPropertyInteger("Heizkontakt2_Puffer", 0);
@@ -87,11 +95,11 @@ class Pufferspeicher extends IPSModule
public function SetAktuelle_Leistung(int $power) public function SetAktuelle_Leistung(int $power)
{ {
// 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("Stufe4")) {
SetValue($this->ReadPropertyInteger("Heizkontakt2_Puffer"), true); SetValue($this->ReadPropertyInteger("Heizkontakt2_Puffer"), true);
SetValue($this->ReadPropertyInteger("Heizkontakt1_Puffer"), false); SetValue($this->ReadPropertyInteger("Heizkontakt1_Puffer"), false);
} elseif ( } elseif (
$power == $this->ReadPropertyInteger("PufferTeilLeistung") $power == $this->ReadPropertyInteger("Stufe3")
) { ) {
SetValue($this->ReadPropertyInteger("Heizkontakt2_Puffer"), false); SetValue($this->ReadPropertyInteger("Heizkontakt2_Puffer"), false);
SetValue($this->ReadPropertyInteger("Heizkontakt1_Puffer"), true); SetValue($this->ReadPropertyInteger("Heizkontakt1_Puffer"), true);