Skip to content

Commit

Permalink
Sunspec: reset InOutWRte_RvrtTms for battery control (#16241)
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored Sep 20, 2024
1 parent 70f3e14 commit 7045c10
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
14 changes: 14 additions & 0 deletions templates/definition/meter/fronius-gen24.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
12 changes: 12 additions & 0 deletions templates/definition/meter/sunspec-inverter-control.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 7045c10

Please sign in to comment.