This commit is contained in:
belevo\mh
2025-02-24 10:23:04 +01:00
parent 3c76c2a0dd
commit 0cde8f28e1
2 changed files with 3 additions and 5 deletions

View File

@@ -96,10 +96,8 @@ public function RequestAction($Ident, $Value)
$spannung = $this->ReadPropertyInteger("Batteriespannung"); $spannung = $this->ReadPropertyInteger("Batteriespannung");
//$ladestrom = GetValue($this->GetIDForIdent("Ladestrom")); $ladestrom = $this->ReadVariableFloat("Ladestrom");
//$entladestrom = GetValue($this->GetIDForIdent("Entladestrom")); $entladestrom = $this->ReadVariableFloat("Entladestrom");
$ladestrom = $this->ReadPropertyFloat("Ladestrom");
$entladestrom = $this->ReadPropertyFloat("Entladestrom");
if ($spannung <= 0) { if ($spannung <= 0) {
IPS_LogMessage("Batterie", "Fehler: Batteriespannung ist 0 oder ungültig."); IPS_LogMessage("Batterie", "Fehler: Batteriespannung ist 0 oder ungültig.");

View File

@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "1.052", "version": "1.053",
"build": 0, "build": 0,
"date": 0 "date": 0
} }