SolarEdge: fix sunspec readings (#12173)
This commit is contained in:
parent
0e57493d83
commit
75fcac5e7a
2 changed files with 16 additions and 12 deletions
|
|
@ -37,17 +37,19 @@ render: |
|
|||
power:
|
||||
source: calc
|
||||
add:
|
||||
- source: sunspec
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
timeout: {{ .timeout }}
|
||||
value: 101|103:DCW
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
timeout: {{ .timeout }}
|
||||
register:
|
||||
address: 62836 # Battery 1 Instantaneous Power
|
||||
type: holding
|
||||
decode: float32s
|
||||
- source: sunspec
|
||||
{{- include "modbus" . | indent 6 }}
|
||||
timeout: {{ .timeout }}
|
||||
value:
|
||||
- 101:DCW
|
||||
- 103:DCW
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 6 }}
|
||||
timeout: {{ .timeout }}
|
||||
register:
|
||||
address: 62836 # Battery 1 Instantaneous Power
|
||||
type: holding
|
||||
decode: float32s
|
||||
{{- end }}
|
||||
{{- if eq .usage "battery" }}
|
||||
power:
|
||||
|
|
|
|||
|
|
@ -33,5 +33,7 @@ render: |
|
|||
source: sunspec
|
||||
{{- include "modbus" . | indent 2 }}
|
||||
timeout: {{ .timeout }}
|
||||
value: 101|103:W # sunspec inverter AC power reading
|
||||
value:
|
||||
- 101:W
|
||||
- 103:W
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue