OpenWB: expose 1p3p config (#3803)

This commit is contained in:
andig 2022-07-13 09:43:36 +02:00 • committed by GitHub
parent 5c719fcb03
commit f1b50d67b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 5 deletions

View file

@ -10,9 +10,23 @@ requirements:
uri: https://docs.evcc.io/docs/devices/chargers#openwb
params:
- name: host
- name: loadpointid
default: 1
- name: connector
- name: phases1p3p
valuetype: bool
description:
en: Charger is equipped with phase switching feature
de: Phasenumschaltung vorhanden
advanced: true
default: false
render: |
type: openwb
broker: {{ .host }}
{{- if ne .connector "1" }}
id: {{ .connector }} # loadpoint id
{{- end }}
{{- if ne .loadpointid "1" }}
id: {{ .loadpointid }} # loadpoint id
{{- end }}
{{- if ne .phases1p3p "false" }}
phases: true
{{- end }}

View file

@ -77,7 +77,7 @@ params:
mask: true
- name: capacity
description:
de: Akku-Kapazität in kWh
de: Akkukapazität in kWh
en: Battery capacity in kWh
help:
de: Akku-Kapazität in kWh
@ -101,13 +101,20 @@ params:
en: The maximum number of phases which can be used
example: 3
valuetype: number
- name: connector
description:
de: Ladepunkt (falls >1 Ladepunkt)
en: Loadpoint (if >1 loadpoint)
advanced: true
default: 1
- name: cache
description:
de: Cache
en: Cache
help:
de: Das zeitliche Interval, in welchem Daten vom Fahrzeug neu geladen werden soll
de: Zeitintervall, in dem Daten vom Fahrzeug neu geladen werden sollen
en: Time interval with when data should be reloaded from the vehicle
advanced: true
example: 5m
- name: cloud
description:

View file

@ -8,4 +8,10 @@ render:
type: template
template: openwb
host: 192.0.2.2 # IP-Adresse oder Hostname
loadpointid: 1 # Optional
connector: 1 # Optional
advanced: |
type: template
template: openwb
host: 192.0.2.2 # IP-Adresse oder Hostname
connector: 1 # Optional
phases1p3p: false # Optional