Sunspec: reset InOutWRte_RvrtTms for battery control (#16241)

This commit is contained in:
andig 2024-09-20 16:56:32 +02:00 • committed by GitHub
parent 70f3e14d9f
commit 7045c10bc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 0 deletions

View file

@ -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 }}

View file

@ -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 }}