diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index 8229ae6..c97b905 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -390,12 +390,12 @@ class MonitoringServer extends IPSModule { $parname = IPS_GetName($catChild); IPS_SetName($catChild,$this->getTextAfterLastSlash($parname)); - + $config_arr = array( "Type" => 0 ); $config_str = json_encode($config_arr); - IPS_SetConfiguration($id, $config_str); + IPS_SetConfiguration($catChild, $config_str); foreach($objchildids as $child){ IPS_SetVariableCustomProfile($child, "Alarm"); diff --git a/library.json b/library.json index 8654f0c..a8beb2d 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.8", - "build": 7, + "build": 8, "date": 0 } \ No newline at end of file