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
5 changes: 5 additions & 0 deletions templates/definition/meter/huawei-sun2000.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ params:
advanced: true
- name: capacity
advanced: true
- name: sun2000cascade
default: false
advanced: true
render: |
type: custom
{{- if eq .usage "grid" }}
Expand Down Expand Up @@ -164,6 +167,7 @@ render: |
address: 47100 # Forcible charge/discharge
type: writesingle
encoding: uint16
{{- if eq .sun2000cascade "false" }}
- source: const
value: 0 # Disable
set:
Expand All @@ -173,6 +177,7 @@ render: |
address: 47087 # Charge from grid
type: writesingle
encoding: uint16
{{- end }}
- case: 2 # hold
set:
source: sequence
Expand Down
10 changes: 10 additions & 0 deletions util/templates/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,16 @@ params:
en: Power limit for grid charging.
de: Leistungslimit für Netzladung.
default: 100
- name: sun2000cascade
andig marked this conversation as resolved.
Show resolved Hide resolved
type: bool
description:
en: Inverter cascade
de: Wechselrichterkaskade
help:
en: For inverter cascades (AC charging remains active to charge the storage from other inverters via AC) set to Yes.
de: Für Wechselrichterkaskaden (AC-Laden bleibt aktiv zum Laden des Speichers aus anderen WR via AC) auf Ja.
usages: ["battery"]

andig marked this conversation as resolved.
Show resolved Hide resolved
presets:
vehicle-base:
params:
Expand Down
Loading