From e424f2412927478c6caca3b30a618e217495d6a4 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Wed, 3 Dec 2025 09:59:22 +0100 Subject: [PATCH] no message --- Batterie/module.php | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index c497a1c..e034879 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -23,9 +23,9 @@ class Batterie extends IPSModule $this->RegisterVariableFloat("Entladeleistung","Entladeleistung", "",0); $this->RegisterVariableInteger("Batteriemanagement_Variabel","Batteriemanagement_Variabel", "",0); //$this->RegisterVariableInteger("Laden3_Entladen4","Laden3_Entladen4", "",3); - //$this->RegisterVariableInteger("Laden_Entladen","Laden_Entladen", "",3); + $this->RegisterVariableInteger("Laden_Entladen","Laden_Entladen", "",3); $this->RegisterVariableFloat("Ladeleistung","Ladeleistung", "",0); - //$this->RegisterVariableFloat("Goodwe_EntLadeleistung","Goodwe_EntLadeleistung", "",0); + $this->RegisterVariableFloat("Goodwe_EntLadeleistung","Goodwe_EntLadeleistung", "",0); $this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0); $this->RegisterVariableString("PowerSteps", "PowerSteps"); $this->RegisterVariableBoolean("Idle", "Idle", "", 0); @@ -62,19 +62,7 @@ class Batterie extends IPSModule $this->SetValue("Batteriemanagement_Variabel", $batterieManagement); $this->SetTimerInterval("Timer_Do_UserCalc_Battery",$this->ReadPropertyInteger("Interval")*1000); - switch ($batterietyp) { - case 1: // z.B. LiFePo4 - $this->RegisterVariableFloat("Goodwe_EntLadeleistung","Goodwe_EntLadeleistung", "",0); - break; - case 2: // z.B. Blei-Gel - - break; - - case 3: - - break; - }