version 1.6.5

This commit is contained in:
Johannes Holzwarth | SE-Inno GmbH
2024-01-15 14:14:54 +01:00
parent 30e968eddc
commit e93764467c
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -98,16 +98,16 @@ class MonitoringServer extends IPSModule {
if ($value == "true"){ if ($value == "true"){
curl_setopt($ch, CURLOPT_POSTFIELDS, $system.','.$category.'='.$valuename.' value=1'); 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"){ elseif($value == "false"){
curl_setopt($ch, CURLOPT_POSTFIELDS, $system.','.$category.'='.$valuename.' value=0'); curl_setopt($ch, CURLOPT_POSTFIELDS, $system.','.$category.'='.$valuename.' value=0');
echo 'es war ein bool '; //echo 'es war ein bool ';
} }
else{ else{
curl_setopt($ch, CURLOPT_POSTFIELDS, $system.','.$category.'='.$valuename.' value=' .$value); 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"]; $changedtime = $varInfo["VariableChanged"];
$varname = IPS_GetName($childid); $varname = IPS_GetName($childid);
$time = time(); $time = time();
$payload = GetValueBoolean($childid); $payload = GetValue($childid);
$alarmvalues++; $alarmvalues++;
if ($sendit == true){ if ($sendit == true){
if ($this->notify($childid, $visuId, $catAlarmId, $projectnumber, $projectname, $ispnumber) == true){ if ($this->notify($childid, $visuId, $catAlarmId, $projectnumber, $projectname, $ispnumber) == true){
+1 -1
View File
@@ -8,6 +8,6 @@
"date": 1491343200 "date": 1491343200
}, },
"version": "1.6", "version": "1.6",
"build": 4, "build": 5,
"date": 0 "date": 0
} }