You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/2025-01-20/tesla-api-update.mdx
+31-38Lines changed: 31 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,10 @@ Die Nutzung bleibt weiterhin kostenfrei, erfordert jedoch einen zusätzlichen Ei
13
13
{/* truncate */}
14
14
15
15
:::note Update
16
-
8.2.2025: Weitere detaillierte Anleitungen für die Tesla Fleet API und myteslamate.com-Konfiguration.
16
+
Dieser Beitrag wurde überarbeitet.
17
+
18
+
**[8.2.2025](https://github.com/evcc-io/docs/pull/723/files):** Weitere detaillierte Anleitungen für die Tesla Fleet API und myteslamate.com-Konfiguration.<br/>
19
+
**[27.3.2025](https://github.com/evcc-io/docs/pull/775/files):** Aktualisierung auf den neuen Einrichtungsprozess von myteslamate.com.
17
20
:::
18
21
19
22
## Tesla Fleet API wird ab Februar kostenpflichtig
@@ -46,33 +49,26 @@ Dort kannst du dir mit deinem Developer Account passende **Access- und Refresh-T
46
49
47
50
### Für Tesla-Fahrer {#vehicle}
48
51
49
-
Hier ist eine Schritt-für-Schritt-Anleitung, um deinen Tesla Developer Account (1) und myteslamate.com (2) einzurichten.
50
-
Wir empfehlen, diese Schritte parallel in zwei Browserfenstern auszuführen, da sie voneinander abhängig sind (siehe Sprunghinweise).
51
-
52
-
1. Erstelle eine **Tesla Fleet API Application**
53
-
1. Melde dich mit deinen Tesla-Zugangsdaten im [Tesla Developer Portal](https://developer.tesla.com/) an
54
-
2. Klicke auf **Create New Application** und folge den Anweisungen
55
-
3. Anwendungsdetails: Wähle einen Namen, eine Beschreibung und einen Verwendungszweck nach Belieben (springe zu 2.1.)
56
-
4. Kundendetails: Gib die drei URLs ein, die myteslamate.com dir bereitstellt
57
-
5. API/Berechtigungen: Wähle diese Berechtigungen
58
-
- Profilinformationen
59
-
- Fahrzeugdaten
60
-
- Fahrzeugstandort _(für Fahrzeugerkennung, noch nicht implementiert)_
61
-
- Fahrzeugbefehle _(für Wakeup)_
62
-
- Fahrzeugladungskontrolle _(nur für TWC-Nutzer, siehe [Anleitung unten](#charger))_
63
-
6. Rechnungsdetails: Kann übersprungen werden
64
-
7. Du erhältst eine **Client ID** (Kunden-ID) und ein **Client Secret** (Kundengeheimnis) (springe zu 2.4.)
65
-
2. Erstelle einen **myteslamate.com Account**
66
-
1. Gehe zu [myteslamate.com](https://app.myteslamate.com/)
67
-
2. Wähle die Option **Fleet API & Telemetry**
68
-
3. Melde dich mit deinen Tesla-Zugangsdaten an
69
-
4. Verwende deine persönlichen URLs (Origin, Redirect, Callback) um die Tesla-Anwendung zu registrieren (springe zu 1.4.)
70
-
5. Gib deine **Client ID** und **Client Secret** ein
71
-
6. In der "kostenlos und direkt" Sektion erhältst du deine **Access- und Refresh-Token**
72
-
7. Kopiere beide Token in deine evcc-Konfiguration
73
-
8. Klicke auf die Schaltfläche **Tokens von MyTeslaMate löschen**<br/>
74
-
_Dies ist wichtig und stellt sicher, dass evcc die einzige Anwendung ist, die diese Token verwendet.
75
-
Die Verwendung mehrerer Anwendungen (einschließlich myteslamate.com) mit denselben Token führt zu Token-Aktualisierungsproblemen._
52
+
Für die Einrichtung in evcc benötigst du drei Informationen:
53
+
54
+
-**Kunden ID (Client ID):** aus dem [Tesla Developer Portal](https://developer.tesla.com/)
55
+
-**Access Token:** über das Script von [myteslamate.com](https://www.myteslamate.com/tesla-api-application-registration/)
56
+
-**Refresh Token:** über das Script von [myteslamate.com](https://www.myteslamate.com/tesla-api-application-registration/)
57
+
58
+
Folge der Anleitung auf [myteslamate.com](https://www.myteslamate.com/tesla-api-application-registration/) um diese Informationen zu generieren.
59
+
60
+
Da du parallel auf myteslamate.com und developer.tesla.com unterwegs bist, empfehlen wir dir, diese Schritte parallel in zwei Browserfenstern auszuführen.
61
+
Am Ende des Prozesses muss ein Script heruntergeladen und auf deinem Rechner im Terminal/Konsole ausgeführt werden.
62
+
63
+
Im Anmeldeprozess erscheint ein Berechtigungsdialog.
64
+
evcc benötigt für den Betrieb an einer normalen Wallbox (nicht Tesla Wall Connector) folgende **Tesla API Berechtigungen**:
65
+
66
+
- Profilinformationen _(Region, Liste der Fahrzeuge)_
- Fahrzeugstandort _(für Fahrzeugerkennung, noch nicht implementiert)_
69
+
- Fahrzeugbefehle _(für Wakeup)_
70
+
71
+
Hast du den Prozess erfolgreich abgeschlossen trage die Informationen in die evcc-Konfiguration ein:
76
72
77
73
Beispiel:
78
74
@@ -86,8 +82,6 @@ vehicles:
86
82
refreshToken: EU_1234567890... # von myteslamate.com
87
83
```
88
84
89
-
Auf myteslamate.com findest du auch eine [detailliertere Erklärung und Anleitung](https://www.myteslamate.com/tesla-api-application-registration/).
90
-
91
85
Dein verbrauchtes Guthaben kannst du in der [Übersicht im Tesla Developer Portal](https://developer.tesla.com/de_DE/dashboard/) jederzeit nachverfolgen.
92
86
93
87
:::note
@@ -99,14 +93,15 @@ Schau dir vor der Nutzung die [Terms of Service](https://www.myteslamate.com/ter
99
93
100
94
### Für Tesla Wall Connector Nutzer {#charger}
101
95
102
-
Wenn du einen Tesla Wall Connector verwendest, sind zusätzliche Schritte erforderlich, da die Ladekommandos eine signierte Kommunikation benötigen.
103
-
myteslamate.com bietet für 12 € pro Jahr einen "Command Proxy" an, der diese Funktion bereitstellt.
96
+
Wenn du einen Tesla Wall Connector verwendest, sind zusätzliche Schritte erforderlich, da die Ladekommandos eine signierte Kommunikation benötigen und über einen öffentlich zugänglichen Server abgewickelt werden müssen.
97
+
myteslamate.com stellt einen solchen Proxy bereit.
98
+
Die Abrechnung erfolgt auf Nutzungsbasis direkt über myteslamate.com.
99
+
Für diese Kommandos wird nicht dein Tesla-Guthaben verwendet.
104
100
105
101
Wir gehen davon aus, dass du die [oben beschriebenen Schritte](#vehicle) bereits abgeschlossen hast.
106
-
107
-
1. Logge dich ein weiteres Mal bei [myteslamate.com](https://app.myteslamate.com/) ein nachdem du deine Token gelöscht hast (siehe 2.8.)
108
-
2. Kopiere das **Proxy-Token** aus der Sektion **Tesla API über unseren Proxy**
109
-
3. Füge das token in deine evcc-Konfiguration ein
102
+
Logge dich erneut auf myteslamate.com ein und folge der Einleitung zur Einrichtung des kostenpflichtigen Command-Proxys.
103
+
Kopiere das **Proxy-Token** aus der Sektion **Use MyTeslamate API**.
104
+
Trage dieses Token in die evcc-Konfiguration ein:
110
105
111
106
```yaml {8}
112
107
vehicles:
@@ -127,8 +122,6 @@ Es ist empfehlenswert die Berechtigungen bei myteslamate.com auf die nötigsten
127
122
Für evcc sind nur die Funktionen **Charge Start**, **Charge Stop** und **Set Charging Amps** notwendig.
Copy file name to clipboardExpand all lines: i18n/en/docusaurus-plugin-content-blog/2025-01-20/tesla-api-update.mdx
+40-46Lines changed: 40 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,11 @@ The usage remains free of charge, but requires an additional setup step.
13
13
{/* truncate */}
14
14
15
15
:::note Update
16
-
8.2.2025: More detailed instructions for the Tesla Fleet API and myteslamate.com configuration.
16
+
This post has been revised.
17
+
18
+
**[8.2.2025](https://github.com/evcc-io/docs/pull/723/files):** More detailed instructions for the Tesla Fleet API and myteslamate.com configuration.<br/>
19
+
**[27.3.2025](https://github.com/evcc-io/docs/pull/775/files):** Update to the new setup process of myteslamate.com.
20
+
17
21
:::
18
22
19
23
## Paid Tesla Fleet API starting February
@@ -28,7 +32,7 @@ The billing is based on usage, with costs varying depending on the type of reque
28
32
With [tesla.evcc.io](https://tesla.evcc.io) we have provided a service that allows evcc users to generate access tokens for API usage.
29
33
The API communication of these tokens would be billed to us starting February 2025.
30
34
The costs per user depend on the number of vehicles, charging behavior, and the specific configuration of the update interval.
31
-
For most users, these costs exceed our "$2 im Monat" sponsoring model and would not be sustainable for us, even if we would require sponsorship for Tesla integration.
35
+
For most users, these costs exceed our "$2 per month" sponsoring model and would not be sustainable for us, even if we would require sponsorship for Tesla integration.
32
36
33
37
## Free API credit for private users
34
38
@@ -47,33 +51,26 @@ So we decided not to reinvend the wheel.
47
51
48
52
### For Tesla drivers {#vehicle}
49
53
50
-
Here is a step-by-step guide to help you set up your Tesla Developer (1) and myteslamate.com (2) account.
51
-
We recommend to use two browser windows, since both have to be done somewhat in parallel (see skip hints).
52
-
53
-
1. Create a **Tesla Fleet API Application**
54
-
1. Log into your [Tesla Developer Portal](https://developer.tesla.com/dashboard) (use your Tesla credentials)
55
-
2. Click **Create New Application** and follow the wizard
56
-
3. Application Details: Pick a name, description and usage you like. (skip to 2.1.)
57
-
4. Client Details: Fill in the three URLs provided by myteslamate.com
58
-
5. API/Scope: Select these scopes
59
-
- profile information
60
-
- vehicle information
61
-
- vehicle location _(for vehicle detection, not implemented yet)_
62
-
- vehicle commands _(for wakeup)_
63
-
- vehicle charging management _(only for TWC owners, see [instructions below](#charger))_
64
-
6. Billing Details: Can be skipped
65
-
7. You'll receive a **Client ID** and a **Client Secret** (skip to 2.4.)
You can also find a [more detailed explanation and guide on myteslamate.com](https://www.myteslamate.com/tesla-api-application-registration/).
91
-
92
87
You can track your used API credit in the [Overview of the Tesla Developer Portal](https://developer.tesla.com/dashboard/).
93
88
94
89
:::note
@@ -100,24 +95,25 @@ Please refer to the [Terms of Service](https://www.myteslamate.com/terms-of-serv
100
95
101
96
### For Tesla Wall Connector users {#charger}
102
97
103
-
If you use a Tesla Wall Connector, additional steps are required, as the charging commands require signed communication.
104
-
myteslamate.com offers a "Command Proxy" for 12 € per year, which provides this functionality.
98
+
If you use a Tesla Wall Connector, additional steps are required, as the charging commands require signed communication and must be handled through a publicly accessible server.
99
+
myteslamate.com provides such a proxy.
100
+
Billing is done on a usage basis directly through myteslamate.com.
101
+
These commands do not use your Tesla API credit.
105
102
106
103
We assume you've already completed the [steps described above](#vehicle).
107
-
108
-
1. Log into your [myteslamate.com](https://app.myteslamate.com/) account a second time after you've deleted you tokens (see 2.8.)
109
-
2. Copy the **Proxy-Token** from the **Use your Tesla API via our proxy** section.
110
-
3. Insert the token into your evcc configuration.
104
+
Log into myteslamate.com again and follow the instructions to set up the paid command proxy.
105
+
Copy the **Proxy-Token** from the **Use MyTeslamate API** section.
With this setup, evcc will send charging commands to the myteslamate.com proxy, which will sign it with your Tesla application and forward it to the original Tesla API.
@@ -128,8 +124,6 @@ It is recommended to limit the permissions at myteslamate.com to the necessary f
128
124
For evcc, only the functions **Charge Start**, **Charge Stop** and **Set Charging Amps** are necessary.
0 commit comments