V1.2
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user