32 lines
637 B
YAML
32 lines
637 B
YAML
template: senergy
|
|
products:
|
|
- brand: Senergy
|
|
description:
|
|
generic: SE 4/5/6KTL-S1/G2 Inverter
|
|
- brand: SolarMax
|
|
description:
|
|
generic: SP Series Inverter
|
|
params:
|
|
- name: usage
|
|
choice: ["pv"]
|
|
- name: modbus
|
|
choice: ["tcpip"]
|
|
id: 1
|
|
render: |
|
|
type: custom
|
|
{{- if eq .usage "pv" }}
|
|
power:
|
|
source: modbus
|
|
{{- include "modbus" . | indent 2 }}
|
|
register:
|
|
address: 4151 # PAC
|
|
type: holding
|
|
decode: uint32
|
|
energy:
|
|
source: modbus
|
|
{{- include "modbus" . | indent 2 }}
|
|
register:
|
|
address: 4129 # Total
|
|
type: holding
|
|
decode: uint32
|
|
{{- end }}
|