From e54797dd4b02bba716a38a0c55e05fd1157e8079 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Wed, 15 Oct 2025 15:17:09 +0200 Subject: [PATCH] no message --- Batterie_Deye/module.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Batterie_Deye/module.php b/Batterie_Deye/module.php index 785d166..29699e9 100644 --- a/Batterie_Deye/module.php +++ b/Batterie_Deye/module.php @@ -152,7 +152,7 @@ public function RequestAction($Ident, $Value) $this->SetValue("Ladestrom", $lade_strom); $this->SetValue("Entladestrom", 0); - $this->SetValue("Batteriespannung_laden_entladen", 56); + $this->SetValue("Batteriespannung_laden_entladen", 49); } elseif ($power > 0) { @@ -171,7 +171,7 @@ public function RequestAction($Ident, $Value) $this->SetValue("Entladestrom", $entlade_strom); $this->SetValue("Ladestrom", 0); - $this->SetValue("Batteriespannung_laden_entladen", 49); + $this->SetValue("Batteriespannung_laden_entladen", 56); } else { @@ -231,8 +231,8 @@ public function RequestAction($Ident, $Value) //$a = 2.54 * pow($V, 2) - 252 * $V + 6255.4; - $ladestrom_1 = GetValue("Ladestrom"); - $entadestrom_1 = GetValue("Entladedestrom"); + $ladestrom_1 = $this->GetValue("Ladestrom"); + $entadestrom_1 = $this->GetValue("Entladedestrom"); if ($ladestrom_1 > 0 ) { $V = GetValue($this->ReadPropertyInteger("Batteriespannung")) + 1;