diff --git a/Int_VGT/form.json b/Int_VGT/form.json index f628176..9f5911e 100644 --- a/Int_VGT/form.json +++ b/Int_VGT/form.json @@ -1,50 +1,9 @@ { "elements": [ { - "type": "Label", - "caption": "MQTT Einstellungen" - }, - { - "type": "Select", - "name": "MQTTServer", - "caption": "MQTT Server", - "options": [ - { - "caption": "Automatisch (Parent)", - "value": "auto" - } - ] - }, - { - "type": "CheckBox", - "name": "Debug", - "caption": "Debug Log aktivieren" - }, - { - "type": "Label", - "caption": "Erkannte Shelly Geräte" - }, - { - "type": "List", - "name": "Devices", - "columns": [ - { - "caption": "Geräte-ID", - "name": "id", - "width": "200px" - }, - { - "caption": "Typ", - "name": "type", - "width": "150px" - } - ] - }, - { - "type": "Button", - "caption": "Geräte neu scannen", - "onClick": "ShellyScanDevices();" + "type": "ValidationTextBox", + "name": "DeviceID", + "caption": "Device ID" } - ], - "actions": [] + ] } diff --git a/Shelly_Parser_MQTT/form.json b/Shelly_Parser_MQTT/form.json index 9f5911e..f628176 100644 --- a/Shelly_Parser_MQTT/form.json +++ b/Shelly_Parser_MQTT/form.json @@ -1,9 +1,50 @@ { "elements": [ { - "type": "ValidationTextBox", - "name": "DeviceID", - "caption": "Device ID" + "type": "Label", + "caption": "MQTT Einstellungen" + }, + { + "type": "Select", + "name": "MQTTServer", + "caption": "MQTT Server", + "options": [ + { + "caption": "Automatisch (Parent)", + "value": "auto" + } + ] + }, + { + "type": "CheckBox", + "name": "Debug", + "caption": "Debug Log aktivieren" + }, + { + "type": "Label", + "caption": "Erkannte Shelly Geräte" + }, + { + "type": "List", + "name": "Devices", + "columns": [ + { + "caption": "Geräte-ID", + "name": "id", + "width": "200px" + }, + { + "caption": "Typ", + "name": "type", + "width": "150px" + } + ] + }, + { + "type": "Button", + "caption": "Geräte neu scannen", + "onClick": "ShellyScanDevices();" } - ] + ], + "actions": [] } diff --git a/Int_VGT/libs/ShellyParser.php b/Shelly_Parser_MQTT/libs/ShellyParser.php similarity index 100% rename from Int_VGT/libs/ShellyParser.php rename to Shelly_Parser_MQTT/libs/ShellyParser.php