TWCManager: Car API not available - can't stop charging

Hello, Im having some issues for weeks now with trying to stop charging. In log I see the following:

Mar 06 19:05:53 TWCManager python3[471]: 19:05:53 šŸš— TeslaAPI 13 Car API cmd https://owner-api.teslamotors.com/api/1/vehicles/REMOVED <Response [401]>
Mar 06 19:05:53 TWCManager python3[471]: 19:05:53 šŸš— TeslaAPI 20 ERROR: Can't access vehicle status for XYZ.  Will try again later.
Mar 06 19:05:53 TWCManager python3[471]: 19:05:53 šŸš— TeslaAPI 13 updateCarApiLastErrorTime() called due to Tesla API Error. Updating timestamp from 1709747127.306657 to 1709748353.4

When I open the web browser, I see no request to update the ā€œAccess/Refresh Tokenā€ either. In the latest config.json I read about a change on API since 2024 for cars produced after 2021, but my car is a lot older and this all worked before…shouldn’t it then work as well now?

Would be nice if someone can help me getting this start/stop command back working.

About this issue

  • Original URL
  • State: open
  • Created 4 months ago
  • Comments: 26

Most upvoted comments

@MikeBishop i think you meant me regarding drive_state 😃.

I think we get further - looks better at least for me:

Great! I made #568 to add that scope, since I don’t think there’s any harm in doing it generally.