LED-Statusanzeige für SuniStick ergänzt

- 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 <noreply@anthropic.com>
This commit is contained in:
Niklas Gühne
2026-04-10 12:31:20 +02:00
parent 2434befe91
commit 69ebf5d2de
2 changed files with 34 additions and 0 deletions
@@ -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"
@@ -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"