diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index e9b4d8b..0f5c60c 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -737,20 +737,8 @@ class Ladestation_v2 extends IPSModule $this->SetValue("Pending_Counter", 0); - IPS_LogMessage("Vergleich", "nach Vergleich" . json_decode($this->GetValue("PowerSteps"))); - IPS_LogMessage("Vergleich1", "nach Vergleich" . print_r(json_decode($this->GetValue("PowerSteps")))); - - - IPS_LogMessage("Vergleich2", "nach Vergleich2" . max(json_decode($this->GetValue("PowerSteps"))). $this->GetVaue("Aktuelle_Leistung")); - - - - IPS_LogMessage("Vergleich3", "nach Vergleich3" . $this->GetVaue("Aktuelle_Leistung")); - - - - if((max(json_decode($this->GetValue("PowerSteps")))==$this->GetVaue("Aktuelle_Leistung"))&&(max(json_decode($this->GetValue("PowerSteps"))>0))){ + if((max(json_decode($this->GetValue("PowerSteps")))==$this->GetValue("Aktuelle_Power"))&&(max(json_decode($this->GetValue("PowerSteps"))>0))){ $this->Calc_Max_Current($this->GetValue("Is_1_ph")); }