Some checks failed
Default / Build (push) Failing after 2m0s
Default / Build UI (push) Failing after 13s
Release / Publish Docker :release (push) Has been cancelled
Release / call-build-workflow (push) Has been cancelled
Release / Publish Github & APT release (push) Has been cancelled
- Configure now asks for the users knowledge level, so advanced mode can be reached without calling with `--advanced` - Add template for solaredge inverter - Add beta template for sungrow inverter - Add template for MQTT based meter - Add more template documentation - Add check and error message for invalid config properties when using templates - Option to specify language specific template descriptions - Option to make params dependent on values of other params - Option to add sponsortoken in advanced mode - Option to set minCurrent in advanced mode - Remove sponsorship requirement from Daheimladen wallbox - Multiple fixes (FritzDect meter, Kostsal Piko meter, ...)
49 lines
931 B
YAML
49 lines
931 B
YAML
template: varta-energiespeicher
|
|
description:
|
|
generic: VARTA Energiespeicher
|
|
guidedsetup:
|
|
enable: true
|
|
params:
|
|
- name: usage
|
|
choice: [ "grid", "pv", "battery" ]
|
|
- name: host
|
|
required: true
|
|
example: 192.0.2.2
|
|
- name: port
|
|
default: 502
|
|
render: |
|
|
type: custom
|
|
power:
|
|
source: modbus
|
|
uri: {{ .host }}:{{ .port }}
|
|
{{- if eq .usage "grid" }}
|
|
id: 255
|
|
register:
|
|
address: 1078 # grid power
|
|
type: input
|
|
decode: int16
|
|
scale: -1
|
|
{{- end }}
|
|
{{- if eq .usage "pv" }}
|
|
id: 255
|
|
register:
|
|
address: 1102 # PV-sensor power
|
|
type: input
|
|
decode: uint16
|
|
{{- end }}
|
|
{{- if eq .usage "battery" }}
|
|
id: 1
|
|
register:
|
|
address: 1066 # active power
|
|
type: input
|
|
decode: int16
|
|
scale: -1
|
|
soc:
|
|
source: modbus
|
|
uri: {{ .host }}:{{ .port }}
|
|
id: 1
|
|
register:
|
|
address: 1068 # SOC
|
|
type: input
|
|
decode: int16
|
|
{{- end }}
|