teslams icon indicating copy to clipboard operation
teslams copied to clipboard

Vehicle wake up is not working

Open steveh80 opened this issue 5 years ago • 2 comments

I tried this library with my Model 3 and the vehicle wake up is not working. It returns a 408 vehicle is unavailable error when the car is in deep sleep.

I looked into it and found out that there are two api endpoints to wake up the car:

  1. https://owner-api.teslamotors.com/api/1/vehicles/:vehicle_id/command/wake_up
  2. https://owner-api.teslamotors.com/api/1/vehicles/:vehicle_id/wake_up

Your code is using the 1st. By changing the code to use the 2nd it's working like a charm with my Model 3.

I'm not sure if this change breaks anything for the Model S or X, maybe someone can check?

Best Stephan

steveh80 avatar Apr 21 '19 18:04 steveh80

Thanks a lot for sharing your solution steveh80, just ran into the same problem for my P3D.

franky436 avatar Mar 19 '20 06:03 franky436

p.s. Important: if you are playing around with this, disable WiFi in your car before testing/debugging. When your car is going into "asleep" mode, waking up your car might not be working. Still investigating on the exact reason, potentially the ARP entry for the car might timeout on your access point.

franky436 avatar Mar 22 '20 16:03 franky436