diff --git a/LoraMlr003/module.php b/LoraMlr003/module.php index ae4ee41..dcc33dd 100644 --- a/LoraMlr003/module.php +++ b/LoraMlr003/module.php @@ -379,7 +379,7 @@ class LoraMlr003 extends IPSModule { $modFcReadSetpoints = $this->ReadPropertyInteger("modFcReadSetpoints"); $adressmodUsermode = $this->ReadPropertyInteger("modUsermode"); - $modUsermode = $this->ModbusPublish($devEui."Usermode", $modGwId, $devName." Usermode", $adressmodUsermode, $temp, $modFcReadSetpoints, 0,5); + $modUsermode = 3;//$this->ModbusPublish($devEui."Usermode", $modGwId, $devName." Usermode", $adressmodUsermode, $temp, $modFcReadSetpoints, 0,5); //echo $adressmodUsermode; //echo $modUsermode; $adressmodSetpoint = $this->ReadPropertyInteger("modSetpoint"); @@ -390,16 +390,16 @@ class LoraMlr003 extends IPSModule { //echo $modSetpoint; $adressmodRoomtemp = $this->ReadPropertyInteger("modRoomtemp"); - $modRoomtemp = $this->ModbusPublish($devEui."Roomtemp", $modGwId, $devName." Roomtemp", $adressmodRoomtemp, $temp, $modFcReadSetpoints, 0,7); + $modRoomtemp = 20; //$this->ModbusPublish($devEui."Roomtemp", $modGwId, $devName." Roomtemp", $adressmodRoomtemp, $temp, $modFcReadSetpoints, 0,7); $adressmodSafetymode = $this->ReadPropertyInteger("modSafetymode"); - $modSafetymode = $this->ModbusPublish($devEui."Safetymode", $modGwId, $devName." Safetymode", $adressmodSafetymode, $temp, $modFcReadSetpoints, 0,7); + $modSafetymode = 1; //$this->ModbusPublish($devEui."Safetymode", $modGwId, $devName." Safetymode", $adressmodSafetymode, $temp, $modFcReadSetpoints, 0,7); $adressmodSafetySetpoint = $this->ReadPropertyInteger("modSafetySetpoint"); - $modSafetySetpoint = $this->ModbusPublish($devEui."SafetySetpoint", $modGwId, $devName." SafetySetpoint", $adressmodSafetySetpoint, $temp, $modFcReadSetpoints, 0,7); + $modSafetySetpoint = 22;//$this->ModbusPublish($devEui."SafetySetpoint", $modGwId, $devName." SafetySetpoint", $adressmodSafetySetpoint, $temp, $modFcReadSetpoints, 0,7); $adressmodComIntervall = $this->ReadPropertyInteger("modComIntervall"); - $modComIntervall = $this->ModbusPublish($devEui."ComIntervall", $modGwId, $devName." ComIntervall", $adressmodComIntervall, $temp, $modFcReadSetpoints, 0,7); + $modComIntervall = 10;//$this->ModbusPublish($devEui."ComIntervall", $modGwId, $devName." ComIntervall", $adressmodComIntervall, $temp, $modFcReadSetpoints, 0,7); $adressmodRefRun = $this->ReadPropertyInteger("modRefRun"); $modRefRun = $this->ModbusPublish($devEui."RefRun", $modGwId, $devName." RefRun", $adressmodRefRun, $temp, $modFcReadSetpoints, 0,7); diff --git a/LoraNovos3T/module.php b/LoraNovos3T/module.php index 811ccbe..318ffe5 100644 --- a/LoraNovos3T/module.php +++ b/LoraNovos3T/module.php @@ -79,7 +79,8 @@ class LoraNovos3T extends IPSModule { $temp = "failure"; return "Fehler: Ungültiges JSON."; } - + $temp = "failure"; + $temp = $this->CheckGetArrayValue($data,"TEMP"); if ($temp != "failure") { $adressmodAmbient_Temperature = $this->ReadPropertyInteger("modAmbient_Temperature"); diff --git a/library.json b/library.json index 596888e..b8425f0 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.4", - "build": 4, + "build": 5, "date": 0 } \ No newline at end of file