no message
This commit is contained in:
@@ -299,11 +299,11 @@ class Ladestation_v2 extends IPSModule
|
|||||||
$Ladebereit = GetValue($this->GetIDForIdent("Ladebereit"));
|
$Ladebereit = GetValue($this->GetIDForIdent("Ladebereit"));
|
||||||
if (!$Ladebereit) {
|
if (!$Ladebereit) {
|
||||||
|
|
||||||
$this->sendPowerToStation($this->GetValue("Is_1_ph"), 0);
|
$this->sendPowerToStation(0);
|
||||||
|
|
||||||
} elseif (!$peak && !$solarladen) {
|
} elseif (!$peak && !$solarladen) {
|
||||||
// Wenn weder Peak noch Solarladen aktiv sind, setze Ladeleistung auf MaxLeistung
|
// Wenn weder Peak noch Solarladen aktiv sind, setze Ladeleistung auf MaxLeistung
|
||||||
$this->sendPowerToStation($this->Get_Current_From_Power($this->GetValue("Is_1_ph"), $this->GetValue("Max_Current")));
|
$this->sendPowerToStation($this->Get_Current_From_Power($this->GetValue("Is_1_ph"), $power));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// Ansonsten setze Ladeleistung auf die aktuelle Leistungsvorgabe (Aktuelle_Leistung)
|
// Ansonsten setze Ladeleistung auf die aktuelle Leistungsvorgabe (Aktuelle_Leistung)
|
||||||
|
|||||||
Reference in New Issue
Block a user