This commit is contained in:
jhartworks
2024-12-13 08:11:02 +01:00
parent 27a0bee822
commit e1ac7c9077
2 changed files with 8 additions and 8 deletions
+7 -7
View File
@@ -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
View File
@@ -8,6 +8,6 @@
"date": 1491343200 "date": 1491343200
}, },
"version": "1.4", "version": "1.4",
"build": 1, "build": 2,
"date": 0 "date": 0
} }