Add Afore hybrid inverter (#29197)
This commit is contained in:
parent
67588c2d66
commit
afaf409914
1 changed files with 46 additions and 0 deletions
46
templates/definition/meter/afore-hybrid.yaml
Normal file
46
templates/definition/meter/afore-hybrid.yaml
Normal 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" . }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue