V1.4.2
This commit is contained in:
@@ -379,30 +379,30 @@ class LoraMlr003 extends IPSModule {
|
|||||||
$modFcReadSetpoints = $this->ReadPropertyInteger("modFcReadSetpoints");
|
$modFcReadSetpoints = $this->ReadPropertyInteger("modFcReadSetpoints");
|
||||||
|
|
||||||
$adressmodUsermode = $this->ReadPropertyInteger("modUsermode");
|
$adressmodUsermode = $this->ReadPropertyInteger("modUsermode");
|
||||||
$modUsermode = $this->ModbusPublish($devEui."Usermode", $modGwId, $devName." Usermode", $adressmodUsermode, $temp, $modFcReadSetpoints, 0,5);
|
$modUsermode = $this->ModbusPublish($devEui."Usermode", $modGwId, $devName." Usermode", $adressmodUsermode, $temp, $modFcReadSetpoints, 0,7);
|
||||||
//echo $adressmodUsermode;
|
//echo $adressmodUsermode;
|
||||||
//echo $modUsermode;
|
//echo $modUsermode;
|
||||||
$adressmodSetpoint = $this->ReadPropertyInteger("modSetpoint");
|
$adressmodSetpoint = $this->ReadPropertyInteger("modSetpoint");
|
||||||
$modSetpoint = $this->ModbusPublish($devEui."Setpoint", $modGwId, $devName." Setpoint", $adressmodSetpoint, $temp, $modFcReadSetpoints, 0,5);
|
$modSetpoint = $this->ModbusPublish($devEui."Setpoint", $modGwId, $devName." Setpoint", $adressmodSetpoint, $temp, $modFcReadSetpoints, 0,7);
|
||||||
|
|
||||||
$idFromsetpointModbus = $this->GetIDForIdent("setpointModbus");
|
$idFromsetpointModbus = $this->GetIDForIdent("setpointModbus");
|
||||||
SetValueFloat($idFromsetpointModbus,$modSetpoint);
|
SetValueFloat($idFromsetpointModbus,$modSetpoint);
|
||||||
|
|
||||||
//echo $modSetpoint;
|
//echo $modSetpoint;
|
||||||
$adressmodRoomtemp = $this->ReadPropertyInteger("modRoomtemp");
|
$adressmodRoomtemp = $this->ReadPropertyInteger("modRoomtemp");
|
||||||
$modRoomtemp = $this->ModbusPublish($devEui."Roomtemp", $modGwId, $devName." Roomtemp", $adressmodRoomtemp, $temp, $modFcReadSetpoints, 0,5);
|
$modRoomtemp = $this->ModbusPublish($devEui."Roomtemp", $modGwId, $devName." Roomtemp", $adressmodRoomtemp, $temp, $modFcReadSetpoints, 0,7);
|
||||||
|
|
||||||
$adressmodSafetymode = $this->ReadPropertyInteger("modSafetymode");
|
$adressmodSafetymode = $this->ReadPropertyInteger("modSafetymode");
|
||||||
$modSafetymode = $this->ModbusPublish($devEui."Safetymode", $modGwId, $devName." Safetymode", $adressmodSafetymode, $temp, $modFcReadSetpoints, 0,5);
|
$modSafetymode = $this->ModbusPublish($devEui."Safetymode", $modGwId, $devName." Safetymode", $adressmodSafetymode, $temp, $modFcReadSetpoints, 0,7);
|
||||||
|
|
||||||
$adressmodSafetySetpoint = $this->ReadPropertyInteger("modSafetySetpoint");
|
$adressmodSafetySetpoint = $this->ReadPropertyInteger("modSafetySetpoint");
|
||||||
$modSafetySetpoint = $this->ModbusPublish($devEui."SafetySetpoint", $modGwId, $devName." SafetySetpoint", $adressmodSafetySetpoint, $temp, $modFcReadSetpoints, 0,5);
|
$modSafetySetpoint = $this->ModbusPublish($devEui."SafetySetpoint", $modGwId, $devName." SafetySetpoint", $adressmodSafetySetpoint, $temp, $modFcReadSetpoints, 0,7);
|
||||||
|
|
||||||
$adressmodComIntervall = $this->ReadPropertyInteger("modComIntervall");
|
$adressmodComIntervall = $this->ReadPropertyInteger("modComIntervall");
|
||||||
$modComIntervall = $this->ModbusPublish($devEui."ComIntervall", $modGwId, $devName." ComIntervall", $adressmodComIntervall, $temp, $modFcReadSetpoints, 0,5);
|
$modComIntervall = $this->ModbusPublish($devEui."ComIntervall", $modGwId, $devName." ComIntervall", $adressmodComIntervall, $temp, $modFcReadSetpoints, 0,7);
|
||||||
|
|
||||||
$adressmodRefRun = $this->ReadPropertyInteger("modRefRun");
|
$adressmodRefRun = $this->ReadPropertyInteger("modRefRun");
|
||||||
$modRefRun = $this->ModbusPublish($devEui."RefRun", $modGwId, $devName." RefRun", $adressmodRefRun, $temp, $modFcReadSetpoints, 0,5);
|
$modRefRun = $this->ModbusPublish($devEui."RefRun", $modGwId, $devName." RefRun", $adressmodRefRun, $temp, $modFcReadSetpoints, 0,7);
|
||||||
|
|
||||||
|
|
||||||
$usermode = $modUsermode;
|
$usermode = $modUsermode;
|
||||||
|
|||||||
+1
-1
@@ -8,6 +8,6 @@
|
|||||||
"date": 1491343200
|
"date": 1491343200
|
||||||
},
|
},
|
||||||
"version": "1.4",
|
"version": "1.4",
|
||||||
"build": 1,
|
"build": 2,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user