Add Solarmax inverter (#4313)

This commit is contained in:
andig 2022-09-05 10:03:45 +02:00 • committed by GitHub
parent 91314e88c4
commit b35c69a15e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,22 @@
template: solarmax
covers: ["solarmax"]
products:
- brand: Solarmax
description:
generic: Inverter
params:
- name: usage
choice: ["pv"]
- name: modbus
choice: ["tcpip"]
render: |
type: custom
{{- if eq .usage "pv" }}
power:
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: 4151 # Total DC power
type: holding
decode: uint32s
{{- end }}

View file

@ -0,0 +1,15 @@
product:
brand: Solarmax
description: Inverter
render:
- usage: pv
default: |
type: template
template: solarmax
usage: pv
# Modbus TCP
modbus: tcpip
id: 1
host: 192.0.2.2 # Hostname
port: 502 # Port

View file

@ -105,6 +105,7 @@
"Siemens",
"SMA",
"SolarEdge",
"Solarmax",
"Solarwatt",
"Solax",
"Sonnenbatterie",