no message

This commit is contained in:
2026-06-01 13:48:04 +02:00
parent 8d2ce4a228
commit 8a591ab1c7
2 changed files with 20 additions and 7 deletions
+4 -4
View File
@@ -3,18 +3,18 @@
{
"type": "ValidationTextBox",
"name": "TopicSuffix",
"caption": "Topic Suffix / x"
"caption": "Topic Suffix"
},
{
"type": "SelectVariable",
"name": "ReqActionID",
"caption": "Ausgabe-Variable / RequestAction"
"caption": "Ausgabe-Variable / Nennleistung"
},
{
"type": "SelectInstance",
"name": "PublishInstanceID",
"caption": "MQTT Publish Helper"
},
},
{
"type": "SelectVariable",
"name": "SoCID",
@@ -23,7 +23,7 @@
{
"type": "SelectVariable",
"name": "PowerProductionID",
"caption": "Aktuelle Leistung Variable"
"caption": "Aktuelle Leistung SDL"
},
{
"type": "NumberSpinner",
+13
View File
@@ -142,6 +142,19 @@ class MQTTBatterySDL extends IPSModule
$dischargePower = $this->ReadPropertyInteger('DischargePower');
// -------------------------------------------------
// Grenz Soc's
// -------------------------------------------------
if (($soc <= 4 || $soc >= 95) && $strategy != "restore") {
SetValue(
$reqActionID,
0
);
return;
}
// -------------------------------------------------
// Strategy activate
// -------------------------------------------------