no message
This commit is contained in:
@@ -295,7 +295,7 @@ class Ladestation_Universal extends IPSModule
|
||||
|
||||
SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data["State"]);
|
||||
|
||||
if($data["MaxAllowedChargingCurrent"]>0 && $data["State"] != 1){
|
||||
if($this->GetValue("Aktuelle_Leistung")>0){
|
||||
if ($data["ActiveChargingPower"]/$data["MaxAllowedChargingCurrent"] > 0.4/* && $data["State"] != 1*/) {
|
||||
SetValue($this->GetIDForIdent("Lademodus"), 1);
|
||||
} elseif ($data["State"] != 1) {
|
||||
@@ -321,9 +321,9 @@ class Ladestation_Universal extends IPSModule
|
||||
$this->SetValue("Peak", $Peak);
|
||||
|
||||
|
||||
if(($this->GetValue("Aktuelle_Leistung")<(0.8*$this->GetValue("Power"))) && $this->GetValue("Power")>0){
|
||||
if(($this->GetValue("Aktuelle_Leistung")<(0.8*$this->GetValue("Power"))) && ($this->GetValue("Power")>0)){
|
||||
|
||||
$dummy = $this->GetValue("Power_Count")+1
|
||||
$dummy = $this->GetValue("Power_Count")+1;
|
||||
$this->SetValue("Power_Count", $dummy);
|
||||
|
||||
}elseif($this->GetValue("Power_Count")<=8) {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "1.219",
|
||||
"version": "1.221",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user