From b6997f710defc9e480264cd40947c5c299a38a7a Mon Sep 17 00:00:00 2001 From: eckerse <45845879+eckerse@users.noreply.github.com> Date: Thu, 14 Nov 2024 13:19:12 +0100 Subject: [PATCH] SMA Hybrid: add max charge power (#17241) Co-authored-by: Sebastian Eckert --- templates/definition/meter/sma-hybrid.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/definition/meter/sma-hybrid.yaml b/templates/definition/meter/sma-hybrid.yaml index cb23c740a2..0e6aeeb34e 100644 --- a/templates/definition/meter/sma-hybrid.yaml +++ b/templates/definition/meter/sma-hybrid.yaml @@ -23,6 +23,13 @@ params: type: duration default: 30s advanced: true + - name: chargepower + default: 100000 # 100kW, inverter will use it's maximum by default + advanced: true + help: + de: Ladeleistung für Netzladen in W + en: Charging power for grid charging in W + usages: ["battery"] render: | type: custom {{- if eq .usage "grid" }} @@ -167,7 +174,7 @@ render: | source: sequence set: - source: const - value: -2147483647 # Wirkleistungsvorgabe + value: -{{ .chargepower }} # Wirkleistungsvorgabe set: source: modbus {{- include "modbus" . | indent 12 }}