From 57e8077ec8e763855062b24fc9b868846332b874 Mon Sep 17 00:00:00 2001 From: jhartworks Date: Thu, 28 Nov 2024 11:45:00 +0100 Subject: [PATCH] V1.2 --- LoraNovos3T/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LoraNovos3T/module.php b/LoraNovos3T/module.php index be833cf..811ccbe 100644 --- a/LoraNovos3T/module.php +++ b/LoraNovos3T/module.php @@ -104,7 +104,7 @@ class LoraNovos3T extends IPSModule { } - $temp = $this->CheckGetArrayValue($data,"Button"); + $temp = $this->CheckGetArrayValue($data,"OCCU0_STATE"); if ($temp != "failure") { $adressmodmodButton = $this->ReadPropertyInteger("modButton"); $this->ModbusPublish($devEui."Button", $modGwId, $devName." Button", $adressmodmodButton, $temp, $modFcReadActValues, $modFcWriteActValues,0);