Tesla New API can't login // Vehicle Offline
Describe the bug
With the 'new' Tesla API, a login is not possible in Version 0.124.0
Steps to reproduce
-
Update Config to "template: tesla-command"
-
Get new Access/Refreshtokens using https://tesla.evcc.io/
-
Update Config with new Tokens
-
Restart EVCC
-
Cars marked as offline, Logfile says: "cannot create vehicle type 'template': cannot create vehicle type 'tesla-command': oauth2: "login_required" "Login required"" ...
Configuration details
vehicles:
- type: template
template: tesla-command
title: Tesla1
accessToken: ***
refreshToken: ***
vin: **
capacity: 77
name: ev1
mode: pv
priority: 10
Log details
cannot create vehicle type 'template': cannot create vehicle type 'tesla-command': oauth2: "login_required" "Login required"
What type of operating system are you running?
Linux / Home-Assistant Plugin
Version
0.124.0
Did you create the new tokens using https://tesla.evcc.io/ or how did you create the tokens?
yes, i create new tokens using https://tesla.evcc.io. The tokens are working for 1 time after restart or disconnect the vehicle the tokens doesn't work and the errormessage appears.
Make sure the pasted Tesla tokens are correct. If yes share your full config with [email protected] for analysis.