SolarEdge Hybrid: add battery energy metering support (#30608)

This commit is contained in:
premultiply 2026-06-07 19:07:47 +02:00 • committed by GitHub
parent 03d6c0249a
commit 9fb8be5956
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,13 +108,6 @@ render: |
address: 62836 # Battery 1 Instantaneous Power
type: holding
decode: float32nans
energy:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
- 101:WH
- 103:WH
scale: 0.001
maxacpower: {{ .maxacpower }} # W
{{- end }}
{{- if eq .usage "battery" }}
@ -133,6 +126,22 @@ render: |
address: 0xE184 # Battery 1 State of Energy (SOE)
type: holding
decode: float32nans
energy:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 0xE176 # Battery 1 Lifetime Export Energy Counter (discharged)
type: holding
decode: uint64
scale: 0.001
returnenergy:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 0xE17A # Battery 1 Lifetime Import Energy Counter (charged)
type: holding
decode: uint64
scale: 0.001
batterymode:
source: watchdog
timeout: {{ .watchdog }}