version 1.6.8

This commit is contained in:
Johannes Holzwarth | SE-Inno GmbH
2024-01-15 14:54:54 +01:00
parent a26be72f81
commit ed30ea584c
2 changed files with 21 additions and 5 deletions
+20 -4
View File
@@ -212,15 +212,31 @@ class MonitoringServer extends IPSModule {
$parname = str_replace(" ","", $parname); $parname = str_replace(" ","", $parname);
$varname = str_replace(" ","", $varname); $varname = str_replace(" ","", $varname);
$system = "P".$projectnumber."ISP".$ispnumber; $parname = str_replace("ä","ae", $parname);
$varname = str_replace("ä","ae", $varname);
$parname = str_replace(".","", $parname);
$varname = str_replace(".","", $varname);
$parname = str_replace("ö","oe", $parname);
$varname = str_replace("ö","oe", $varname);
$parname = str_replace("ü","ue", $parname);
$varname = str_replace("ü","ue", $varname);
$parname = str_replace(",","", $parname);
$varname = str_replace(",","", $varname);
$system = "P".$projectnumber."_ISP".$ispnumber;
$category = "Analog"; $category = "Analog";
$valuename = $parname."".$varname; $valuename = $parname."".$varname;
IPS_LogMessage ("Analog Var-Logger", "Ready: ".$system."/".$category."/".$valuename." with Value: ".$payload); //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); //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": 7, "build": 8,
"date": 0 "date": 0
} }