version 2.0.2

This commit is contained in:
Johannes Holzwarth | SE-Inno GmbH
2024-04-19 08:33:18 +02:00
parent f9a371cbc9
commit add194538d
2 changed files with 12 additions and 1 deletions
+11
View File
@@ -205,6 +205,17 @@ class MonitoringClient extends IPSModule {
foreach ($childids as $childid){ foreach ($childids as $childid){
foreach ($childids as $childid){
if (IPS_VariableExists($childid) != 1){
if(IPS_LinkExists($childid) == 1){
$linkInfo = IPS_GetLink($childid);
$linkTarget = $linkInfo["TargetID"];
$childid = $linkTarget;
}
}else{
$varInfo = IPS_GetVariable($childid);
}
}
$varname = IPS_GetName($childid); $varname = IPS_GetName($childid);
$topic = $catId["top"]. $parname."_".$varname; $topic = $catId["top"]. $parname."_".$varname;
$payload = round(getvalue($childid), 2); $payload = round(getvalue($childid), 2);
+1 -1
View File
@@ -8,6 +8,6 @@
"date": 1491343200 "date": 1491343200
}, },
"version": "2.0", "version": "2.0",
"build": 1, "build": 2,
"date": 0 "date": 0
} }