no message
This commit is contained in:
+1
-2
@@ -19,8 +19,7 @@
|
||||
"type": "NumberSpinner",
|
||||
"name": "MaxPowerSetpoint",
|
||||
"caption": "Max. Power Setpoint",
|
||||
"minimum": 0,
|
||||
"maximum": 100000
|
||||
"minimum": 0
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
|
||||
@@ -23,8 +23,6 @@ class MQTTPVSDL extends IPSModule
|
||||
$this->RegisterVariableBoolean('IsReady', 'Is Ready', '', 10);
|
||||
$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->EnableAction('PowerSetpoint');
|
||||
@@ -104,7 +102,7 @@ class MQTTPVSDL extends IPSModule
|
||||
public function RunBatteryControl()
|
||||
{
|
||||
$reqActionID = $this->ReadPropertyInteger('ReqActionID');
|
||||
|
||||
$max = $this->ReadPropertyInteger('MaxPowerSetpoint');
|
||||
$powerProductionID = $this->ReadPropertyInteger('PowerProductionID');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user