Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huawei SUN2000: handle cascading inverters #17726

Merged
merged 9 commits into from
Dec 14, 2024
12 changes: 12 additions & 0 deletions templates/definition/meter/huawei-sun2000.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ params:
advanced: true
- name: capacity
advanced: true
- name: forceaccharging
default: false
advanced: true
type: bool
description:
en: Inverter cascade
de: Wechselrichterkaskade
help:
en: Keep AC charging active to charge the storage from other inverters via AC. Prevents stand-by.
de: AC-Laden bleibt aktiv zum Laden des Speichers aus anderen AC Quellen für Wechselrichterkaskaden. Verhindert Stand-by.
render: |
type: custom
{{- if eq .usage "grid" }}
Expand Down Expand Up @@ -164,6 +174,7 @@ render: |
address: 47100 # Forcible charge/discharge
type: writesingle
encoding: uint16
{{- if eq .forceaccharging "false" }}
- source: const
value: 0 # Disable
set:
Expand All @@ -173,6 +184,7 @@ render: |
address: 47087 # Charge from grid
type: writesingle
encoding: uint16
{{- end }}
- case: 2 # hold
set:
source: sequence
Expand Down
Loading