From 4242ca01f69e92097090cc91b4b59e50ef03d696 Mon Sep 17 00:00:00 2001 From: retr0 <42kdesigners@gmail.com> Date: Wed, 29 Apr 2026 08:53:39 +0200 Subject: [PATCH] =?UTF-8?q?Feature:=20EMS=20Aktiv-Checkbox=20pro=20Kathrei?= =?UTF-8?q?n-Wallbox-Ger=C3=A4t=20(v1.8.4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- haos-addon/config.yaml | 2 +- haos-addon/src/main.py | 2 +- haos-addon/src/web/index.html | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/haos-addon/config.yaml b/haos-addon/config.yaml index 98c4289..1e7ddfb 100644 --- a/haos-addon/config.yaml +++ b/haos-addon/config.yaml @@ -1,5 +1,5 @@ name: ShineBridge -version: "1.8.3" +version: "1.8.4" slug: shinebridge description: Growatt Wechselrichter lokal in Home Assistant — Modbus TCP via ShineLAN-X, MQTT Discovery, Web UI url: https://gitea.bitfire.work/retr0/shinebridge diff --git a/haos-addon/src/main.py b/haos-addon/src/main.py index d7218a4..3fe0bbf 100644 --- a/haos-addon/src/main.py +++ b/haos-addon/src/main.py @@ -254,7 +254,7 @@ def _poll_loop(inv_cfg: Dict[str, Any], stop: threading.Event): values["grid_power"] = values["total_power"] # EMS: PV-Überschuss aus anderen Geräten holen und Ladestrom regeln - if ems is not None and values is not None: + if ems is not None and values is not None and inv_cfg.get("ems_enabled", True): pv_surplus = _get_pv_surplus() # 0x0060 manchmal nicht lesbar → 1 (EV Connected) annehmen, # damit EMS aktiviert; Wallbox ignoriert Befehle wenn kein Auto da diff --git a/haos-addon/src/web/index.html b/haos-addon/src/web/index.html index 361b0c3..3017e0e 100644 --- a/haos-addon/src/web/index.html +++ b/haos-addon/src/web/index.html @@ -290,7 +290,12 @@