From d763c5aeb438bf7108a99a7eba5f869a0b65531d Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Tue, 5 Nov 2024 07:42:53 +0100 Subject: [PATCH] =?UTF-8?q?netzbezug=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Belevo_Server_Kommunikation/module.php | 3 ++- library.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Belevo_Server_Kommunikation/module.php b/Belevo_Server_Kommunikation/module.php index 3d284f1..ef6003d 100644 --- a/Belevo_Server_Kommunikation/module.php +++ b/Belevo_Server_Kommunikation/module.php @@ -96,7 +96,8 @@ class Belevo_Server_Kommunikation extends IPSModule public function GetAction() { - $url = "http://192.168.20.140:5000/influx?id=test&E_PNB_5M_0=1000"; + $netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug")); + $url = "http://192.168.20.140:5000/influx?id=test&E_PNB_5M_0=".$netzbezug; IPS_LogMessage("Belevo_Server_Kommunikation", "Sende Anfrage an URL: ".$url); $this->SendJsonToInfluxDB($url); } diff --git a/library.json b/library.json index 4bb0241..89c8b82 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.64", + "version": "0.65", "build": 0, "date": 0 } \ No newline at end of file