-
-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tesla API doesn't work any more #624
Comments
Der Bug zeigt sich bei mir auch. |
Habt ihr MFA irgendwie manuell aktiviert? Anderenfalls scheint die Umstellung von Tesla zu kommen. Zum Testen bräuchte ich Zugangsdaten. |
Was ist MFA? |
2FA oder MFA = Multi Factor Authentication Ist die bei Dir an @martinez81? |
Halbe Lösung. Mit gültigem Token gehts erstmal weiter. Das muss allerdings anderweitig erzeugt werden. Die Erzeugung könnten wir erstmal mittels kleinem Workaround ebenfalls mit einbauen, z.B.:
|
Ist drin. Damit kann das Token erzeugt werden (jedenfalls für 2FA) und dann manuell in die Config übernommen. |
Nein, ist aus. |
@martinez81 das ist super. Einen Test mit MFA habe ich jetzt, fehlt noch einer ohne MFA. Falls Du Deine Logindaten teilen würdest würde mir das sehr helfen (cpuidle@gmx.de). Mangels Auto kann ich sonst nicht testen. |
Mail ist raus.. |
|
Gerade aktualisiert: jetzt werden auch Tokens generiert falls keine MFA aktiv ist. Prinzipiell hätten wir damit eine Lösung die wir einbauen könnten. Wer ohne MFA arbeitet bekommt damit ein Token. Was jetzt noch fehlt ist der Token Refresh damit EVCC auch wieder in Ruhe ohne Neustarts laufen kann. |
Ja, die Lösung funktioniert seit gestern problemlos bei mir. Jetzt wo die Debug Meldung raus ist gibts auch kein Verwirrungspotential mehr. |
@ALL: gerne nochmal testen. Die Lösung ist jetzt rund und sollte auch Token Refresh unterstützen. Alternativ: ich schiebs durch... |
Das generierte Token funktioniert mit der API. Ob's in ein paar Wochen auch korrekt refresht wird kann ich natürlich erst dann sagen :) Aber ich würde dann einfach ein neues Ticket aufmachen wenns dann hakt. |
Dir fehlt noch der Refreshtoken und die Syntax ist anders. Erzeug Dir nochmal einen Neuen, dann siehst Du es. |
Describe the bug
Tesla has deprecated the authentication endpoint that's indirectly used via evcc.
To Reproduce
Configure a vehicle with Tesla credentials and run
evcc vehicle
Expected behavior
I recieve a 400 Bad Request. No vehicle information is shown.
EVCC details:
Show output of
evcc -v
:Executing the auth request agains the Tesla api returns 400 Bad Request and this response:
The deprecation has been known for some time but now it seems the be gone.
See: https://tesla-api.timdorr.com/api-basics/authentication
More details here: timdorr/tesla-api#215 (comment)
The text was updated successfully, but these errors were encountered: