-
This commit is contained in:
@@ -96,10 +96,8 @@ public function RequestAction($Ident, $Value)
|
||||
|
||||
|
||||
$spannung = $this->ReadPropertyInteger("Batteriespannung");
|
||||
//$ladestrom = GetValue($this->GetIDForIdent("Ladestrom"));
|
||||
//$entladestrom = GetValue($this->GetIDForIdent("Entladestrom"));
|
||||
$ladestrom = $this->ReadPropertyFloat("Ladestrom");
|
||||
$entladestrom = $this->ReadPropertyFloat("Entladestrom");
|
||||
$ladestrom = $this->ReadVariableFloat("Ladestrom");
|
||||
$entladestrom = $this->ReadVariableFloat("Entladestrom");
|
||||
|
||||
if ($spannung <= 0) {
|
||||
IPS_LogMessage("Batterie", "Fehler: Batteriespannung ist 0 oder ungültig.");
|
||||
|
||||
Reference in New Issue
Block a user