From b18cb5831aad0793b1d7c0c7c3d8327867346254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Tue, 17 Dec 2024 15:01:17 +0100 Subject: [PATCH] =?UTF-8?q?Ladestation=20Auswahlfeld=20f=C3=BCr=20entsprec?= =?UTF-8?q?hende=20ladestation=20erstellt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ladestation_Universal/form.json | 19 +++++++++++++++---- Ladestation_Universal/module.php | 2 ++ library.json | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/Ladestation_Universal/form.json b/Ladestation_Universal/form.json index f58ea37..17c6a93 100644 --- a/Ladestation_Universal/form.json +++ b/Ladestation_Universal/form.json @@ -32,10 +32,21 @@ "caption": "Zyklen zwischen zwei Leisutungsänderungen", "suffix": "" }, - { - "type": "Label", - "caption": "Aktuell wird nur Go-E ladestation unterstützt!" - } + "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 + } + ] + } ] } diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index 9c36850..2e56761 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -12,6 +12,8 @@ class Ladestation_Universal extends IPSModule $this->RegisterPropertyInteger("MinLeistung_1ph", 1400); $this->RegisterPropertyInteger("MaxLeistung_1ph", 7800); $this->RegisterPropertyString("IP_Adresse", "0.0.0.0"); + $this->RegisterPropertyInteger("Ladestation", 2); + // Ladestationspezifische Variabeln $this->RegisterVariableBoolean("Ladebereit", "Ladebereit", "~Switch", 1); diff --git a/library.json b/library.json index 910ffee..b5b5f2f 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.172", + "version": "0.173", "build": 0, "date": 0 } \ No newline at end of file