Skip to content

Commit e997df6

Browse files
committed
Templates update for nightly evcc-io/evcc@960a71c
1 parent 766df43 commit e997df6

File tree

4 files changed

+40
-76
lines changed

4 files changed

+40
-76
lines changed

templates/nightly/de/vehicle/volvo-connected_0.yaml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,40 @@
11
product:
22
brand: Volvo
3-
description: aktuell
3+
description: |
4+
Für die Nutzung mit EVCC benötigst du einen Volvo Account und einen Volvo Connected Car API Key.
5+
Erstelle dazu auf der [Account Seite](https://developer.volvocars.com/account/) eine neue Applikation und speichere den primären VCC API Key ab.
6+
Veröffentliche nun deine Applikation und wähle unter "Scopes" die Berechtigungen "Connected Vehicle API -> conve:vehicle_relation" und "Energy API -> (alles)" aus.
7+
Als Redirect URL kannst du erstmal "http://localhost:9999" (oder etwas anderes nicht erreichbares) verwenden. Der Authorisierungscode wird später händisch aus dem Browser gelesen und eingegeben.
8+
Sobald die Applikation erstellt ist, wird sie als "Publication under Review" angezeigt. Das ist nicht weiter schlimm, es funktioniert trotzdem.
9+
Erstelle danach einen Token mit `evcc token <auto-name>` und speichere die Tokens in der Konfiguration. Falls Evcc wegen einem invaliden Refresh Token abbricht, lösche die Tokens mit `evcc settings` und generiere sie neu.
10+
411
render:
512
- default: |
613
type: template
714
template: volvo-connected
8-
user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
9-
password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
10-
vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional)
1115
title: # Wird in der Benutzeroberfläche angezeigt (optional)
1216
capacity: 50 # Akkukapazität in kWh (optional)
13-
vccapikey: # Volvo developer portal VCC API Key, siehe https://github.com/evcc-io/evcc/discussions/3677#discussioncomment-4106300
17+
vccapikey: # Volvo developer portal VCC API Key
18+
clientId: # Client ID deiner [Volvo Developer App](https://developer.volvocars.com/).
19+
clientSecret: # Client Secret deiner [Volvo Developer App](https://developer.volvocars.com/).
20+
accessToken:
21+
refreshToken:
22+
vin: WF0FXX... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional)
1423
advanced: |
1524
type: template
1625
template: volvo-connected
17-
user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
18-
password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
19-
vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional)
2026
title: # Wird in der Benutzeroberfläche angezeigt (optional)
2127
capacity: 50 # Akkukapazität in kWh (optional)
22-
vccapikey: # Volvo developer portal VCC API Key, siehe https://github.com/evcc-io/evcc/discussions/3677#discussioncomment-4106300
28+
vccapikey: # Volvo developer portal VCC API Key
29+
clientId: # Client ID deiner [Volvo Developer App](https://developer.volvocars.com/).
30+
clientSecret: # Client Secret deiner [Volvo Developer App](https://developer.volvocars.com/).
31+
accessToken:
32+
refreshToken:
33+
vin: WF0FXX... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional)
2334
icon: car # Icon in der Benutzeroberfläche [car, bike, bus, moped, motorcycle, rocket, scooter, taxi, tractor, rickshaw, shuttle, van, airpurifier, battery, bulb, climate, coffeemaker, compute, cooking, cooler, desktop, device, dishwasher, dryer, floorlamp, generic, heater, heatexchange, heatpump, kettle, laundry, laundry2, machine, meter, microwave, pump, smartconsumer, tool, waterheater] (optional)
2435
phases: 3 # Die maximale Anzahl der Phasen welche genutzt werden können (optional)
2536
mode: # Möglich sind Off, Now, MinPV und PV, oder leer wenn keiner definiert werden soll (optional)
2637
minCurrent: 6 # Definiert die minimale Stromstärke pro angeschlossener Phase mit welcher das Fahrzeug geladen werden soll (optional)
2738
maxCurrent: 16 # Definiert die maximale Stromstärke pro angeschlossener Phase mit welcher das Fahrzeug geladen werden soll (optional)
2839
identifiers: # Kann meist erst später eingetragen werden, siehe: https://docs.evcc.io/docs/features/vehicle (optional)
2940
priority: # Priorität des Ladepunktes oder Fahrzeugs in Relation zu anderen Ladepunkten oder Fahrzeugen für die Zuweisung von PV-Energie (optional)
30-
cache: 15m # Zeitintervall nach dem Daten erneut vom Fahrzeug abgefragt werden (optional)

