diff --git a/Batterie/module.php b/Batterie/module.php index cf17abd..602332d 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -89,9 +89,11 @@ class Batterie extends IPSModule if ($power > $maxleistung) { $ladestrom = ($power - $maxleistung) / $spannung; $this->SetValue("Ladestrom", $ladestrom); + IPS_LogMessage("Batterie", "Ladestrom: " . $ladestrom); } else { $entladestrom = $power / $spannung; $this->SetValue("Entladestrom", $entladestrom); + IPS_LogMessage("Batterie", "Entladestrom: " . $entladestrom); } // Prüfe auf Änderung der Leistung im Vergleich zur letzten Einstellung diff --git a/library.json b/library.json index 30cc57e..3d44144 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.220", + "version": "0.221", "build": 0, "date": 0