Skip to content

Commit

Permalink
SMA Hybrid: add max charge power (#17241)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Eckert <eckert@hypertech-lasers.de>
  • Loading branch information
eckerse and Sebastian Eckert authored Nov 14, 2024
1 parent 6836749 commit b6997f7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion templates/definition/meter/sma-hybrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }}
Expand Down Expand Up @@ -167,7 +174,7 @@ render: |
source: sequence
set:
- source: const
value: -2147483647 # Wirkleistungsvorgabe
value: -{{ .chargepower }} # Wirkleistungsvorgabe
set:
source: modbus
{{- include "modbus" . | indent 12 }}
Expand Down

0 comments on commit b6997f7

Please sign in to comment.