diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index b98213e..efdf9d4 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -320,21 +320,28 @@ class Ladestation_Universal extends IPSModule // Peak-Wert speichern $this->SetValue("Peak", $Peak); + + IPS_LogMessage("Lades", "Hier"); if(($this->GetValue("Aktuelle_Leistung")<(0.8*$this->GetValue("Power"))) && ($this->GetValue("Power")>0)){ + IPS_LogMessage("Lades", "Hier2"); $dummy = $this->GetValue("Power_Count")+1; $this->SetValue("Power_Count", $dummy); }elseif($this->GetValue("Power_Count")<=8) { + IPS_LogMessage("Lades", "Hier3"); $this->SetValue("Power_Count", 0); } + IPS_LogMessage("Lades", "Hier4"); if($this->GetValue("Power_Count")>8){ $maxLeistung = 1.05 * $this->GetValue("Aktuelle_Leistung"); + IPS_LogMessage("Lades", "Hier5"); + } diff --git a/library.json b/library.json index 9a75b56..d7d3fdf 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.221", + "version": "1.222", "build": 0, "date": 0 } \ No newline at end of file