From 6d200b3784c3a612b8efc5eb25ccf6469edf74d9 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Mon, 23 Dec 2024 10:42:10 +0100 Subject: [PATCH] logging --- Batterie/module.php | 2 ++ library.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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