diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 3a7725e..3aa2d23 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -155,7 +155,7 @@ class Ladestation_v2 extends IPSModule $counter = $this->GetValue("Pending_Counter"); - if($counter>(30/($this->ReadPropertyInteger("Interval")))){ + if($counter>(45/($this->ReadPropertyInteger("Interval")))){ $this->SetValue("Pending_Counter", 0); if($this->GetValue("Ladeleistung_Effektiv")>7500){ @@ -182,6 +182,7 @@ class Ladestation_v2 extends IPSModule }else{ $this->SetValue("Car_detected", false); + $this->sendPowerToStation(32); } } @@ -401,7 +402,7 @@ class Ladestation_v2 extends IPSModule } - if($counter>(30/($this->ReadPropertyInteger("Interval")))){ + if($counter>(45/($this->ReadPropertyInteger("Interval")))){ $this->SetValue("Pending_Counter", 0); $this->Calc_Max_Current($this->GetValue("Is_1_ph"));