version 1.6.4

This commit is contained in:
Johannes Holzwarth | SE-Inno GmbH
2024-01-15 14:11:58 +01:00
parent 2c387faf2b
commit 30e968eddc
2 changed files with 8 additions and 7 deletions
+6 -5
View File
@@ -78,7 +78,7 @@ class MonitoringServer extends IPSModule {
$status = ($stoptime - $starttime) * 1000;
$status = floor($status);
}
if ($status > 0){
if ($status > -1){
print_r("Everything fine :)");
}
return $status;
@@ -217,8 +217,9 @@ class MonitoringServer extends IPSModule {
$category = "Analog";
$valuename = $parname."".$varname;
// if($this->state["status"] == "pass"){ }
Write2Influx($payload, $ssl, $server, $port, $db, $system, $category, $valuename);
if($this->checkInfluxState() > -1){
$this->Write2Influx($payload, $ssl, $server, $port, $db, $system, $category, $valuename);
}
}
@@ -260,8 +261,8 @@ class MonitoringServer extends IPSModule {
$category = "Digital";
$valuename = $parname."_".$varname;
if($this->checkInfluxState() < 5){
Write2Influx($payload, $ssl, $server, $port, $db, $system, $category, $valuename);
if($this->checkInfluxState() > -1){
$this->Write2Influx($payload, $ssl, $server, $port, $db, $system, $category, $valuename);
}
+1 -1
View File
@@ -8,6 +8,6 @@
"date": 1491343200
},
"version": "1.6",
"build": 3,
"build": 4,
"date": 0
}