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