GoodWe-Hybrid: fix registers (#12854)

This commit is contained in:
premultiply 2024-03-10 22:10:03 +01:00 • committed by GitHub
parent b7807684a6
commit 76601597be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,37 +34,17 @@ render: |
{{- end }}
{{- if eq .usage "pv" }}
power:
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
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration
address: 35301 # PV Total Power
type: holding
decode: uint32nan
energy:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration
address: 35191 # PV E-Total Total PV Energy
address: 35191 # PV Energy-Total
type: holding
decode: uint32
scale: 0.1
@ -74,21 +54,21 @@ render: |
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration
address: 35183 # Pbattery1 First group battery power
address: 35182 # Battery1 Power
type: holding
decode: int16
decode: int32
soc:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration
address: 37007 # SOC First group battery capacity
address: 37007 # SOC
type: holding
decode: uint16
energy:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration
address: 35209 # E-BatteryDischarge Discharge energy
address: 35209 # Energy-Battery Discharge
type: holding
decode: uint32
scale: 0.1