--
This commit is contained in:
@@ -49,29 +49,29 @@ class Boiler_2_Stufig_Mit_Fueler extends IPSModule
|
|||||||
parent::ApplyChanges();
|
parent::ApplyChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Aktionen verarbeiten
|
|
||||||
public function RequestAction($Ident, $Value)
|
public function RequestAction($Ident, $Value)
|
||||||
{
|
{
|
||||||
|
IPS_LogMessage("Boiler Debug", "RequestAction triggered: $Ident = $Value");
|
||||||
|
|
||||||
switch ($Ident) {
|
switch ($Ident) {
|
||||||
|
case "Mindesttemperatur":
|
||||||
|
case "Maximaltemperatur":
|
||||||
|
case "Legionellentemperatur":
|
||||||
|
|
||||||
|
$this->SetValue($Ident, $Value);
|
||||||
|
IPS_LogMessage("Boiler Debug", "$Ident updated to $Value");
|
||||||
|
break;
|
||||||
|
|
||||||
case "SetAktuelle_Leistung":
|
case "SetAktuelle_Leistung":
|
||||||
|
|
||||||
$this->SetAktuelle_Leistung($Value);
|
$this->SetAktuelle_Leistung($Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "GetCurrentData":
|
case "GetCurrentData":
|
||||||
return $this->GetCurrentData($Value);
|
|
||||||
case "Mindesttemperatur":
|
$result = $this->GetCurrentData($Value);
|
||||||
// Setze den neuen Wert für Mindesttemperatur
|
return $result;
|
||||||
$this->SetValue($Ident, $Value);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "Maximaltemperatur":
|
|
||||||
// Setze den neuen Wert für Maximaltemperatur
|
|
||||||
$this->SetValue($Ident, $Value);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "Legionellentemperatur":
|
|
||||||
// Setze den neuen Wert für Legionellentemperatur
|
|
||||||
$this->SetValue($Ident, $Value);
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
throw new Exception("Invalid Ident");
|
throw new Exception("Invalid Ident");
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.264",
|
"version": "0.265",
|
||||||
|
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
|
|||||||
Reference in New Issue
Block a user