no message
This commit is contained in:
@@ -295,7 +295,7 @@ class Ladestation_Universal extends IPSModule
|
|||||||
|
|
||||||
SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data["State"]);
|
SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data["State"]);
|
||||||
|
|
||||||
if($this->GetValue("Aktuelle_Leistung")>0){
|
if(($this->GetValue("Ladeleistung_Effektiv")>0)&& ($data["MaxAllowedChargingCurrent"]>0)){
|
||||||
if ($data["ActiveChargingPower"]/$data["MaxAllowedChargingCurrent"] > 0.4/* && $data["State"] != 1*/) {
|
if ($data["ActiveChargingPower"]/$data["MaxAllowedChargingCurrent"] > 0.4/* && $data["State"] != 1*/) {
|
||||||
SetValue($this->GetIDForIdent("Lademodus"), 1);
|
SetValue($this->GetIDForIdent("Lademodus"), 1);
|
||||||
} elseif ($data["State"] != 1) {
|
} elseif ($data["State"] != 1) {
|
||||||
@@ -323,8 +323,8 @@ class Ladestation_Universal extends IPSModule
|
|||||||
|
|
||||||
IPS_LogMessage("Lades", "Hier");
|
IPS_LogMessage("Lades", "Hier");
|
||||||
|
|
||||||
$akt = $this->GetValue("Aktuelle_Leistung");
|
$akt = $this->GetValue("Ladeleistung_Effektiv");
|
||||||
$pow = $this->GetValue("Power");
|
$pow = $this->GetValue("Aktuelle_Leistung");
|
||||||
IPS_LogMessage("akt", $akt);
|
IPS_LogMessage("akt", $akt);
|
||||||
IPS_LogMessage("pow", $pow);
|
IPS_LogMessage("pow", $pow);
|
||||||
|
|
||||||
@@ -344,7 +344,7 @@ class Ladestation_Universal extends IPSModule
|
|||||||
|
|
||||||
|
|
||||||
if($this->GetValue("Power_Count")>8){
|
if($this->GetValue("Power_Count")>8){
|
||||||
$maxLeistung = 1.05 * $this->GetValue("Aktuelle_Leistung");
|
$maxLeistung = 1.05 * $this->GetValue("Ladeleistung_Effektiv");
|
||||||
IPS_LogMessage("Lades", "Hier5");
|
IPS_LogMessage("Lades", "Hier5");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "1.223",
|
"version": "1.224",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user