From 3e81b07cea43add3cf75911d4fe2723d4603c319 Mon Sep 17 00:00:00 2001 From: jhartworks Date: Thu, 12 Dec 2024 13:02:49 +0100 Subject: [PATCH] Build 02 --- Monitoring Server Influx V1/module.php | 6 +++--- library.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index 5ac99b8..5338758 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -193,21 +193,21 @@ class MonitoringServer extends IPSModule { public function checkIfSomethingChanged() { - $actAlarmCount = GetValueInteger(GetIDForIdent("AlarmVarCount")); + $actAlarmCount = GetValueInteger($this->GetIDForIdent("AlarmVarCount")); $oldAlarmCount = ReadAttributeInteger("AlarmVarCountOld"); if($actAlarmCount <> $oldAlarmCount){ WriteAttributeInteger("AlarmVarCountOld", $actAlarmCount); $this->clearNames(); } - $actAnalogCount = GetValueInteger(GetIDForIdent("AnalogVarCount")); + $actAnalogCount = GetValueInteger($this->GetIDForIdent("AnalogVarCount")); $oldAnalogCount = ReadAttributeInteger("AnalogVarCountOld"); if($actAnalogCount <> $oldAnalogCount){ WriteAttributeInteger("AnalogVarCountOld", $actAlarmCount); $this->clearNames(); } - $actDigitalCount = GetValueInteger(GetIDForIdent("DigitalVarCount")); + $actDigitalCount = GetValueInteger($this->GetIDForIdent("DigitalVarCount")); $oldDigitalCount = ReadAttributeInteger("DigitalVarCountOld"); if($actDigitalCount <> $oldDigitalCount){ WriteAttributeInteger("DigitalVarCountOld", $actDigitalCount); diff --git a/library.json b/library.json index d318048..1e5d621 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "2.1", - "build": 1, + "build": 2, "date": 0 } \ No newline at end of file