logging
This commit is contained in:
@@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "1.221",
|
||||
"version": "1.222",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user