diff --git a/templates/definition/meter/fronius-gen24.yaml b/templates/definition/meter/fronius-gen24.yaml index 51fd35e0d..7d7835ba0 100644 --- a/templates/definition/meter/fronius-gen24.yaml +++ b/templates/definition/meter/fronius-gen24.yaml @@ -124,6 +124,13 @@ render: | uri: {{ .host }}:{{ .port }} id: 1 value: 124:0:OutWRte + - source: const + value: 0 # s + set: + source: sunspec + uri: {{ .host }}:{{ .port }} + id: 1 + value: 124:0:InOutWRte_RvrtTms - case: 3 # charge set: source: sequence @@ -149,5 +156,12 @@ render: | uri: {{ .host }}:{{ .port }} id: 1 value: 124:0:OutWRte + - source: const + value: 0 # s + set: + source: sunspec + uri: {{ .host }}:{{ .port }} + id: 1 + value: 124:0:InOutWRte_RvrtTms capacity: {{ .capacity }} # kWh {{- end }} diff --git a/templates/definition/meter/sunspec-inverter-control.yaml b/templates/definition/meter/sunspec-inverter-control.yaml index 7d4f14c35..8a597fc06 100644 --- a/templates/definition/meter/sunspec-inverter-control.yaml +++ b/templates/definition/meter/sunspec-inverter-control.yaml @@ -81,6 +81,12 @@ render: | source: sunspec {{- include "modbus" . | indent 10 }} value: 124:0:OutWRte + - source: const + value: 0 # s + set: + source: sunspec + {{- include "modbus" . | indent 10 }} + value: 124:0:InOutWRte_RvrtTms - case: 3 # charge set: source: sequence @@ -103,5 +109,11 @@ render: | source: sunspec {{- include "modbus" . | indent 10 }} value: 124:0:OutWRte + - source: const + value: 0 # s + set: + source: sunspec + {{- include "modbus" . | indent 10 }} + value: 124:0:InOutWRte_RvrtTms capacity: {{ .capacity }} # kWh {{- end }}