no message
This commit is contained in:
@@ -142,11 +142,12 @@ class MQTTBatterySDL extends IPSModule
|
|||||||
|
|
||||||
$dischargePower = $this->ReadPropertyInteger('DischargePower');
|
$dischargePower = $this->ReadPropertyInteger('DischargePower');
|
||||||
|
|
||||||
|
$minSoC = GetValue($this->GetIDForIdent('MinSoC'));
|
||||||
|
$maxSoC = GetValue($this->GetIDForIdent('MaxSoC'));
|
||||||
// -------------------------------------------------
|
// -------------------------------------------------
|
||||||
// Grenz Soc's
|
// Grenz Soc's
|
||||||
// -------------------------------------------------
|
// -------------------------------------------------
|
||||||
if (($soc <= 4 || $soc >= 95) && $strategy != "restore") {
|
if (($soc <= $minSoC || $soc >= $maxSoC) && $strategy != "restore") {
|
||||||
|
|
||||||
SetValue(
|
SetValue(
|
||||||
$reqActionID,
|
$reqActionID,
|
||||||
|
|||||||
Reference in New Issue
Block a user