diff --git a/MQTTBatterySDL/module.json b/MQTTBatterySDL/module.json index 17cd7eb..c5f37f8 100644 --- a/MQTTBatterySDL/module.json +++ b/MQTTBatterySDL/module.json @@ -1,12 +1,14 @@ { - "id": "{F4D41B13-9A19-6B53-D4EC-8B6984BC1EC1}", + "id": "{E4B7C3D2-47D5-46E8-8B1C-17F5A57E1001}", "name": "MQTTBatterySDL", "type": 3, "vendor": "Belevo AG", "aliases": [ "MQTT Battery SDL" ], - "parentRequirements": [], + "parentRequirements": [ + "{C8792760-65CF-4C53-B5C7-A30FCC84FEFE}" + ], "childRequirements": [], "implemented": [], "prefix": "MBSDL", diff --git a/MQTTBatterySDL/module.php b/MQTTBatterySDL/module.php index 579584b..b881a8d 100644 --- a/MQTTBatterySDL/module.php +++ b/MQTTBatterySDL/module.php @@ -30,6 +30,8 @@ class MQTTBatterySDL extends IPSModule $this->RegisterVariableString('LastReadResponse', 'Letzte Lese-Antwort', '', 70); $this->RegisterVariableString('LastWriteResponse', 'Letzte Steuer-Antwort', '', 80); + + $this->ConnectParent('{C8792760-65CF-4C53-B5C7-A30FCC84FEFE}'); } public function ApplyChanges()