Anpassungen am Ladetaions-Verbraucher Bugfixes wenn ladung nciht mehr startete

This commit is contained in:
2025-11-05 14:43:32 +01:00
parent 5e08aa051d
commit fa8c78a94d
22 changed files with 2216 additions and 24 deletions

View File

@@ -204,6 +204,7 @@ class Ladestation_v2 extends IPSModule
}else{
$this->SetValue("Car_detected", false);
$this->SetValue("Pending_Counter", 0);
$this->SetValue("Leistung_Delta", 0);
$this->SetValue("Car_is_full", false);
$this->ResetTimer();
@@ -698,7 +699,7 @@ class Ladestation_v2 extends IPSModule
$powerSteps = [];
// Konfiguration des powerSteps-Arrays basierend auf den Properties
if (!$ladebereit) {
if (!$ladebereit || $this->GetValue("Car_is_full")) {
$powerSteps = [0];
} elseif (!$Peak && !$solarladen) {
$powerSteps = [max($this->Get_Array_From_Current($this->GetValue("Is_1_ph"),$this->GetValue("Max_Current"), $this->GetValue("Aktuelle_Leistung"), $this->GetValue("IsTimerActive_Null_Timer")))];