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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user