no message

This commit is contained in:
belevo\mh
2025-10-15 15:17:09 +02:00
parent 4e8a2e5f5b
commit e54797dd4b

View File

@@ -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;