diff --git a/Symcon_Publish_to_Shelly_MQTT/module.json b/Symcon_Publish_to_Shelly_MQTT/module.json index 069997e..e8676c4 100644 --- a/Symcon_Publish_to_Shelly_MQTT/module.json +++ b/Symcon_Publish_to_Shelly_MQTT/module.json @@ -1,5 +1,5 @@ { - "id": "{C03937E3-5F86-EACA-B4A2-39A24ACF945A}", + "id": "{F6020D23-AA8C-34C5-D92F-9034BEFBBCD8}", "name": "Symcon_Publish_to_Shelly_MQTT", "type": 3, "vendor": "Belevo AG", diff --git a/Symcon_Publish_to_Shelly_MQTT/module.php b/Symcon_Publish_to_Shelly_MQTT/module.php index e0e2b15..da48bbd 100644 --- a/Symcon_Publish_to_Shelly_MQTT/module.php +++ b/Symcon_Publish_to_Shelly_MQTT/module.php @@ -26,12 +26,9 @@ class Symcon_Publish_to_Shelly_MQTT extends IPSModule public function ApplyChanges() { parent::ApplyChanges(); - // Hier ggf. weitere Aktionen bei Änderungen + } - /** - * RequestAction wird aufgerufen, wenn die Variable "Trigger" im WebFront oder Script geändert wird - */ public function RequestAction($Ident, $Value) { IPS_LogMessage("ShellySwitchSender", "RequestAction gestartet"); @@ -44,9 +41,7 @@ class Symcon_Publish_to_Shelly_MQTT extends IPSModule } } - /** - * Hauptfunktion: Liest Konfiguration, baut Payload, sendet MQTT Nachricht und loggt alles - */ + public function GetAction() { IPS_LogMessage("ShellySwitchSender", "GetAction gestartet");