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: 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.
andig marked this conversation as resolved.
Show resolved Hide resolved
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
1 change: 1 addition & 0 deletions util/templates/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ params:
en: Power limit for grid charging.
de: Leistungslimit für Netzladung.
default: 100

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