diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index 1bf88ce..5ac99b8 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -36,6 +36,9 @@ class MonitoringServer extends IPSModule { $this->RegisterTimer("UpdateValues", 0, 'SEMS_checkValues('.$this->InstanceID.',false);'); $this->RegisterTimer("ForceUpdateValues", 0, 'SEMS_checkValues('.$this->InstanceID.',true);'); + $this->RegisterTimer("CheckChanges", 0, 'SEMS_checkIfSomethingChanged('.$this->InstanceID.');'); + + $this->RegisterVariableInteger("AlarmVarCount", "Number of Alarmvalues", "", 0); $this->RegisterAttributeInteger("AlarmVarCountOld", 0); @@ -63,6 +66,8 @@ class MonitoringServer extends IPSModule { $this->SetTimerInterval("UpdateValues", $this->ReadPropertyInteger("UpdateintervallValues") * 1000); $this->SetTimerInterval("ForceUpdateValues", $this->ReadPropertyInteger("UpdateintervallForceValues") * 1000 * 60); + $this->SetTimerInterval("CheckChanges", 10 * 1000); + $this->clearNames(); // Diese Zeile nicht löschen diff --git a/library.json b/library.json index a00a189..d318048 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "2.1", - "build": 0, + "build": 1, "date": 0 } \ No newline at end of file