no message

This commit is contained in:
2025-03-21 14:55:47 +01:00
parent 7c2a357e2a
commit 92790e7d88
2 changed files with 4 additions and 4 deletions

View File

@@ -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) {

View File

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