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