From e439cba34d51957db19b8d3732de408ea645e124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Fri, 21 Mar 2025 15:17:13 +0100 Subject: [PATCH] no message --- Ladestation_Universal/module.php | 8 ++++---- library.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index af89269..7510078 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -295,7 +295,7 @@ class Ladestation_Universal extends IPSModule 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*/) { SetValue($this->GetIDForIdent("Lademodus"), 1); } elseif ($data["State"] != 1) { @@ -323,8 +323,8 @@ class Ladestation_Universal extends IPSModule IPS_LogMessage("Lades", "Hier"); - $akt = $this->GetValue("Aktuelle_Leistung"); - $pow = $this->GetValue("Power"); + $akt = $this->GetValue("Ladeleistung_Effektiv"); + $pow = $this->GetValue("Aktuelle_Leistung"); IPS_LogMessage("akt", $akt); IPS_LogMessage("pow", $pow); @@ -344,7 +344,7 @@ class Ladestation_Universal extends IPSModule if($this->GetValue("Power_Count")>8){ - $maxLeistung = 1.05 * $this->GetValue("Aktuelle_Leistung"); + $maxLeistung = 1.05 * $this->GetValue("Ladeleistung_Effektiv"); IPS_LogMessage("Lades", "Hier5"); } diff --git a/library.json b/library.json index 8676f31..9aac48b 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.223", + "version": "1.224", "build": 0, "date": 0 } \ No newline at end of file