evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Tesla offline

Open jroegner opened this issue 2 years ago • 5 comments

Describe the bug

Seit heute ist mein Tesla nicht mehr über die API erreichbar. Bei Anstecken an die Wallbox wird das Auto als Gastfahrzeug erkannt. Der Tesla wird in der Liste als "Offline" angezeigt. Das ganze ist erst nach einem Restart des Services aufgetreten.

Steps to reproduce

evcc vehicle

[main  ] ERROR 2024/01/23 22:16:37 creating vehicle ev2 failed: cannot create vehicle type 'template': cannot create vehicle type 'tesla': cannot get vehicles: 412 Precondition Failed
.Soc:     vehicle not available: cannot create vehicle type 'template': cannot create vehicle type 'tesla': cannot get vehicles: 412 Precondition Failed
Capacity: 79.5kWh
Features: [Offline]

Configuration details

chargers:
- type: template
  template: twc3
  host: x.x.x.x
  name: wallbox3

vehicles:
- type: template
  template: tesla
  title: Model 3P
  icon: car
  accessToken: xxx
  refreshToken: xxx
  vin: xxx
  capacity: 79.5
  phases: 3
  minCurrent: 5
  maxCurrent: 16
  name: ev2

loadpoints:
- title: Carport
  charger: wallbox3
  mode: off
  phases: 3
  mincurrent: 5
  maxcurrent: 13
 

Log details

[main  ] ERROR 2024/01/23 22:24:01 creating vehicle ev2 failed: cannot create vehicle type 'template': cannot create vehicle type 'tesla': cannot get vehicles: 412 Precondition

What type of operating system are you running?

Linux

Version

0.123.9

jroegner avatar Jan 23 '24 21:01 jroegner

Funktioniert bei mir ebenfalls nicht mehr

[main  ] ERROR 2024/01/23 22:47:52 creating vehicle my_tesla failed: cannot create vehicle type 'template': cannot create vehicle type 'tesla': cannot get vehicles: 429 Too Many Requests

markusschaefer avatar Jan 23 '24 21:01 markusschaefer

Same problem here. I also noticed tesla tokens cannot sign in There is also a new section on the Tesla website in security for 3rd party apps but no tokens are there.

This could be part of tesla updating the API but I have no idea 💡 😔

yipikaye avatar Jan 23 '24 22:01 yipikaye

Tesla is updating their API so using TWC3 will not work at the moment. #10460

Tesla aktualisiert seine API, sodass die Verwendung von TWC3 derzeit nicht funktioniert. #10460

infinus avatar Jan 24 '24 03:01 infinus

Wie wurde das gelöst?

braeunli avatar Feb 05 '24 12:02 braeunli

Das steht genau 1 Post weiter oben. Bitte nicht einfach rein fragen, sondern die verlinkten Themen lesen. Danke!

andig avatar Feb 05 '24 13:02 andig