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){
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);
$topic = $catId["top"]. $parname."_".$varname;
$payload = round(getvalue($childid), 2);