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