Add Afore hybrid inverter (#29197)

This commit is contained in:
Wim Haanstra 2026-04-27 17:55:32 +02:00 • committed by GitHub
parent 67588c2d66
commit afaf409914
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,46 @@
template: afore-hybrid
products:
- brand: Afore
description:
generic: Hybrid Inverter
requirements:
description:
en: |
The inverter's RS485 port must be switched to "Modbus" protocol
in the inverter menu.
de: |
Der RS485-Port des Wechselrichters muss im Wechselrichtermenü auf
das "Modbus"-Protokoll umgestellt werden.
params:
- name: usage
choice: ["battery"]
- name: modbus
choice: ["tcpip"]
port: 502
id: 1
- preset: battery-params
render: |
type: custom
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 2007 # Battery total power (S32, W, positive = discharging)
type: input
decode: int32
soc:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 2002 # Battery SoC (U16, %)
type: input
decode: uint16
energy:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 2013 # Battery total discharge (U32, 0.1 kWh)
type: input
decode: uint32
scale: 0.1
{{- include "battery-params" . }}