templates/nightly/de/vehicle/volvo_0.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

templates/nightly/en/vehicle/volvo-connected_0.yaml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,40 @@
11
product:
22
brand: Volvo
3-
description: latest
3+
description: |
4+
To use with EVCC, you need a Volvo account and a Volvo Connected Car API Key.
5+
To do this, create a new application on the [Account page](https://developer.volvocars.com/account/) and save the primary VCC API key.
6+
Now publish your application and select the permissions "Connected Vehicle API -> conve:vehicle_relation" and "Energy API -> (everything)" under "Scopes".
7+
You can use "http://localhost:9999" (or something else unreachable) as the redirect URL for now. The authorization code will be read and entered manually from the browser later.
8+
Once the application is created, it will be displayed as "Publication under Review". This is not a problem, it still works.
9+
Then create a token with `evcc token <car-name>` and save the tokens in the configuration. If Evcc crashes due to an invalid refresh token, delete the tokens with `evcc settings` and generate them again.
10+
411
render:
512
- default: |
613
type: template
714
template: volvo-connected
8-
user: # User account (e.g. email address, user id, etc.)
9-
password: # Password of the user account (use single quotes in case of leading zeros)
10-
vin: W... # Required if you own multiple vehicles of the same brand (optional)
1115
title: # Will be displayed in the user interface (optional)
1216
capacity: 50 # Battery capacity in kWh (optional)
13-
vccapikey: # Volvo developer portal VCC API Key, see https://github.com/evcc-io/evcc/discussions/3677#discussioncomment-4106300
17+
vccapikey: # Volvo developer portal VCC API Key
18+
clientId: # Client ID of your [Volvo Developer App](https://developer.volvocars.com/).
19+
clientSecret: # Client Secret of your [Volvo Developer App](https://developer.volvocars.com/).
20+
accessToken:
21+
refreshToken:
22+
vin: WF0FXX... # Required if you own multiple vehicles of the same brand (optional)
1423
advanced: |
1524
type: template
1625
template: volvo-connected
17-
user: # User account (e.g. email address, user id, etc.)
18-
password: # Password of the user account (use single quotes in case of leading zeros)
19-
vin: W... # Required if you own multiple vehicles of the same brand (optional)
2026
title: # Will be displayed in the user interface (optional)
2127
capacity: 50 # Battery capacity in kWh (optional)
22-
vccapikey: # Volvo developer portal VCC API Key, see https://github.com/evcc-io/evcc/discussions/3677#discussioncomment-4106300
28+
vccapikey: # Volvo developer portal VCC API Key
29+
clientId: # Client ID of your [Volvo Developer App](https://developer.volvocars.com/).
30+
clientSecret: # Client Secret of your [Volvo Developer App](https://developer.volvocars.com/).
31+
accessToken:
32+
refreshToken:
33+
vin: WF0FXX... # Required if you own multiple vehicles of the same brand (optional)
2334
icon: car # Icon as shown in user interface [car, bike, bus, moped, motorcycle, rocket, scooter, taxi, tractor, rickshaw, shuttle, van, airpurifier, battery, bulb, climate, coffeemaker, compute, cooking, cooler, desktop, device, dishwasher, dryer, floorlamp, generic, heater, heatexchange, heatpump, kettle, laundry, laundry2, machine, meter, microwave, pump, smartconsumer, tool, waterheater] (optional)
2435
phases: 3 # The maximum number of phases which can be used (optional)
2536
mode: # Possible values are Off, Now, MinPV and PV, or empty if none should be set (optional)
2637
minCurrent: 6 # The minimum amperage per connected phase with which the car should be charged (optional)
2738
maxCurrent: 16 # The maximum amperage per connected phase with which the car shuold be charged (optional)
2839
identifiers: # Mostly this can be added later, see: https://docs.evcc.io/en/docs/features/vehicle (optional)
2940
priority: # Priority of the loadpoint or vehicle in relation to other loadpoints or vehicles for allocating pv energy (optional)
30-
cache: 15m # Time interval with when data should be reloaded from the vehicle (optional)

templates/nightly/en/vehicle/volvo_0.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)