From e93764467cb1e28c20c93dd52e72b6a196954855 Mon Sep 17 00:00:00 2001 From: Johannes Holzwarth | SE-Inno GmbH Date: Mon, 15 Jan 2024 14:14:54 +0100 Subject: [PATCH] version 1.6.5 --- Monitoring Server Influx V1/module.php | 8 ++++---- library.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index cb9de70..5609c74 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -98,16 +98,16 @@ class MonitoringServer extends IPSModule { if ($value == "true"){ curl_setopt($ch, CURLOPT_POSTFIELDS, $system.','.$category.'='.$valuename.' value=1'); - echo 'es war ein bool der TRUE war '; + // echo 'es war ein bool der TRUE war '; } elseif($value == "false"){ curl_setopt($ch, CURLOPT_POSTFIELDS, $system.','.$category.'='.$valuename.' value=0'); - echo 'es war ein bool '; + //echo 'es war ein bool '; } else{ curl_setopt($ch, CURLOPT_POSTFIELDS, $system.','.$category.'='.$valuename.' value=' .$value); - echo 'es war ein float/int '; + //echo 'es war ein float/int '; } @@ -139,7 +139,7 @@ class MonitoringServer extends IPSModule { $changedtime = $varInfo["VariableChanged"]; $varname = IPS_GetName($childid); $time = time(); - $payload = GetValueBoolean($childid); + $payload = GetValue($childid); $alarmvalues++; if ($sendit == true){ if ($this->notify($childid, $visuId, $catAlarmId, $projectnumber, $projectname, $ispnumber) == true){ diff --git a/library.json b/library.json index 7c246c3..79c8f25 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.6", - "build": 4, + "build": 5, "date": 0 } \ No newline at end of file