Ladestation Auswahlfeld für entsprechende ladestation erstellt

This commit is contained in:
dh
2024-12-17 15:01:17 +01:00
parent e185851cd5
commit b18cb5831a
3 changed files with 18 additions and 5 deletions
+15 -4
View File
@@ -32,10 +32,21 @@
"caption": "Zyklen zwischen zwei Leisutungsänderungen", "caption": "Zyklen zwischen zwei Leisutungsänderungen",
"suffix": "" "suffix": ""
}, },
{ {
"type": "Label", "type": "Select",
"caption": "Aktuell wird nur Go-E ladestation unterstützt!" "name": "Ladestation",
} "caption": "Ladestation",
"value": 2,
"options": [
{
"caption": "Go-E Wallbox (Alte Version)",
"value": 1
},
{
"caption": "Go-E Germini / Germini Flex",
"value": 2
}
]
}
] ]
} }
+2
View File
@@ -12,6 +12,8 @@ class Ladestation_Universal extends IPSModule
$this->RegisterPropertyInteger("MinLeistung_1ph", 1400); $this->RegisterPropertyInteger("MinLeistung_1ph", 1400);
$this->RegisterPropertyInteger("MaxLeistung_1ph", 7800); $this->RegisterPropertyInteger("MaxLeistung_1ph", 7800);
$this->RegisterPropertyString("IP_Adresse", "0.0.0.0"); $this->RegisterPropertyString("IP_Adresse", "0.0.0.0");
$this->RegisterPropertyInteger("Ladestation", 2);
// Ladestationspezifische Variabeln // Ladestationspezifische Variabeln
$this->RegisterVariableBoolean("Ladebereit", "Ladebereit", "~Switch", 1); $this->RegisterVariableBoolean("Ladebereit", "Ladebereit", "~Switch", 1);
+1 -1
View File
@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "0.172", "version": "0.173",
"build": 0, "build": 0,
"date": 0 "date": 0
} }