Skip to content

Commit 3250cc3

Browse files
committed
Templates update for nightly evcc-io/evcc@11e769e
1 parent 8a5b388 commit 3250cc3

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

templates/nightly/de/vehicle/volvo.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ template: volvo-connected
22
product:
33
identifier: volvo
44
brand: Volvo
5+
requirements: ["skiptest"]
56
description: |
6-
Für die Nutzung mit EVCC benötigst du einen Volvo Account und einen Volvo Connected Car API Key.
7-
Erstelle dazu auf der [Account Seite](https://developer.volvocars.com/account/) eine neue Applikation und speichere den primären VCC API Key ab.
8-
Veröffentliche nun deine Applikation und wähle unter "Scopes" die Berechtigungen "Connected Vehicle API -> conve:vehicle-relation" + "conve:odometer-status" und "Energy API -> energy:state:read" aus.
9-
Als Redirect URL musst du die URL deiner EVCC Instanz eintragen, zb "https://evcc.example.org/oauth/callback".
10-
Sobald die Applikation erstellt ist, wird sie als "Publication under Review" angezeigt. Das ist nicht weiter schlimm, es funktioniert trotzdem.
11-
Beim Anlegen des Fahrzeugs über die UI wird ein Fehler angezeigt.
12-
Schaue im Log nach der Meldung "registering oauth provider at /oauth/login?..." und öffne den Link "https://evcc.example.org/oauth/login?..." in einem neuen Tab.
13-
Melde dich mit deinem Volvo Account an und erlaube den Zugriff auf die Daten. Ist die Autorisierung erfolgreich, kann das Fahrzeug hinzugefügt werden.
7+
Für die Nutzung mit evcc benötigst du einen Volvo Account und einen Volvo Connected Car API Key.
8+
1. Erstelle dazu auf der [Account Seite](https://developer.volvocars.com/account/) eine neue Applikation und speichere den primären VCC API Key ab.
9+
2. Veröffentliche nun deine Applikation und wähle unter **Scopes** folgende Berechtigungen **Connected Vehicle API:** `conve:vehicle-relation, conve:odometer-status`, **Energy API:** `energy:state:read`
10+
3. Als Redirect URL musst du die URL deiner evcc Instanz eintragen, zb `https://evcc.example.org/providerauth/callback`.
11+
4. Beim Anlegen des Fahrzeugs über die UI wird ein Fehler angezeigt.
12+
5. Öffne einen neuen Tab und gehe auf die evcc Konfigurationsseite. Im Menü oben rechts wird ein Knopf zum Anmelden angezeigt.
13+
6. Melde dich mit deinem Volvo Account an und erlaube den Zugriff auf die Daten. Ist die Autorisierung erfolgreich, kann das Fahrzeug hinzugefügt werden.
1414
1515
render:
1616
- default: |
@@ -21,7 +21,7 @@ render:
2121
vccapikey: # VCC API Key, aus [Volvo Developer App](https://developer.volvocars.com/).
2222
clientId: # Client ID, aus [Volvo Developer App](https://developer.volvocars.com/).
2323
clientSecret: # Client Secret, aus [Volvo Developer App](https://developer.volvocars.com/).
24-
redirectUri: # Redirect URI, Redirect-URI deiner EVCC-Instanz, Format: https://evcc.example.org/oauth/callback. Muss mit der Redirect-URI übereinstimmen, die in deiner Volvo Developer App festgelegt ist.
24+
redirectUri: https://evcc.example.org/providerauth/callback # Redirect URI, Redirect-URI deiner evcc-Instanz. Muss mit der Redirect-URI übereinstimmen, die in deiner Volvo Developer App festgelegt ist.
2525
vin: WF0FXX... # Fahrzeugidentifikationsnummer, Wenn mehrere Fahrzeuge eines Herstellers vorhanden sind (optional)
2626
advanced: |
2727
type: template
@@ -31,7 +31,7 @@ render:
3131
vccapikey: # VCC API Key, aus [Volvo Developer App](https://developer.volvocars.com/).
3232
clientId: # Client ID, aus [Volvo Developer App](https://developer.volvocars.com/).
3333
clientSecret: # Client Secret, aus [Volvo Developer App](https://developer.volvocars.com/).
34-
redirectUri: # Redirect URI, Redirect-URI deiner EVCC-Instanz, Format: https://evcc.example.org/oauth/callback. Muss mit der Redirect-URI übereinstimmen, die in deiner Volvo Developer App festgelegt ist.
34+
redirectUri: https://evcc.example.org/providerauth/callback # Redirect URI, Redirect-URI deiner evcc-Instanz. Muss mit der Redirect-URI übereinstimmen, die in deiner Volvo Developer App festgelegt ist.
3535
vin: WF0FXX... # Fahrzeugidentifikationsnummer, Wenn mehrere Fahrzeuge eines Herstellers vorhanden sind (optional)
3636
icon: car # Icon, Wird in der Benutzeroberfläche angezeigt [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)
3737
phases: 3 # Maximale Phasenanzahl, Die maximale Anzahl der Phasen welche genutzt werden können (optional)
@@ -87,12 +87,12 @@ params:
8787
advanced: false
8888
optional: false
8989
- name: redirectUri
90-
example:
90+
example: https://evcc.example.org/providerauth/callback
9191
default:
9292
choice: []
9393
unit:
9494
description: Redirect URI
95-
help: 'Redirect-URI deiner EVCC-Instanz, Format: https://evcc.example.org/oauth/callback. Muss mit der Redirect-URI übereinstimmen, die in deiner Volvo Developer App festgelegt ist.'
95+
help: Redirect-URI deiner evcc-Instanz. Muss mit der Redirect-URI übereinstimmen, die in deiner Volvo Developer App festgelegt ist.
9696
advanced: false
9797
optional: false
9898
- name: vin

templates/nightly/en/vehicle/volvo.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ template: volvo-connected
22
product:
33
identifier: volvo
44
brand: Volvo
5+
requirements: ["skiptest"]
56
description: |
6-
To use with EVCC, you need a Volvo account and a Volvo Connected Car API Key.
7-
To do this, create a new application on the [Account page](https://developer.volvocars.com/account/) and save the primary VCC API key.
8-
Now publish your application and select the permissions "Connected Vehicle API -> conve:vehicle-relation" + "conve:odometer-status" and "Energy API -> energy:state:read" under "Scopes".
9-
You must enter the URL of your EVCC instance as the redirect URL, e.g. "https://evcc.example.org/oauth/callback".
10-
Once the application is created, it will be displayed as "Publication under Review". This is not a problem, it still works.
11-
When adding the vehicle via the UI, an error message is displayed.
12-
Check the log for the message "registering oauth provider at /oauth/login?..." and open the link "https://evcc.example.org/oauth/login?..." in a new tab.
13-
Log in with your Volvo account and allow access to the data. If the authorization is successful, the vehicle can be added.
7+
To use with evcc, you need a Volvo account and a Volvo Connected Car API Key.
8+
1. To do this, create a new application on the [Account page](https://developer.volvocars.com/account/) and save the primary VCC API key.
9+
2. Now publish your application and select the **Scope** permissions **Connected Vehicle API:** `conve:vehicle-relation, conve:odometer-status`, **Energy API:** `energy:state:read`.
10+
3. You must enter the URL of your evcc instance as the redirect URL, e.g. `https://evcc.example.org/providerauth/callback`.
11+
4. When adding the vehicle via the UI, an error message is displayed.
12+
5. Open a new tab and go to the evcc configuration page. A button for logging in will appear in the top right menu.
13+
6. Log in with your Volvo account and allow access to the data. If the authorization is successful, the vehicle can be added.
1414
1515
render:
1616
- default: |
@@ -21,7 +21,7 @@ render:
2121
vccapikey: # VCC API Key, from [Volvo Developer App](https://developer.volvocars.com/).
2222
clientId: # Client ID, from [Volvo Developer App](https://developer.volvocars.com/).
2323
clientSecret: # Client Secret, from [Volvo Developer App](https://developer.volvocars.com/).
24-
redirectUri: # Redirect URI, Redirect URI of your EVCC instance, format: `https://evcc.example.org/oauth/callback`. Must match the redirect URI set in your Volvo Developer App.
24+
redirectUri: https://evcc.example.org/providerauth/callback # Redirect URI, Redirect URI of your evcc instance. Must match the redirect URI set in your Volvo Developer App.
2525
vin: WF0FXX... # Vehicle Identification Number, If you own multiple vehicles from the same manufacturer (optional)
2626
advanced: |
2727
type: template
@@ -31,7 +31,7 @@ render:
3131
vccapikey: # VCC API Key, from [Volvo Developer App](https://developer.volvocars.com/).
3232
clientId: # Client ID, from [Volvo Developer App](https://developer.volvocars.com/).
3333
clientSecret: # Client Secret, from [Volvo Developer App](https://developer.volvocars.com/).
34-
redirectUri: # Redirect URI, Redirect URI of your EVCC instance, format: `https://evcc.example.org/oauth/callback`. Must match the redirect URI set in your Volvo Developer App.
34+
redirectUri: https://evcc.example.org/providerauth/callback # Redirect URI, Redirect URI of your evcc instance. Must match the redirect URI set in your Volvo Developer App.
3535
vin: WF0FXX... # Vehicle Identification Number, If you own multiple vehicles from the same manufacturer (optional)
3636
icon: car # Icon, Will be displayed in the 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)
3737
phases: 3 # Maximum number of phases, The maximum number of phases which can be used (optional)
@@ -87,12 +87,12 @@ params:
8787
advanced: false
8888
optional: false
8989
- name: redirectUri
90-
example:
90+
example: https://evcc.example.org/providerauth/callback
9191
default:
9292
choice: []
9393
unit:
9494
description: Redirect URI
95-
help: 'Redirect URI of your EVCC instance, format: `https://evcc.example.org/oauth/callback`. Must match the redirect URI set in your Volvo Developer App.'
95+
help: Redirect URI of your evcc instance. Must match the redirect URI set in your Volvo Developer App.
9696
advanced: false
9797
optional: false
9898
- name: vin

0 commit comments

Comments
 (0)