From 4c44ad94df922fa9b4cdc3e1e354af1f38fbf94a Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Wed, 26 Feb 2025 15:07:14 +0100 Subject: [PATCH] =?UTF-8?q?logging=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Batterie/module.php | 6 ++++-- library.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index c7f9f3f..2e60eeb 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -28,8 +28,8 @@ class Batterie extends IPSModule $this->RegisterVariableInteger("PV_Prio", "PV_Prio"); $this->RegisterVariableInteger("Power", "Power"); $this->RegisterVariableBoolean("Is_Peak_Shaving", "Is_Peak_Shaving"); - $this->RegisterVariableBoolean("Hysterese_solar", "","",0); - $this->RegisterVariableBoolean("Hysterese_peak", "","",0); + $this->RegisterVariableBoolean("Hysterese_solar", "Hysterese_solar","",0); + $this->RegisterVariableBoolean("Hysterese_peak", "Hysterese_peak","",0); $this->RegisterVariableFloat("Bezogene_Energie", "Bezogene_Energie", "", 0); @@ -239,8 +239,10 @@ public function RequestAction($Ident, $Value) return $value >= 0; }); $this->SetValue("PowerSteps", json_encode($filtered_powersteps_laden)); + IPS_LogMessage("Batterie", ": solar: Hsyterese " ); }else{ $this->SetValue("PowerSteps", json_encode($array_powersteps)); + IPS_LogMessage("Batterie", ": solar: Keine Hsyterese " ); } }elseif ($batterieladezustand >= 100) { diff --git a/library.json b/library.json index 49c54f8..cfc1709 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.095", + "version": "1.096", "build": 0, "date": 0 } \ No newline at end of file