From 16c6693b6510d83228068d3e88975dfe5248cffa Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Wed, 12 Nov 2025 10:33:00 +0100 Subject: [PATCH] no message --- Puffer_Speicher/module.php | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/Puffer_Speicher/module.php b/Puffer_Speicher/module.php index 3260695..a092084 100644 --- a/Puffer_Speicher/module.php +++ b/Puffer_Speicher/module.php @@ -179,21 +179,7 @@ class Puffer_Speicher extends IPSModule if ($boilertemperatur_glätten) { // Wenn Glättung aktiviert ist, führe das Glätten durch $boilerPT1 = GetValue($this->ReadPropertyInteger("Pufferfuehler_PT1")); - /* - if (IPS_VariableExists($boilerFuehlerPT1ID)) { - $boilerPT1 = GetValue($boilerFuehlerPT1ID); - } else { - $boilerPT1 = 0.0; // Standardwert - } - - - $boilerTempID = $this->GetIDForIdent("Boilertemperatur"); - if (IPS_VariableExists($boilerTempID)) { - $boilerTemp = $this->GetValue("Boilertemperatur"); - } else { - $boilerTemp = 0.0; // Standardwert - }*/ - + // PT $boilerTemp = $this->GetValue("Puffertemperatur"); $time_constant= $this->ReadPropertyInteger("ZeitKonstante"); @@ -204,12 +190,7 @@ class Puffer_Speicher extends IPSModule } else { // Wenn Glättung nicht aktiviert ist, setze die Boilertemperatur direkt auf den Wert des Boilerfühlers $boilerPT1 = GetValue($this->ReadPropertyInteger("Pufferfuehler_PT1")); - /* - if (IPS_VariableExists($boilerFuehlerPT1ID)) { - $boilerPT1 = GetValue($boilerFuehlerPT1ID); - } else { - $boilerPT1 = 0.0; // Standardwert - }*/ + // Setze Boilertemperatur direkt auf den Wert des Boilerfühlers $this->SetValue("Puffertemperatur", $boilerPT1); }