From 69ebf5d2debff3a6879f445ea6e34b95149cc503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20G=C3=BChne?= Date: Fri, 10 Apr 2026 12:31:20 +0200 Subject: [PATCH] =?UTF-8?q?LED-Statusanzeige=20f=C3=BCr=20SuniStick=20erg?= =?UTF-8?q?=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - GrĂ¼ne LED leuchtet wenn Modbus-Kommunikation mit Wechselrichter aktiv (on_online/on_offline) - Blaue LED blinkt kurz (200ms) bei jedem Datenabruf vom Wechselrichter (on_value + script) Co-Authored-By: Claude Sonnet 4.6 --- .../Growatt MIC 1500 TL-X.yaml | 17 +++++++++++++++++ .../Growatt SPH 5000 TL3-BH-UP.yaml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/Growatt MIC 1500 TL-X/Growatt MIC 1500 TL-X.yaml b/Growatt MIC 1500 TL-X/Growatt MIC 1500 TL-X.yaml index 1d09c53..b14b31c 100644 --- a/Growatt MIC 1500 TL-X/Growatt MIC 1500 TL-X.yaml +++ b/Growatt MIC 1500 TL-X/Growatt MIC 1500 TL-X.yaml @@ -54,6 +54,20 @@ modbus_controller: address: 1 modbus_id: modbus1 setup_priority: -10 + on_online: + then: + - output.turn_on: light_gr + on_offline: + then: + - output.turn_off: light_gr + +script: + - id: blink_blue + mode: single + then: + - output.turn_on: light_bl + - delay: 200ms + - output.turn_off: light_bl sensor: # --- PV Eingang --- @@ -70,6 +84,9 @@ sensor: accuracy_decimals: 1 filters: - multiply: 0.1 + on_value: + then: + - script.execute: blink_blue - platform: modbus_controller name: "PV Current" diff --git a/Growatt SPH 5000 TL3/Growatt SPH 5000 TL3-BH-UP.yaml b/Growatt SPH 5000 TL3/Growatt SPH 5000 TL3-BH-UP.yaml index 48158b6..8c12c38 100644 --- a/Growatt SPH 5000 TL3/Growatt SPH 5000 TL3-BH-UP.yaml +++ b/Growatt SPH 5000 TL3/Growatt SPH 5000 TL3-BH-UP.yaml @@ -54,6 +54,20 @@ modbus_controller: address: 1 modbus_id: modbus1 setup_priority: -10 + on_online: + then: + - output.turn_on: light_gr + on_offline: + then: + - output.turn_off: light_gr + +script: + - id: blink_blue + mode: single + then: + - output.turn_on: light_bl + - delay: 200ms + - output.turn_off: light_bl sensor: # --- PV Eingang --- @@ -70,6 +84,9 @@ sensor: accuracy_decimals: 1 filters: - multiply: 0.1 + on_value: + then: + - script.execute: blink_blue - platform: modbus_controller name: "PV1 Current"