Updatetimer für Bits hinzugefühgt

This commit is contained in:
2024-10-07 16:37:21 +02:00
parent 4836fc0fdc
commit 7e2f1fafe2
2 changed files with 5 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ class CC100_HW extends IPSModule
// Timer für PT1 und PT2 einrichten // Timer für PT1 und PT2 einrichten
$this->RegisterTimer("ReadPTValues", 30000, 'IPS_RequestAction(' . $this->InstanceID . ', "DOUT_ReadPTValues", "");'); $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": case "DOUT_ReadPTValues":
$this->DOUT_ReadPTValues(); $this->DOUT_ReadPTValues();
break; break;
case "UpdateFile":
$this->UpdateFile();
break;
default: default:
throw new Exception("Invalid Ident"); throw new Exception("Invalid Ident");
} }

View File

@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "0.7", "version": "0.8",
"build": 0, "build": 0,
"date": 0 "date": 0
} }