Solarmax Maxstorage: add pv energy (#24444)

This commit is contained in:
baloo-gh 2025-10-16 13:34:02 +02:00 • committed by GitHub
parent 0408046739
commit 7909f9375c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,8 +25,8 @@ params:
advanced: true
render: |
type: custom
power:
{{- if eq .usage "grid" }}
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration
@ -36,15 +36,24 @@ render: |
scale: -1
{{- end }}
{{- if eq .usage "pv" }}
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration
address: 110 # PV-Leistung MAX.STORAGE
type: input
decode: int32s
energy:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration
address: 150 # Produzierte PV-Energie
type: input
decode: int32s
maxacpower: {{ .maxacpower }}
{{- end }}
{{- if eq .usage "battery" }}
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register: # manual non-sunspec register configuration