From 8c27023adac86bf931d3a0e10db8a24fee438add Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Tue, 21 Jan 2025 08:14:35 +0100 Subject: [PATCH] batterie --- Batterie/module.php | 5 +++-- library.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index a66ebeb..e3a3cda 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -12,10 +12,11 @@ class Batterie extends IPSModule $this->RegisterPropertyInteger("AufdasNachladen",0); $this->RegisterPropertyInteger("MinimumEntladen",0); $this->RegisterPropertyInteger("Batterieladezustand",0); - $this->RegisterPropertyInteger("Ladestrom", 0); - $this->RegisterPropertyInteger("Entladestrom", 0); + // Variabeln für Kommunkation mit Manager + $this->RegisterVariableFloat("Ladestrom", "Ladestrom", "", 0); + $this->RegisterVariableFloat("Entladestrom", "Entladestrom", "", 0); $this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0); $this->RegisterVariableString("PowerSteps", "PowerSteps"); $this->RegisterVariableBoolean("Idle", "Idle", "", 0); diff --git a/library.json b/library.json index ddf2ac8..b783015 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.278", + "version": "0.279", "build": 0, "date": 0