forms für smart me auswahl angepasst
This commit is contained in:
@@ -124,10 +124,7 @@ class Boiler_2_Stufig_Mit_Fueler extends IPSModule
|
||||
|
||||
if ($Peak) {
|
||||
if ($boilerTemp < $minTemp) {
|
||||
$this->SetValue(
|
||||
"PowerSteps",
|
||||
json_encode([0, $teilLeistung, $vollLeistung])
|
||||
);
|
||||
$this->SetValue( "PowerSteps", json_encode([0, $teilLeistung, $vollLeistung]) );
|
||||
} elseif (
|
||||
$boilerTemp < $minTemp + 5 &&
|
||||
($AktuelleVollast || $AktuelleTeillast)
|
||||
@@ -148,18 +145,10 @@ class Boiler_2_Stufig_Mit_Fueler extends IPSModule
|
||||
) {
|
||||
$this->SetValue("PowerSteps", json_encode([$vollLeistung]));
|
||||
} elseif ($boilerTemp < $maxTemp - 5) {
|
||||
$this->SetValue(
|
||||
"PowerSteps",
|
||||
json_encode([0, $teilLeistung, $vollLeistung])
|
||||
);
|
||||
} elseif (
|
||||
$boilerTemp < $maxTemp &&
|
||||
($AktuelleVollast || $AktuelleTeillast)
|
||||
$this->SetValue("PowerSteps", json_encode([0, $teilLeistung, $vollLeistung]));
|
||||
} elseif ( $boilerTemp < $maxTemp && ($AktuelleVollast || $AktuelleTeillast)
|
||||
) {
|
||||
$this->SetValue(
|
||||
"PowerSteps",
|
||||
json_encode([0, $teilLeistung, $vollLeistung])
|
||||
);
|
||||
$this->SetValue( "PowerSteps", json_encode([0, $teilLeistung, $vollLeistung]));
|
||||
} else {
|
||||
$this->SetValue("PowerSteps", json_encode([0]));
|
||||
}
|
||||
|
||||
@@ -1,10 +1,24 @@
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "IP_Adresse",
|
||||
"caption": "IP-Adresse Ladestation",
|
||||
"suffix": ""
|
||||
"type": "Select",
|
||||
"name": "Ladestation",
|
||||
"caption": "Ladestation",
|
||||
"value": 2,
|
||||
"options": [
|
||||
{
|
||||
"caption": "Go-E Wallbox (Alte Version)",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"caption": "Go-E Germini / Germini Flex",
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"caption": "Smart-Me Pico",
|
||||
"value": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "NumberSpinner",
|
||||
@@ -14,7 +28,7 @@
|
||||
{
|
||||
"type": "NumberSpinner",
|
||||
"name": "MaxLeistung",
|
||||
"caption": "Maximlalleistung Ladestation"
|
||||
"caption": "Maximalleistung Ladestation"
|
||||
},
|
||||
{
|
||||
"type": "NumberSpinner",
|
||||
@@ -24,29 +38,46 @@
|
||||
{
|
||||
"type": "NumberSpinner",
|
||||
"name": "MaxLeistung_1ph",
|
||||
"caption": "Maximlalleistung Ladestation 1-Phasig"
|
||||
"caption": "Maximalleistung Ladestation 1-Phasig"
|
||||
},
|
||||
{
|
||||
"type": "NumberSpinner",
|
||||
"name": "IdleCounterMax",
|
||||
"caption": "Zyklen zwischen zwei Leisutungsänderungen",
|
||||
"caption": "Zyklen zwischen zwei Leistungsänderungen",
|
||||
"suffix": ""
|
||||
},
|
||||
{
|
||||
"type": "Select",
|
||||
"name": "Ladestation",
|
||||
"caption": "Ladestation",
|
||||
"value": 2,
|
||||
"options": [
|
||||
{
|
||||
"caption": "Go-E Wallbox (Alte Version)",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"caption": "Go-E Germini / Germini Flex",
|
||||
"value": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
"type": "ValidationTextBox",
|
||||
"name": "IP_Adresse",
|
||||
"caption": "IP-Adresse Ladestation",
|
||||
"suffix": "",
|
||||
"visible": true,
|
||||
"visibilityCondition": {
|
||||
"field": "Ladestation",
|
||||
"valueNot": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "ID",
|
||||
"caption": "ID",
|
||||
"suffix": "",
|
||||
"visible": false,
|
||||
"visibilityCondition": {
|
||||
"field": "Ladestation",
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "Seriennummer",
|
||||
"caption": "Seriennummer",
|
||||
"suffix": "",
|
||||
"visible": false,
|
||||
"visibilityCondition": {
|
||||
"field": "Ladestation",
|
||||
"value": 3
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "0.197",
|
||||
"version": "0.198",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user