no message
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user