Growatt-hybrid-tlxh: fix pv power (#10477)

Fixes #10097
This commit is contained in:
premultiply 2023-11-10 12:50:19 +01:00 • committed by GitHub
parent dc650fd4f1
commit 4df3b14eff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,13 +43,36 @@ render: |
{{- end }}
{{- if eq .usage "pv" }}
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 3001 # PV total power
type: input
decode: uint32
scale: 0.1
source: calc
add:
- source: modbus
{{- include "modbus" . | indent 4 }}
register:
address: 3005 # PV1 power
type: input
decode: uint32
scale: 0.1
- source: modbus
{{- include "modbus" . | indent 4 }}
register:
address: 3009 # PV2 power
type: input
decode: uint32
scale: 0.1
- source: modbus
{{- include "modbus" . | indent 4 }}
register:
address: 3013 # PV3 power
type: input
decode: uint32
scale: 0.1
- source: modbus
{{- include "modbus" . | indent 4 }}
register:
address: 3017 # PV4 power
type: input
decode: uint32
scale: 0.1
energy:
source: modbus
{{- include "modbus" . | indent 2 }}