no message
This commit is contained in:
@@ -156,12 +156,17 @@ class Ladestation_v2 extends IPSModule
|
|||||||
$this->SetValue("Car_detected", true);
|
$this->SetValue("Car_detected", true);
|
||||||
if($this->GetValue("Max_Current")<6){
|
if($this->GetValue("Max_Current")<6){
|
||||||
$this->SetValue("Car_is_full", true);
|
$this->SetValue("Car_is_full", true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
$this->SetValue("Car_detected", false);
|
$this->SetValue("Car_detected", false);
|
||||||
$this->SetValue("Car_is_full", false);
|
$this->SetValue("Car_is_full", false);
|
||||||
|
$this->SetValue("IsTimerActive", false);
|
||||||
|
$this->SetValue("Is_1_ph", false);
|
||||||
|
$this->SetValue("Aktuelle_Leistung", 0);
|
||||||
|
$this->SetValue("IdleCounter", 0);
|
||||||
|
$this->SetValue("Idle", true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|||||||
Reference in New Issue
Block a user