From 7e2f1fafe26b3c659d763be22631e4b567402e1b Mon Sep 17 00:00:00 2001 From: "belevo\\dh" Date: Mon, 7 Oct 2024 16:37:21 +0200 Subject: [PATCH] =?UTF-8?q?Updatetimer=20f=C3=BCr=20Bits=20hinzugef=C3=BCh?= =?UTF-8?q?gt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CC100_HW/module.php | 5 ++++- library.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CC100_HW/module.php b/CC100_HW/module.php index 8b53328..725a8cf 100644 --- a/CC100_HW/module.php +++ b/CC100_HW/module.php @@ -25,6 +25,7 @@ class CC100_HW extends IPSModule // Timer für PT1 und PT2 einrichten $this->RegisterTimer("ReadPTValues", 30000, 'IPS_RequestAction(' . $this->InstanceID . ', "DOUT_ReadPTValues", "");'); + $this->RegisterTimer("WriteBits", 1000, 'IPS_RequestAction(' . $this->InstanceID . ', "DOUT_ReadPTValues", "");'); } @@ -40,7 +41,9 @@ class CC100_HW extends IPSModule case "DOUT_ReadPTValues": $this->DOUT_ReadPTValues(); break; - + case "UpdateFile": + $this->UpdateFile(); + break; default: throw new Exception("Invalid Ident"); } diff --git a/library.json b/library.json index 71c991a..8022300 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.7", + "version": "0.8", "build": 0, "date": 0 } \ No newline at end of file