Kostal Plenticore: fix pv energy encoding (#30862)
This commit is contained in:
parent
81a84fcf81
commit
361f92878a
2 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ render: |
|
|||
register:
|
||||
address: 1056 # total DC PV energy (sum), Wh
|
||||
type: holding
|
||||
decode: float32s
|
||||
encoding: {{ if (eq .endianness "big") }}float32{{ else }}float32s{{ end }}
|
||||
scale: 0.001 # Wh -> kWh
|
||||
maxacpower: {{ .maxacpower }} # W
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ render: |
|
|||
register:
|
||||
address: 1056 # total DC PV energy (sum), Wh
|
||||
type: holding
|
||||
decode: float32s
|
||||
encoding: {{ if (eq .endianness "big") }}float32{{ else }}float32s{{ end }}
|
||||
scale: 0.001 # Wh -> kWh
|
||||
maxacpower: {{ .maxacpower }} # W
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue