This commit is contained in:
jhartworks
2024-11-28 11:45:00 +01:00
parent 7437702353
commit 57e8077ec8
+1 -1
View File
@@ -104,7 +104,7 @@ class LoraNovos3T extends IPSModule {
} }
$temp = $this->CheckGetArrayValue($data,"Button"); $temp = $this->CheckGetArrayValue($data,"OCCU0_STATE");
if ($temp != "failure") { if ($temp != "failure") {
$adressmodmodButton = $this->ReadPropertyInteger("modButton"); $adressmodmodButton = $this->ReadPropertyInteger("modButton");
$this->ModbusPublish($devEui."Button", $modGwId, $devName." Button", $adressmodmodButton, $temp, $modFcReadActValues, $modFcWriteActValues,0); $this->ModbusPublish($devEui."Button", $modGwId, $devName." Button", $adressmodmodButton, $temp, $modFcReadActValues, $modFcWriteActValues,0);