From db6cadc084aba972ed6420b8f3ebb4041f421a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Tue, 8 Apr 2025 13:51:32 +0200 Subject: [PATCH] no message --- Ladestation_v2/module.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;