From e98bcb05c928617ad4dc74056d1ea056f98574aa Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Mon, 23 Dec 2024 11:51:07 +0100 Subject: [PATCH] mehr Logging --- Batterie/module.php | 3 ++- library.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index 602332d..5347fe6 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -14,8 +14,8 @@ class Batterie extends IPSModule $this->RegisterPropertyInteger("Batterieladezustand",0); $this->RegisterPropertyInteger("Ladestrom", 0); $this->RegisterPropertyInteger("Entladestrom", 0); - // Variabeln für Kommunkation mit Manager + // Variabeln für Kommunkation mit Manager $this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0); $this->RegisterVariableString("PowerSteps", "PowerSteps"); $this->RegisterVariableBoolean("Idle", "Idle", "", 0); @@ -80,6 +80,7 @@ class Batterie extends IPSModule $ladestrom = $this->ReadPropertyInteger("Ladestrom"); $entladestrom = $this->ReadPropertyInteger("Entladestrom"); + IPS_LogMessage("Batterie", "power: " . $power); if ($spannung <= 0) { IPS_LogMessage("Batterie", "Fehler: Batteriespannung ist 0 oder ungültig."); diff --git a/library.json b/library.json index 3d44144..89e57fa 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.221", + "version": "0.222", "build": 0, "date": 0