Wird an falsche IP Adresse geschickt, jedoch ist die Richtige im Programm, evt behoben
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "0.61",
|
||||
"version": "0.62",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user