Sungrow-Hybrid: extend template by phase currents to support loadmanagement (#15565)
This commit is contained in:
parent
e188af70a6
commit
c61145cbc8
1 changed files with 46 additions and 0 deletions
|
|
@ -38,6 +38,52 @@ render: |
|
|||
type: input
|
||||
decode: uint32s
|
||||
scale: 0.1
|
||||
currents:
|
||||
- source: calc
|
||||
div:
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
register:
|
||||
type: input
|
||||
address: 5602 # Meter Phase A Active Power, 1W
|
||||
decode: int32s
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
register:
|
||||
type: input
|
||||
address: 5018 # Phase A voltage, 0.1V
|
||||
decode: uint16
|
||||
scale: 0.1
|
||||
- source: calc
|
||||
div:
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
register:
|
||||
type: input
|
||||
address: 5604 # Meter Phase B Active Power, 1W
|
||||
decode: int32s
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
register:
|
||||
type: input
|
||||
address: 5019 # Phase b voltage, 0.1V
|
||||
decode: uint16
|
||||
scale: 0.1
|
||||
- source: calc
|
||||
div:
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
register:
|
||||
type: input
|
||||
address: 5606 # Meter Phase C Active Power, 1W
|
||||
decode: int32s
|
||||
- source: modbus
|
||||
{{- include "modbus" . | indent 4 }}
|
||||
register:
|
||||
type: input
|
||||
address: 5020 # Phase C voltage, 0.1V
|
||||
decode: uint16
|
||||
scale: 0.1
|
||||
{{- end }}
|
||||
{{- if eq .usage "pv" }}
|
||||
power:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue