Skip to content

Commit

Permalink
GoodWe-Hybrid: revert pv power to mppts
Browse files Browse the repository at this point in the history
  • Loading branch information
premultiply committed Mar 12, 2024
1 parent a463012 commit b1a81b8
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions templates/definition/meter/goodwe-hybrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,32 @@ render: |
{{- end }}
{{- if eq .usage "pv" }}
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration
address: 35302 # PV Total Power
type: holding
decode: uint16nan
source: calc
add:
- source: modbus
{{- include "modbus" . | indent 4 }}
register: # manual non-sunspec register configuration
address: 35105 # Ppv1 PV1 Power
type: holding
decode: uint32nan
- source: modbus
{{- include "modbus" . | indent 4 }}
register: # manual non-sunspec register configuration
address: 35109 # Ppv2 PV2 Power
type: holding
decode: uint32nan
- source: modbus
{{- include "modbus" . | indent 4 }}
register: # manual non-sunspec register configuration
address: 35113 # Ppv3 PV3 Power
type: holding
decode: uint32nan
- source: modbus
{{- include "modbus" . | indent 4 }}
register: # manual non-sunspec register configuration
address: 35117 # Ppv4 PV4 Power
type: holding
decode: uint32nan
energy:
source: modbus
{{- include "modbus" . | indent 2 }}
Expand Down

0 comments on commit b1a81b8

Please sign in to comment.