From b0ef738804d8f421cf51ff544cacaa9c51c321b0 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Thu, 25 Sep 2025 14:29:46 +0200 Subject: [PATCH] no message --- Puffer/module.php | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Puffer/module.php b/Puffer/module.php index d8c7ca5..ae128ad 100644 --- a/Puffer/module.php +++ b/Puffer/module.php @@ -23,7 +23,7 @@ class Puffer extends IPSModule // Puffer spezifische Variablen $this->RegisterVariableInteger("Steigung","Steigung","",0); - $this->RegisterVariableInteger("Maximaltemperatur","Maximaltemperatur","",60); + $this->RegisterVariableInteger("Maximaltemperatur"," Berechnete Maximaltemperatur VT","",60); $this->RegisterVariableInteger("Boilertemperatur", "Boilertemperatur", "", 40); $this->RegisterVariableInteger("Aussentemperatur", "Aussentemperatur", "", 15); @@ -155,19 +155,13 @@ class Puffer extends IPSModule $at = GetValue($this->ReadPropertyInteger("Aussentemp")); $this->SetValue("Aussentemperatur", $at); - - IPS_LogMessage("Puffer", "aa " . $at); - IPS_LogMessage("Puffer", "Property Aussentemp: " . $this->ReadPropertyInteger("Aussentemp")); - IPS_LogMessage("Puffer", "Variable Aussentemperatur: " . $this->GetValue("Aussentemperatur")); - $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. 20 $minAT = $this->ReadPropertyInteger("MinAT_Temp"); // z.B. 0 - IPS_LogMessage("Puffer", "minVT: $minVT, maxVT: $maxVT, minAT: $minAT, maxAT: $maxAT"); $m = ($maxVT - $minVT) / ($minAT - $maxAT); - IPS_LogMessage("Puffer", "Steigung: " . $m); + $this->SetValue("Steigung", $m); if ($at < $minAT){ @@ -183,7 +177,7 @@ class Puffer extends IPSModule $pufferLeistung = $this->ReadPropertyInteger("PufferLeistung"); - IPS_LogMessage("Puffer", "vor peak if"); + if ($Peak) { $this->SetValue( "PowerSteps", json_encode([0]) ); } else {