From a26be72f81eb325510f913d9c334994440f7a027 Mon Sep 17 00:00:00 2001 From: Johannes Holzwarth | SE-Inno GmbH Date: Mon, 15 Jan 2024 14:24:49 +0100 Subject: [PATCH] version 1.6.7 --- Monitoring Server Influx V1/module.php | 6 ++++-- library.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index fef6ec6..4b3b16b 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -79,7 +79,7 @@ class MonitoringServer extends IPSModule { $status = floor($status); } if ($status > -1){ - print_r("Everything fine :)"); + // print_r("Everything fine :)"); } return $status; } @@ -216,9 +216,11 @@ class MonitoringServer extends IPSModule { $system = "P".$projectnumber."ISP".$ispnumber; $category = "Analog"; $valuename = $parname."".$varname; - // if($this->state["status"] == "pass"){ } + IPS_LogMessage ("Analog Var-Logger", "Ready: ".$system."/".$category."/".$valuename." with Value: ".$payload); + if($this->checkInfluxState() > -1){ $this->Write2Influx($payload, $ssl, $server, $port, $db, $system, $category, $valuename); + IPS_LogMessage ("Analog Var-Logger", "LOGGED: ".$system."/".$category."/".$valuename." with Value: ".$payload); } } diff --git a/library.json b/library.json index c29943a..be130f1 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.6", - "build": 6, + "build": 7, "date": 0 } \ No newline at end of file