-
This commit is contained in:
+5
-1
@@ -201,6 +201,8 @@ public function RequestAction($Ident, $Value)
|
|||||||
$filtered_powersteps_laden = array_values($filtered_powersteps);
|
$filtered_powersteps_laden = array_values($filtered_powersteps);
|
||||||
$this->SetValue("PowerSteps", json_encode($filtered_powersteps_laden));
|
$this->SetValue("PowerSteps", json_encode($filtered_powersteps_laden));
|
||||||
IPS_LogMessage("Batterie", ": peak: Hysterese");
|
IPS_LogMessage("Batterie", ": peak: Hysterese");
|
||||||
|
IPS_LogMessage("Debug", "peak: Hysterese Hysterese_Netz: " . ($inhystere_netz ? "true" : "false"));
|
||||||
|
IPS_LogMessage("Debug", "peak: Hysterese Hysterese: " . ($inhystere ? "true" : "false"));
|
||||||
|
|
||||||
} elseif ($inhystere_netz == true && $inhystere == false) {
|
} elseif ($inhystere_netz == true && $inhystere == false) {
|
||||||
$netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug"));
|
$netzbezug = GetValue($this->ReadPropertyInteger("Netzbezug"));
|
||||||
@@ -211,6 +213,8 @@ public function RequestAction($Ident, $Value)
|
|||||||
}
|
}
|
||||||
$this->SetValue("PowerSteps", json_encode($dummy_array));
|
$this->SetValue("PowerSteps", json_encode($dummy_array));
|
||||||
IPS_LogMessage("Batterie", "Peak: netzbezug, keine hysterese");
|
IPS_LogMessage("Batterie", "Peak: netzbezug, keine hysterese");
|
||||||
|
IPS_LogMessage("Debug", "Peak: netzbezug, keine hysterese Hysterese_Netz: " . ($inhystere_netz ? "true" : "false"));
|
||||||
|
IPS_LogMessage("Debug", "Peak: netzbezug, keine hysterese Hysterese: " . ($inhystere ? "true" : "false"));
|
||||||
|
|
||||||
} elseif ($inhystere_netz == false && $inhystere == false) {
|
} elseif ($inhystere_netz == false && $inhystere == false) {
|
||||||
$this->SetValue("PowerSteps", json_encode($array_powersteps));
|
$this->SetValue("PowerSteps", json_encode($array_powersteps));
|
||||||
@@ -225,7 +229,7 @@ public function RequestAction($Ident, $Value)
|
|||||||
|
|
||||||
|
|
||||||
} else { // Solar
|
} else { // Solar
|
||||||
|
|
||||||
if ($batterieladezustand >= 5 + $aufdasnachladen) {
|
if ($batterieladezustand >= 5 + $aufdasnachladen) {
|
||||||
$this->SetValue("Hysterese", false);
|
$this->SetValue("Hysterese", false);
|
||||||
$this->SetValue("Hysterese_Netz", true);
|
$this->SetValue("Hysterese_Netz", true);
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "1.234",
|
"version": "1.235",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user