Add ISO15118 vehicle template (#8302)

This commit is contained in:
Andreas Linde 2023-06-06 22:33:34 +02:00 • committed by GitHub
parent 9c48ba36fc
commit 12ea7a06c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 62 additions and 5 deletions

View file

@ -172,9 +172,9 @@ Example Use Case: With SMA Home Manager, there can be a SMA Energy Meter used fo
`example` provides an example value, so the user can get an idea of what is expected and what to look out for
### `valuetype`
### `type`
`valuetype` allows to define the value type to let the CLI verify the user provided content
`type` allows to define the value type to let the CLI verify the user provided content
**Possible values**:

View file

@ -194,7 +194,7 @@
"deprecated": {
"type": "boolean"
},
"valuetype": {
"type": {
"type": "string",
"enum": [
"string",
@ -288,7 +288,7 @@
"default": {
"minLength": 1
},
"valuetype": {
"type": {
"type": "string",
"enum": [
"string",

View file

@ -0,0 +1,32 @@
template: iso15118
products:
- description:
generic: ISO15118
group: generic
requirements:
description:
de: Nur unterstützt wenn das Fahrzeug den Ladestand (Soc) an die verbundene Wallbox übermitteln kann.
en: Only supported if the vehicle can provided the state of charge (Soc) to the connected wallbox.
params:
- name: title
- name: capacity
- name: phases
advanced: true
- name: icon
default: car
advanced: true
- preset: vehicle-identify
render: |
type: custom
features: ["offline"]
{{- if .title }}
title: {{ .title }}
{{- end }}
{{- if .icon }}
icon: {{ .icon }}
{{- end }}
capacity: {{ .capacity }} # kWh
{{- if .phases }}
phases: {{ .phases }}
{{- end }}
{{ include "vehicle-identify" . }}

View file

@ -0,0 +1,25 @@
product:
description: ISO15118
group: Generische Unterstützung
description: |
Nur unterstützt wenn das Fahrzeug den Ladestand (Soc) an die verbundene Wallbox übermitteln kann.
render:
- default: |
type: template
template: iso15118
title: # Wird in der Benutzeroberfläche angezeigt (Optional)
capacity: 50 # Akkukapazität in kWh (Optional)
advanced: |
type: template
template: iso15118
title: # Wird in der Benutzeroberfläche angezeigt (Optional)
capacity: 50 # Akkukapazität in kWh (Optional)
phases: 3 # Die maximale Anzahl der Phasen welche genutzt werden können (Optional)
icon: car # Icon in der Benutzeroberfläche (Optional)
mode: # Möglich sind Off, Now, MinPV und PV, oder leer wenn keiner definiert werden soll (Optional)
minSoc: 25 # Ladung mit maximaler Geschwindigkeit bis zu dem angegeben Ladestand unabhängig PV-Erzeugung, wenn der Lademodus nicht auf 'Aus' steht (Optional)
targetSoc: 80 # Bis zu welchem Ladestand (Soc) soll das Fahrzeug geladen werden (Optional)
minCurrent: 6 # Definiert die minimale Stromstärke pro angeschlossener Phase mit welcher das Fahrzeug geladen werden soll (Optional)
maxCurrent: 16 # Definiert die maximale Stromstärke pro angeschlossener Phase mit welcher das Fahrzeug geladen werden soll (Optional)
identifiers: # Kann meist erst später eingetragen werden, siehe: https://docs.evcc.io/docs/guides/vehicles/#erkennung-des-fahrzeugs-an-der-wallbox (Optional)
priority: # Priorität des Ladepunktes oder Fahrzeugs in Relation zu anderen Ladepunkten oder Fahrzeugen für die Zuweisung von PV-Energie (Optional)

View file

@ -173,7 +173,7 @@ params:
en: Minimum state of charge (Soc) in %
help:
de: Ladung mit maximaler Geschwindigkeit bis zu dem angegeben Ladestand unabhängig PV-Erzeugung, wenn der Lademodus nicht auf 'Aus' steht
en: Immediate charging with maximum power up to the defined state of charge independently from solar production if the charge mode is not set to 'OFF'
en: Immediate charging with maximum power up to the defined state of charge independently from solar production if the charge mode is not set to 'Off'
example: 25
type: number
- name: targetsoc