Schwellwert und WW temp vertauscht
This commit is contained in:
@@ -56,7 +56,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "NumberSpinner",
|
"type": "NumberSpinner",
|
||||||
"name": "Schwellwert_Variable",
|
"name": "Schwellwert",
|
||||||
"caption": "Warmwassertemperatur auf welche der Schwellwert angewendet wird.",
|
"caption": "Warmwassertemperatur auf welche der Schwellwert angewendet wird.",
|
||||||
"test": true
|
"test": true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ class WP_Steuerung extends IPSModule {
|
|||||||
$this->RegisterPropertyInteger("Sperrkontakt", 0);
|
$this->RegisterPropertyInteger("Sperrkontakt", 0);
|
||||||
$this->RegisterPropertyInteger("Kontakt_Erhoeung", 0);
|
$this->RegisterPropertyInteger("Kontakt_Erhoeung", 0);
|
||||||
$this->RegisterPropertyBoolean("Schwellwert_Anwenden", false);
|
$this->RegisterPropertyBoolean("Schwellwert_Anwenden", false);
|
||||||
$this->RegisterPropertyInteger("Schwellwert_Variable", 0);
|
$this->RegisterPropertyInteger("Schwellwert", 0);
|
||||||
$this->RegisterPropertyInteger("WW_Temp", 1);
|
$this->RegisterPropertyInteger("WW_Temp", 1);
|
||||||
|
|
||||||
//Initialisieren
|
//Initialisieren
|
||||||
@@ -261,7 +261,7 @@ class WP_Steuerung extends IPSModule {
|
|||||||
|
|
||||||
$this->SetValue("PowerSteps", json_encode([$this->GetValue("CurrentPower")]));
|
$this->SetValue("PowerSteps", json_encode([$this->GetValue("CurrentPower")]));
|
||||||
|
|
||||||
}elseif($this->ReadPropertyBoolean("Schwellwert_Anwenden")==true && ($this->ReadPropertyInteger("WW_Temp")<GetValue($this->ReadPropertyInteger("Schwellwert_Variable"))) ){
|
}elseif($this->ReadPropertyBoolean("Schwellwert_Anwenden")==true && ($this->ReadPropertyInteger("Schwellwert")>GetValue($this->ReadPropertyInteger("WW_Temp"))) ){
|
||||||
|
|
||||||
|
|
||||||
$this->SetValue("PowerSteps", json_encode([$this->ReadPropertyInteger("WP_Leistung")]));
|
$this->SetValue("PowerSteps", json_encode([$this->ReadPropertyInteger("WP_Leistung")]));
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.131",
|
"version": "0.132",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user