From 15a86e2f667c97e6eb3d05bb13d5c687df92c0ff Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Thu, 25 Sep 2025 11:51:33 +0200 Subject: [PATCH] no message --- Puffer/module.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Puffer/module.php b/Puffer/module.php index ac3c705..a01dcc4 100644 --- a/Puffer/module.php +++ b/Puffer/module.php @@ -165,11 +165,12 @@ class Puffer extends IPSModule } IPS_LogMessage("Puffer", "nach Glättung und vor AT berechnung"); + $at = $this->ReadPropertyInteger("Aussentemp"); $m = $this->GetValue("Steigung"); $minVT = $this->ReadPropertyInteger("MinVT_Temp"); // z.B. 20 $maxVT = $this->ReadPropertyInteger("MaxVT_Temp"); // z.B. 80 - $maxAT = $this->ReadPropertyInteger("MaxAT_Temp"); // z.B. 0 - $minAT = $this->ReadPropertyInteger("MinAT_Temp"); // z.B. 20 + $maxAT = $this->ReadPropertyInteger("MaxAT_Temp"); // z.B. 20 + $minAT = $this->ReadPropertyInteger("MinAT_Temp"); // z.B. 0 if ($at < $minAT){ $VT = $maxVT; } elseif ($at > $maxAT){ @@ -178,8 +179,10 @@ class Puffer extends IPSModule $VT = $m * $at + $maxVT; } $this->SetValue("Maximaltemperatur", $VT ); + IPS_LogMessage("Puffer", "VT: ".$VT); IPS_LogMessage("Puffer", "m: ".$m); + IPS_LogMessage("Puffer", "at: ".$at); $boilerTemp = $this->GetValue("Boilertemperatur"); $pufferLeistung = $this->ReadPropertyInteger("PufferLeistung");