no message

This commit is contained in:
belevo\mh
2025-09-25 11:51:33 +02:00
parent fe31d5b4bc
commit 15a86e2f66

View File

@@ -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");