From dddbb9aff8a0456e4cf1a422c42acc55f4f30d6f Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Tue, 5 Nov 2024 06:58:22 +0100 Subject: [PATCH] Wird an falsche IP Adresse geschickt, jedoch ist die Richtige im Programm, evt behoben --- Belevo_Server_Kommunikation/module.php | 5 +++-- library.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Belevo_Server_Kommunikation/module.php b/Belevo_Server_Kommunikation/module.php index 6642974..08f21dd 100644 --- a/Belevo_Server_Kommunikation/module.php +++ b/Belevo_Server_Kommunikation/module.php @@ -54,7 +54,7 @@ class Belevo_Server_Kommunikation extends IPSModule $InfluxJaNein = $this->ReadPropertyBoolean("InfluxJaNein"); if ($InfluxJaNein) { // Timer auf 5 Minuten setzen - $this->SetTimerInterval("Timer_Influx", 5000);//Alle 10 Sekunden + $this->SetTimerInterval("Timer_Influx", 5000);//Alle 5 Sekunden IPS_LogMessage("Belevo_Server_Kommunikation", "Influx Ja"); } else { // Timer stoppen @@ -78,7 +78,8 @@ class Belevo_Server_Kommunikation extends IPSModule public function GetAction() { $json = $this->MakeJson(); - $baseURL = $this->ReadPropertyString("BaseURL"); + //$baseURL = $this->ReadPropertyString("BaseURL"); + $baseURL = "192.168.20.140:5000/influx?nr="; $anlagenummer = $this->ReadPropertyString("Anlagenummer"); if (!empty($anlagenummer) && !empty($json)) { diff --git a/library.json b/library.json index 2087c29..a017431 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.61", + "version": "0.62", "build": 0, "date": 0 } \ No newline at end of file