diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 94ed23d..5ca5b32 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -736,6 +736,19 @@ class Ladestation_v2 extends IPSModule if($counter>(90/($this->ReadPropertyInteger("Interval")))){ $this->SetValue("Pending_Counter", 0); + + IPS_LogMessage("Vergleich", "nach Vergleich" . json_decode($this->GetValue("PowerSteps"))); + + + + IPS_LogMessage("Vergleich", "nach Vergleich2" . max(json_decode($this->GetValue("PowerSteps")))); + + + + IPS_LogMessage("Vergleich", "nach Vergleich3" . $this->GetVaue("Power")); + + + if((max(json_decode($this->GetValue("PowerSteps")))==$this->GetVaue("Power"))&&(max(json_decode($this->GetValue("PowerSteps"))>0))){ $this->Calc_Max_Current($this->GetValue("Is_1_ph"));