diff --git a/Batterie_Deye/module.php b/Batterie_Deye/module.php index 8a6e570..f84d12a 100644 --- a/Batterie_Deye/module.php +++ b/Batterie_Deye/module.php @@ -10,9 +10,8 @@ class Batterie_Deye extends IPSModule // Batterie spezifische Eigenschaften $this->RegisterPropertyInteger("MaxBatterieleistung", 0); - // Batteriespannug ist jetzt in % nicht mehr in V $this->RegisterPropertyInteger("Batteriespannung", 50); - $this->RegisterPropertyInteger("Batterie_Ladezustand", 50) + $this->RegisterPropertyInteger("Batterie_Ladezustand", 50); $this->RegisterPropertyFloat("AufdasNachladen",0); $this->RegisterPropertyFloat("MinimumEntladen",0); $this->RegisterPropertyInteger("Batteriemanagement", 1); @@ -222,9 +221,6 @@ public function RequestAction($Ident, $Value) $sell_Ct = $this->GetValue("Batteriemanagement_Variabel"); - $V_Tou = GetValue($this->ReadPropertyInteger("Kotnrolle_TOU_Spannung")); - $V_lad_ent = $this->GetValue("Batteriespannung_laden_entladen"); - if ($ct != $sell_Ct) { $this->SetValue("Schreibkontrolle", false); } else { @@ -247,7 +243,6 @@ public function RequestAction($Ident, $Value) } */ IPS_LogMessage("Batterie", "Currentdata"); - $V = GetValue($this->ReadPropertyInteger("Batteriespannung")); $array_powersteps = $this->GeneratePowerSteps($this->GetValue("Aktuelle_Leistung")); $aufdasnachladen = $this->ReadPropertyFloat("AufdasNachladen"); $minimumentladen = $this->ReadPropertyFloat("MinimumEntladen");