Wird an falsche IP Adresse geschickt, jedoch ist die Richtige im Programm, evt behoben

This commit is contained in:
belevo\mh
2024-11-05 06:58:22 +01:00
parent 0ed1cb0a71
commit dddbb9aff8
2 changed files with 4 additions and 3 deletions

View File

@@ -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)) {

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.61",
"version": "0.62",
"build": 0,
"date": 0
}