Coder Social home page Coder Social logo

Comments (8)

marcone avatar marcone commented on July 17, 2024 1

As I understand it, Tesla has a new API to interact with the car and the old API has been turned off.
My layman's understanding of the new API is that it requires signing up with Tesla as a developer and obtaining a secret key to be used when communicating with the API server. That is not going to work for TeslaUSB I think.

from teslausb.

KrzysztofHajdamowicz avatar KrzysztofHajdamowicz commented on July 17, 2024 1

Teslamate had same issue. Fortunately, legacy API still works, but you have change /vehicle to /products.

Migrating to new API is the best option long-term.

from teslausb.

miles267 avatar miles267 commented on July 17, 2024

Am able to create new Tesla Refresh Tokens without issue. Also update config file and delete the json file from /mutable folder to clear any old, cached tokens.

from teslausb.

miles267 avatar miles267 commented on July 17, 2024

Are there any other automated methods to keep the car awake long enough to complete the sync before allowing it to sleep? Only the Teslafi API?

from teslausb.

Arthur-Philip-Dent avatar Arthur-Philip-Dent commented on July 17, 2024
  1. Try to switch sentry mode on -> keeps the MCU/middle console powered, but causes “Vampire Drain”.
  2. Powerbank/UPS for the SBC. You have to search a bit to find the appropriate one, also being able charging while powering the SBC. Also some UPS cause to reboot the SBC when power line comes back on.

from teslausb.

miles267 avatar miles267 commented on July 17, 2024

Thanks @KrzysztofHajdamowicz. I’ve since opted to move to TeslaFi’s API which I’m now testing. It seems to be working and not reporting errors in Teslausb archive log. I’ll set thid up for our other car tonight which has a significant backlog of videos that need to sync. That will be true test if it stays awake. Before paying for 2 TeslaFi subscriptions.

from teslausb.

marcone avatar marcone commented on July 17, 2024

Teslamate had same issue. Fortunately, legacy API still works, but you have change /vehicle to /products.

I could only get the basic "list_vehicles" to work using the /products URL, but actually getting vehicle state or controlling the vehicle doesn't seem to work.

from teslausb.

marcone avatar marcone commented on July 17, 2024

Teslamate had same issue. Fortunately, legacy API still works, but you have change /vehicle to /products.

I could only get the basic "list_vehicles" to work using the /products URL, but actually getting vehicle state or controlling the vehicle doesn't seem to work.

OK that's not entirely true.The "list" API works on the /products URL and can be used to get the vehicle ID. That ID can then be used with the /vehicles URL to get vehicle info. A lot of the other legacy API commands no longer work this way though.

from teslausb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.