This commit is contained in:
2025-03-21 15:00:12 +01:00
parent 92790e7d88
commit a26b5ffe6c
2 changed files with 8 additions and 1 deletions

View File

@@ -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");
}

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "1.221",
"version": "1.222",
"build": 0,
"date": 0
}