diff --git a/LoraMlr003/form.json b/LoraMlr003/form.json index 1667182..176e4c9 100644 --- a/LoraMlr003/form.json +++ b/LoraMlr003/form.json @@ -21,7 +21,6 @@ { "type": "NumberSpinner", "name": "modCurrent_Valve_Position", "caption": "Modbusadress Current_Valve_Position" }, { "type": "NumberSpinner", "name": "modCalibration_OK", "caption": "Modbusadress Calibration_OK" }, - { "type": "NumberSpinner", "name": "modFlow_Sensor_Failure", "caption": "Modbusadress Flow_Sensor_Failure" }, { "type": "NumberSpinner", "name": "modFlow_Temperature", "caption": "Modbusadress Flow_Temperature (Float)" }, { "type": "NumberSpinner", "name": "modHarvesting_Active", "caption": "Modbusadress Harvesting_Active" }, diff --git a/LoraMlr003/module.php b/LoraMlr003/module.php index 7818b43..919599d 100644 --- a/LoraMlr003/module.php +++ b/LoraMlr003/module.php @@ -22,7 +22,7 @@ class LoraMlr003 extends IPSModule { $this->RegisterPropertyInteger("modCurrent_Valve_Position",12345); $this->RegisterPropertyInteger("modCalibration_OK",12345); - $this->RegisterPropertyInteger("modFlow_Sensor_Failure",12345); + $this->RegisterPropertyInteger("modFlow_Temperature",12345); $this->RegisterPropertyInteger("modHarvesting_Active",12345); @@ -193,8 +193,6 @@ class LoraMlr003 extends IPSModule { $temp = $this->CheckGetArrayValue($data,"Flow_Sensor_Failure"); if ($temp != "failure") { - $adressmodFlow_Sensor_Failure = $this->ReadPropertyInteger("modFlow_Sensor_Failure"); - $this->ModbusPublish($devEui."Flow_Sensor_Failure", $modGwId, $devName." Flow_Sensor_Failure", $adressmodFlow_Sensor_Failure, $temp, $modFcReadActValues, $modFcWriteActValues,0); $temp = "failure"; } diff --git a/library.json b/library.json index 448d2a2..ab8321c 100644 --- a/library.json +++ b/library.json @@ -7,7 +7,7 @@ "version": "6.0", "date": 1491343200 }, - "version": "1.2", + "version": "1.3", "build": 1, "date": 0 } \ No newline at end of file