From 2dde866307aad6ae1fd13ae5798b269d5483835e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Tue, 8 Apr 2025 10:00:05 +0200 Subject: [PATCH] no message --- Ladestation_v2/module.php | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 50c2235..1904c64 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -19,6 +19,7 @@ class Ladestation_v2 extends IPSModule // Ladestationspezifische Variabeln $this->RegisterVariableFloat("Max_Current","Maximaler Ladestrom","~Switch", 0); + IPS_SetHidden($this->GetIDForIdent("Max_Current"), true); $this->RegisterVariableBoolean("Is_1_ph", "Auto lädt 1-Phasig", "~Switch", false); $this->RegisterVariableBoolean("Car_detected", "Auto erkannt","~Switch", false); $this->RegisterVariableInteger("Pending_Counter", "Pending_Counter", "", 0); @@ -29,8 +30,12 @@ class Ladestation_v2 extends IPSModule $this->RegisterVariableBoolean("Solarladen", "Solarladen ein", "~Switch", false); $this->EnableAction("Solarladen"); $this->RegisterVariableInteger("Fahrzeugstatus", "Fahrzeugstatus", "", 0); - $this->RegisterVariableFloat("Ladeleistung_Effektiv", "Effektive Ladeleistung", "", 0); + IPS_SetHidden($this->GetIDForIdent("Fahrzeugstatus"), true); + + $this->RegisterVariableFloat("Ladeleistung_Effektiv", "Aktuelle Ladeleistung", "", 0); $this->RegisterVariableBoolean("Peak", "Peak", "", 0); + IPS_SetHidden($this->GetIDForIdent("Peak"), true); + @@ -40,12 +45,25 @@ class Ladestation_v2 extends IPSModule $this->RegisterVariableInteger("PV_Prio", "Priorität Solarladen", "", 0); $this->EnableAction("PV_Prio"); $this->RegisterVariableBoolean("Idle", "Idle", "", 0); + IPS_SetHidden($this->GetIDForIdent("Idle"), true); + $this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0); + IPS_SetHidden($this->GetIDForIdent("Aktuelle_Leistung"), true); + $this->RegisterVariableFloat("Bezogene_Energie", "Gesamter Energiebezug", "", 0); + IPS_SetHidden($this->GetIDForIdent("Bezogene_Energie"), true); + $this->RegisterVariableString("PowerSteps", "Leistungsschritte"); + IPS_SetHidden($this->GetIDForIdent("PowerSteps"), true); + $this->RegisterVariableInteger("Power", "Power"); + IPS_SetHidden($this->GetIDForIdent("Power"), true); + $this->RegisterVariableBoolean("Is_Peak_Shaving", "Is_Peak_Shaving"); + IPS_SetHidden($this->GetIDForIdent("Is_Peak_Shaving"), true); + $this->RegisterVariableInteger("Leistung_Delta", "Leistung_Delta", "", 0); + IPS_SetHidden($this->GetIDForIdent("Leistung_Delta"), true); // Hilfsvariabeln für Idle zustand $this->RegisterPropertyInteger("IdleCounterMax", 2);