no message
This commit is contained in:
+5
-2
@@ -165,11 +165,12 @@ class Puffer extends IPSModule
|
|||||||
}
|
}
|
||||||
IPS_LogMessage("Puffer", "nach Glättung und vor AT berechnung");
|
IPS_LogMessage("Puffer", "nach Glättung und vor AT berechnung");
|
||||||
|
|
||||||
|
$at = $this->ReadPropertyInteger("Aussentemp");
|
||||||
$m = $this->GetValue("Steigung");
|
$m = $this->GetValue("Steigung");
|
||||||
$minVT = $this->ReadPropertyInteger("MinVT_Temp"); // z.B. 20
|
$minVT = $this->ReadPropertyInteger("MinVT_Temp"); // z.B. 20
|
||||||
$maxVT = $this->ReadPropertyInteger("MaxVT_Temp"); // z.B. 80
|
$maxVT = $this->ReadPropertyInteger("MaxVT_Temp"); // z.B. 80
|
||||||
$maxAT = $this->ReadPropertyInteger("MaxAT_Temp"); // z.B. 0
|
$maxAT = $this->ReadPropertyInteger("MaxAT_Temp"); // z.B. 20
|
||||||
$minAT = $this->ReadPropertyInteger("MinAT_Temp"); // z.B. 20
|
$minAT = $this->ReadPropertyInteger("MinAT_Temp"); // z.B. 0
|
||||||
if ($at < $minAT){
|
if ($at < $minAT){
|
||||||
$VT = $maxVT;
|
$VT = $maxVT;
|
||||||
} elseif ($at > $maxAT){
|
} elseif ($at > $maxAT){
|
||||||
@@ -178,8 +179,10 @@ class Puffer extends IPSModule
|
|||||||
$VT = $m * $at + $maxVT;
|
$VT = $m * $at + $maxVT;
|
||||||
}
|
}
|
||||||
$this->SetValue("Maximaltemperatur", $VT );
|
$this->SetValue("Maximaltemperatur", $VT );
|
||||||
|
|
||||||
IPS_LogMessage("Puffer", "VT: ".$VT);
|
IPS_LogMessage("Puffer", "VT: ".$VT);
|
||||||
IPS_LogMessage("Puffer", "m: ".$m);
|
IPS_LogMessage("Puffer", "m: ".$m);
|
||||||
|
IPS_LogMessage("Puffer", "at: ".$at);
|
||||||
|
|
||||||
$boilerTemp = $this->GetValue("Boilertemperatur");
|
$boilerTemp = $this->GetValue("Boilertemperatur");
|
||||||
$pufferLeistung = $this->ReadPropertyInteger("PufferLeistung");
|
$pufferLeistung = $this->ReadPropertyInteger("PufferLeistung");
|
||||||
|
|||||||
Reference in New Issue
Block a user