Sungrow iHM: fix register type (#25357)

This commit is contained in:
premultiply 2025-11-17 06:57:12 +01:00 • committed by GitHub
parent 88936ebbd1
commit 071357efcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,60 +21,60 @@ render: |
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8156 # Register 8157 - 1 (Total active power)
type: holding
address: 8156 # Register 8157 (Total active power)
type: input
decode: int32s
scale: 10
energy:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8175 # Register 8176 - 1 (Import energy at the grid meter)
type: holding
address: 8175 # Register 8176 (Import energy at the grid meter)
type: input
decode: uint32s
scale: 0.1
voltages:
- source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8554 # Register 8555 - 1 (A-phase voltage)
type: holding
address: 8554 # Register 8555 (A-phase voltage)
type: input
decode: uint16
scale: 0.1 # Factor 0.1 V
- source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8555 # Register 8556 - 1 (B-phase voltage)
type: holding
address: 8555 # Register 8556 (B-phase voltage)
type: input
decode: uint16
scale: 0.1
- source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8556 # Register 8557 - 1 (C-phase voltage)
type: holding
address: 8556 # Register 8557 (C-phase voltage)
type: input
decode: uint16
scale: 0.1
powers:
- source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8558 # Register 8559 - 1 (Phase A active power, U32)
type: holding
address: 8558 # Register 8559 (Phase A active power, U32)
type: input
decode: uint32s
scale: 1 # Factor 1 W
- source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8560 # Register 8561 - 1 (Phase B active power)
type: holding
address: 8560 # Register 8561 (Phase B active power)
type: input
decode: uint32s
scale: 1
- source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8562 # Register 8563 - 1 (Phase C active power)
type: holding
address: 8562 # Register 8563 (Phase C active power)
type: input
decode: uint32s
scale: 1
{{- end }}
@ -84,8 +84,8 @@ render: |
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8154 # Register 8155 - 1 (Total active power)
type: holding
address: 8154 # Register 8155 (Total active power)
type: input
decode: int32s
scale: 10
{{- end }}
@ -95,16 +95,16 @@ render: |
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8160 # Register 8161 - 1 (Battery power)
type: holding
address: 8160 # Register 8161 (Battery power)
type: input
decode: int32s
scale: 10
soc:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 8162 # Register 8163 - 1 (State of charge)
type: holding
address: 8162 # Register 8163 (State of charge)
type: input
decode: uint16
scale: 0.1
capacity: {{ .capacity }} # kWh