no message

This commit is contained in:
2026-06-26 13:13:40 +02:00
parent caef098724
commit 223a447951
2 changed files with 2 additions and 5 deletions
+1 -2
View File
@@ -19,8 +19,7 @@
"type": "NumberSpinner", "type": "NumberSpinner",
"name": "MaxPowerSetpoint", "name": "MaxPowerSetpoint",
"caption": "Max. Power Setpoint", "caption": "Max. Power Setpoint",
"minimum": 0, "minimum": 0
"maximum": 100000
} }
], ],
"actions": [ "actions": [
+1 -3
View File
@@ -23,8 +23,6 @@ class MQTTPVSDL extends IPSModule
$this->RegisterVariableBoolean('IsReady', 'Is Ready', '', 10); $this->RegisterVariableBoolean('IsReady', 'Is Ready', '', 10);
$this->RegisterVariableBoolean('IsRunning', 'Is Running', '', 20); $this->RegisterVariableBoolean('IsRunning', 'Is Running', '', 20);
$this->RegisterVariableFloat('MinSoC', 'Min SoC', '', 30);
$this->RegisterVariableFloat('MaxSoC', 'Max SoC', '', 40);
$this->RegisterVariableInteger('PowerSetpoint', 'Power Setpoint', '', 50); $this->RegisterVariableInteger('PowerSetpoint', 'Power Setpoint', '', 50);
$this->EnableAction('PowerSetpoint'); $this->EnableAction('PowerSetpoint');
@@ -104,7 +102,7 @@ class MQTTPVSDL extends IPSModule
public function RunBatteryControl() public function RunBatteryControl()
{ {
$reqActionID = $this->ReadPropertyInteger('ReqActionID'); $reqActionID = $this->ReadPropertyInteger('ReqActionID');
$max = $this->ReadPropertyInteger('MaxPowerSetpoint');
$powerProductionID = $this->ReadPropertyInteger('PowerProductionID'); $powerProductionID = $this->ReadPropertyInteger('PowerProductionID');