From 99b93484bfd26322156bb896ebfeef55e2e36fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 17 Mar 2025 15:38:38 +0100 Subject: [PATCH] variable n9ciht insanziert... --- Batterie/module.php | 2 ++ Ladestation_Universal/module.php | 2 ++ Verbraucher_1_Stufig/module.php | 1 + WP_Steuerung/module.php | 3 ++- library.json | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index e97ed84..394c696 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -37,6 +37,8 @@ class Batterie extends IPSModule $this->RegisterVariableFloat("Bezogene_Energie", "Bezogene_Energie", "", 0); + $this->RegisterVariableFloat("Bezogene_Energie_Zwischenwert", "Bezogene_Energie_Zwischenwert", "", 0); + // Hilfsvariabeln für Idle zustand $this->RegisterPropertyInteger("IdleCounterMax", 2); $this->RegisterVariableInteger("IdleCounter", "IdleCounter", "", 0); diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index c4bf024..457c144 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -36,6 +36,8 @@ class Ladestation_Universal extends IPSModule $this->RegisterVariableBoolean("Idle", "Idle", "", 0); $this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0); $this->RegisterVariableFloat("Bezogene_Energie", "Bezogene_Energie", "", 0); + $this->RegisterVariableFloat("Bezogene_Energie_Zwischenwert", "Bezogene_Energie_Zwischenwert", "", 0); + $this->RegisterVariableString("PowerSteps", "PowerSteps"); $this->RegisterVariableInteger("Power", "Power"); $this->RegisterVariableBoolean("Is_Peak_Shaving", "Is_Peak_Shaving"); diff --git a/Verbraucher_1_Stufig/module.php b/Verbraucher_1_Stufig/module.php index ec5ee8b..278801c 100644 --- a/Verbraucher_1_Stufig/module.php +++ b/Verbraucher_1_Stufig/module.php @@ -29,6 +29,7 @@ class Verbraucher_1_Stufig extends IPSModule $this->RegisterVariableBoolean("Idle", "Idle", "", 0); $this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0); $this->RegisterVariableFloat("Bezogene_Energie", "Bezogene_Energie", "", 0); + $this->RegisterVariableFloat("Bezogene_Energie_Zwischenwert", "Bezogene_Energie_Zwischenwert", "", 0); $this->RegisterVariableString("PowerSteps", "PowerSteps"); $this->RegisterVariableInteger("Power", "Power"); $this->RegisterVariableBoolean("Is_Peak_Shaving", "Is_Peak_Shaving"); diff --git a/WP_Steuerung/module.php b/WP_Steuerung/module.php index 9e73077..1331e33 100644 --- a/WP_Steuerung/module.php +++ b/WP_Steuerung/module.php @@ -33,7 +33,8 @@ class WP_Steuerung extends IPSModule $this->RegisterVariableInteger("PV_Prio", "PV_Prio"); $this->RegisterVariableBoolean("Idle", "Idle", "", 0); $this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0); - $this->RegisterVariableFloat("Bezogene_Energie", "Bezogene_Energie", "", 0); + $this->RegisterVariableFloat("Bezogene_Energie", "Bezogene_Energie", "", 0); + $this->RegisterVariableFloat("Bezogene_Energie_Zwischenwert", "Bezogene_Energie_Zwischenwert", "", 0); $this->RegisterVariableString("PowerSteps", "PowerSteps"); $this->RegisterVariableInteger("Power", "Power"); $this->RegisterVariableBoolean("Is_Peak_Shaving", "Is_Peak_Shaving"); diff --git a/library.json b/library.json index 42f78e8..20d77d1 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.193", + "version": "1.194", "build": 0, "date": 0 } \ No newline at end of file