From c27aa632c2155ff4de60819a84f3cb9ff96ad5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Wed, 24 Sep 2025 13:35:03 +0200 Subject: [PATCH] no message --- Ladestation_v2/module.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index de6d408..b91d040 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -736,18 +736,12 @@ class Ladestation_v2 extends IPSModule if($counter>(90/($this->ReadPropertyInteger("Interval")))){ $this->SetValue("Pending_Counter", 0); - - IPS_LogMessage("asdf1", "asdf1". max(json_decode($this->GetValue("PowerSteps")))); - IPS_LogMessage("asdf2", "asdf2". $this->GetValue("Power")); - IPS_LogMessage("asdf3", "asdf1". ($this->GetValue("Power")==max(json_decode($this->GetValue("PowerSteps"))))); - IPS_LogMessage("asdf4", "asdf1". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0)))); + if((max(json_decode($this->GetValue("PowerSteps")))) >0){ - IPS_LogMessage("asdf5", "asdf5". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0)))); - if( (max(json_decode($this->GetValue("PowerSteps")))) == ($this->GetValue("Power") )) { + if($this->GetValue("Aktuelle_Leistung")>(1.11*$this->GetValue("Ladeleistung_Effektiv"))) { $this->Calc_Max_Current($this->GetValue("Is_1_ph")); - IPS_LogMessage("asdf6", "asdf6". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0)))); }