version 1.6.7

This commit is contained in:
Johannes Holzwarth | SE-Inno GmbH
2024-01-15 14:24:49 +01:00
parent 31150ed2ae
commit a26be72f81
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -79,7 +79,7 @@ class MonitoringServer extends IPSModule {
$status = floor($status); $status = floor($status);
} }
if ($status > -1){ if ($status > -1){
print_r("Everything fine :)"); // print_r("Everything fine :)");
} }
return $status; return $status;
} }
@@ -216,9 +216,11 @@ class MonitoringServer extends IPSModule {
$system = "P".$projectnumber."ISP".$ispnumber; $system = "P".$projectnumber."ISP".$ispnumber;
$category = "Analog"; $category = "Analog";
$valuename = $parname."".$varname; $valuename = $parname."".$varname;
// if($this->state["status"] == "pass"){ } IPS_LogMessage ("Analog Var-Logger", "Ready: ".$system."/".$category."/".$valuename." with Value: ".$payload);
if($this->checkInfluxState() > -1){ if($this->checkInfluxState() > -1){
$this->Write2Influx($payload, $ssl, $server, $port, $db, $system, $category, $valuename); $this->Write2Influx($payload, $ssl, $server, $port, $db, $system, $category, $valuename);
IPS_LogMessage ("Analog Var-Logger", "LOGGED: ".$system."/".$category."/".$valuename." with Value: ".$payload);
} }
} }
+1 -1
View File
@@ -8,6 +8,6 @@
"date": 1491343200 "date": 1491343200
}, },
"version": "1.6", "version": "1.6",
"build": 6, "build": 7,
"date": 0 "date": 0
} }