From bf0a57f4be7d029c8de8a8fbf186d939c50b89e3 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Mon, 11 Nov 2024 15:49:30 +0100 Subject: [PATCH] Michiplayground deleted --- Belevo_Server_Kommunikation/module.php | 2 +- Michisplayground/README.md | 67 -------------------------- Michisplayground/form.json | 20 -------- Michisplayground/locale.json | 7 --- Michisplayground/module.json | 11 ----- Michisplayground/module.php | 48 ------------------ library.json | 2 +- 7 files changed, 2 insertions(+), 155 deletions(-) delete mode 100644 Michisplayground/README.md delete mode 100644 Michisplayground/form.json delete mode 100644 Michisplayground/locale.json delete mode 100644 Michisplayground/module.json delete mode 100644 Michisplayground/module.php diff --git a/Belevo_Server_Kommunikation/module.php b/Belevo_Server_Kommunikation/module.php index a9e7924..bb489a2 100644 --- a/Belevo_Server_Kommunikation/module.php +++ b/Belevo_Server_Kommunikation/module.php @@ -205,7 +205,7 @@ private function SendJsonToInfluxDB($url, $jsonData) { IPS_LogMessage("Belevo_Server_Kommunikation", "Fehler: Gerätenummer ist leer."); return; } - IPS_LogMessage("url", $url); + diff --git a/Michisplayground/README.md b/Michisplayground/README.md deleted file mode 100644 index b059e3a..0000000 --- a/Michisplayground/README.md +++ /dev/null @@ -1,67 +0,0 @@ -# Manager_1 -Beschreibung des Moduls. - -### Inhaltsverzeichnis - -1. [Funktionsumfang](#1-funktionsumfang) -2. [Voraussetzungen](#2-voraussetzungen) -3. [Software-Installation](#3-software-installation) -4. [Einrichten der Instanzen in IP-Symcon](#4-einrichten-der-instanzen-in-ip-symcon) -5. [Statusvariablen und Profile](#5-statusvariablen-und-profile) -6. [WebFront](#6-webfront) -7. [PHP-Befehlsreferenz](#7-php-befehlsreferenz) - -### 1. Funktionsumfang - -* - -### 2. Voraussetzungen - -- IP-Symcon ab Version 7.1 - -### 3. Software-Installation - -* Über den Module Store das 'Manager_1'-Modul installieren. -* Alternativ über das Module Control folgende URL hinzufügen - -### 4. Einrichten der Instanzen in IP-Symcon - - Unter 'Instanz hinzufügen' kann das 'Manager_1'-Modul mithilfe des Schnellfilters gefunden werden. - - Weitere Informationen zum Hinzufügen von Instanzen in der [Dokumentation der Instanzen](https://www.symcon.de/service/dokumentation/konzepte/instanzen/#Instanz_hinzufügen) - -__Konfigurationsseite__: - -Name | Beschreibung --------- | ------------------ - | - | - -### 5. Statusvariablen und Profile - -Die Statusvariablen/Kategorien werden automatisch angelegt. Das Löschen einzelner kann zu Fehlfunktionen führen. - -#### Statusvariablen - -Name | Typ | Beschreibung ------- | ------- | ------------ - | | - | | - -#### Profile - -Name | Typ ------- | ------- - | - | - -### 6. WebFront - -Die Funktionalität, die das Modul im WebFront bietet. - -### 7. PHP-Befehlsreferenz - -`boolean GEF_BeispielFunktion(integer $InstanzID);` -Erklärung der Funktion. - -Beispiel: -`GEF_BeispielFunktion(12345);` \ No newline at end of file diff --git a/Michisplayground/form.json b/Michisplayground/form.json deleted file mode 100644 index 29f50ec..0000000 --- a/Michisplayground/form.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "elements": [ - { - "type": "Label", - "caption": "Verwende die Buttons, um den Zähler zu steuern." - }, - { - "type": "Button", - "caption": "Addierer", - "onClick": "ZAEHL_AdditionMethode($id);" - }, - { - "type": "Button", - "caption": "Zähler zurücksetzen", - "onClick": "ZAEHL_Subtraktionsmethode($id);" - } - - ], - "actions": [] -} diff --git a/Michisplayground/locale.json b/Michisplayground/locale.json deleted file mode 100644 index 4aefba5..0000000 --- a/Michisplayground/locale.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "translations": { - "de": { - - } - } -} \ No newline at end of file diff --git a/Michisplayground/module.json b/Michisplayground/module.json deleted file mode 100644 index 4c8cfe8..0000000 --- a/Michisplayground/module.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "id": "{{097D2D9F-2144-C47B-7755-6A0F93B24325}}", - "name": "Michisplayground", - "type": 3, - "vendor": "Belevo AG", - "parentRequirements": [], - "childRequirements": [], - "implemented": [], - "url": "", - "prefix": "ZAEHL" -} \ No newline at end of file diff --git a/Michisplayground/module.php b/Michisplayground/module.php deleted file mode 100644 index bbe02f8..0000000 --- a/Michisplayground/module.php +++ /dev/null @@ -1,48 +0,0 @@ -GetIDForIdent("Counter"))) { - $this->RegisterVariableInteger("Counter", "Zähler", "", 1); - SetValue($this->GetIDForIdent("Counter"), 0); // Setze den Zähler auf 0 - } - } - - // Methode zum Erhöhen des Zählers - public function AdditionMethode() - { - $currentValue = GetValue($this->GetIDForIdent("Counter")); - $newValue = $currentValue + 1; - SetValue($this->GetIDForIdent("Counter"), $newValue); - IPS_LogMessage("ErweiterterZaehlerModul", "Zähler erhöht: " . $newValue); - } - - // Methode zum Zurücksetzen des Zählers - public function Subtraktionsmethode() - { - SetValue($this->GetIDForIdent("Counter"), 0); - IPS_LogMessage("ErweiterterZaehlerModul", "Zähler zurückgesetzt."); - } - - // Methode zum Abfragen des Zählers - public function GetCounter() - { - $currentValue = GetValue($this->GetIDForIdent("Counter")); - IPS_LogMessage("ErweiterterZaehlerModul", "Aktueller Zählerstand: " . $currentValue); - return $currentValue; // Gibt den aktuellen Zählerstand zurück - } - -} - -?> diff --git a/library.json b/library.json index c6d79a4..4e417ab 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.125", + "version": "0.126", "build": 0, "date": 0 } \ No newline at end of file