Feature: EMS Aktiv-Checkbox pro Kathrein-Wallbox-Gerät (v1.8.4)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
retr0
2026-04-29 08:53:39 +02:00
parent 3ab74a8c21
commit 4242ca01f6
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -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