diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 4c97f27..a60237a 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -269,10 +269,10 @@ class Ladestation_v2 extends IPSModule { $maxCurrent = 32; if($is_1_ph){ - $maxCurrent = 1.15 * ($this->GetValue("Ladeleistung_Effektiv") / 230); + $maxCurrent = (1.5 * 230) + ($this->GetValue("Ladeleistung_Effektiv") / 230); } else{ - $maxCurrent = 1.15 * ($this->GetValue("Ladeleistung_Effektiv") / (1.71*400)); + $maxCurrent = (1.5 * 400) + ($this->GetValue("Ladeleistung_Effektiv") / (1.71*400)); } if($maxCurrent>32){ $maxCurrent = 32;