no message
This commit is contained in:
@@ -3,12 +3,12 @@
|
|||||||
{
|
{
|
||||||
"type": "ValidationTextBox",
|
"type": "ValidationTextBox",
|
||||||
"name": "TopicSuffix",
|
"name": "TopicSuffix",
|
||||||
"caption": "Topic Suffix / x"
|
"caption": "Topic Suffix"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "SelectVariable",
|
"type": "SelectVariable",
|
||||||
"name": "ReqActionID",
|
"name": "ReqActionID",
|
||||||
"caption": "Ausgabe-Variable / RequestAction"
|
"caption": "Ausgabe-Variable / Nennleistung"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "SelectInstance",
|
"type": "SelectInstance",
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
{
|
{
|
||||||
"type": "SelectVariable",
|
"type": "SelectVariable",
|
||||||
"name": "PowerProductionID",
|
"name": "PowerProductionID",
|
||||||
"caption": "Aktuelle Leistung Variable"
|
"caption": "Aktuelle Leistung SDL"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "NumberSpinner",
|
"type": "NumberSpinner",
|
||||||
|
|||||||
@@ -142,6 +142,19 @@ class MQTTBatterySDL extends IPSModule
|
|||||||
|
|
||||||
$dischargePower = $this->ReadPropertyInteger('DischargePower');
|
$dischargePower = $this->ReadPropertyInteger('DischargePower');
|
||||||
|
|
||||||
|
|
||||||
|
// -------------------------------------------------
|
||||||
|
// Grenz Soc's
|
||||||
|
// -------------------------------------------------
|
||||||
|
if (($soc <= 4 || $soc >= 95) && $strategy != "restore") {
|
||||||
|
|
||||||
|
SetValue(
|
||||||
|
$reqActionID,
|
||||||
|
0
|
||||||
|
);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
// -------------------------------------------------
|
// -------------------------------------------------
|
||||||
// Strategy activate
|
// Strategy activate
|
||||||
// -------------------------------------------------
|
// -------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user