TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker and becoming a Supporting Member. For more info: Support TMC

Tesla Owner API Tutorial (All you need is your browser)

Discussion in 'Model S' started by Akrion, Oct 27, 2017.

  1. Matutino

    Matutino Member

    Joined:
    Sep 6, 2017
    Messages:
    178
    Location:
    Lake Forest, CA
    Seems like the website is now down :(
     
  2. bward76

    bward76 Member

    Joined:
    Sep 20, 2016
    Messages:
    8
    Location:
    vegas
    Anyone know where to query the perf_config data anymore? Can't seem to get it from JSON apiary. Just did the uncorking and can't be sure it was done properly.
     
  3. avesraggiana

    avesraggiana Member

    Joined:
    Jan 25, 2017
    Messages:
    355
    Location:
    Chula Vista CA
    Nothing would beat getting some kind of confirmation via an app or some such. However, post uncorking, the car’s acceleration from a standing start has a definitive “grab and snatch” feel to it, accompanied by a noticeable increase in electrical whine. If your car was uncorked you’ll sense it and hear it the moment you press that accelerator.

    I was very lucky, a very kind soul on this thread verified the uncorking for me, since I couldn’t manage it on my own, and I also downloaded the PowerTools app on my iphone. Post uncorking it consistently reads 4.1 seconds.
     
  4. SucreTease

    SucreTease Teslarian

    Joined:
    Jul 11, 2017
    Messages:
    386
    Location:
    Huntsville, Alabama
    "perf_config" was moved from the vehicle state into the vehicle config state:
    0 to 60 uncork
     
    • Like x 1
  5. Stasla

    Stasla Member

    Joined:
    Mar 30, 2016
    Messages:
    368
    Location:
    New York
    Is there a way to access vehicle config state via the apiary web api browser?
     
  6. Jonas_man

    Jonas_man Member

    Joined:
    Sep 1, 2015
    Messages:
    264
    Location:
    Helsinki
    No
     
  7. Stasla

    Stasla Member

    Joined:
    Mar 30, 2016
    Messages:
    368
    Location:
    New York
    :(
     
  8. sumitkgarg

    sumitkgarg Member

    Joined:
    Aug 5, 2017
    Messages:
    474
    Location:
    Bay Area, CA
  9. sumitkgarg

    sumitkgarg Member

    Joined:
    Aug 5, 2017
    Messages:
    474
    Location:
    Bay Area, CA
    See my reply above
     
  10. barjohn

    barjohn Member

    Joined:
    Sep 23, 2017
    Messages:
    342
    Location:
    Riverside, CA
    Would you mind explaining exactly how one uses your information as an endpoint in the web application?
     
  11. Jonas_man

    Jonas_man Member

    Joined:
    Sep 1, 2015
    Messages:
    264
    Location:
    Helsinki
  12. sumitkgarg

    sumitkgarg Member

    Joined:
    Aug 5, 2017
    Messages:
    474
    Location:
    Bay Area, CA
    Not sure how apiary is maintained or updated. But you can use Postman to make requests to any endpoint.
    Postman

    I am sure that you can find tons of tutorials online on how to use Postman.
     
  13. barjohn

    barjohn Member

    Joined:
    Sep 23, 2017
    Messages:
    342
    Location:
    Riverside, CA
    Thank you. That was pretty easy all you really need is the authorization token and the Vehicle ID (IDs) and your url command and it works nicely.
     
    • Like x 1
  14. SundayDriver

    SundayDriver New Member

    Joined:
    Jun 26, 2017
    Messages:
    2
    Location:
    NNJ
  15. Jonas_man

    Jonas_man Member

    Joined:
    Sep 1, 2015
    Messages:
    264
    Location:
    Helsinki
    I know you can use postman or whatever tool. But not via apiary which was the initial question.
     
  16. boaterva

    boaterva Supporting Member

    Joined:
    Apr 2, 2016
    Messages:
    4,619
    Location:
    Northern Virginia, USA
    Not sure it's been noted, but the iOS app "Remote S" also added most/all of the API data recently. Shows the raw Car State/Location/Climate/Charge/Config/GUI, etc. API info. And does have the perf_config under Car Config. Excellent app, in general (and nothing but a satisfied user, here!).
     
  17. MasterT

    MasterT Member

    Joined:
    Dec 19, 2016
    Messages:
    744
    Location:
    North Miami Beach, FL
    IIRC, perf_config was removed from API a while back and is not being reported by Tesla anymore, I'm not sure what Remote S reports.

    I just tried pulling up my car info and perf_config is not reported, below is all that reported:

    "response": {
    "api_version": 3,
    "autopark_state": "standby",
    "autopark_state_v2": "standby",
    "autopark_style": "standard",
    "calendar_supported": true,
    "car_version": "2018.6.1 641efac",
    "center_display_state": 0,
    "df": 0,
    "dr": 0,
    "ft": 0,
    "homelink_nearby": false,
    "last_autopark_error": "no_error",
    "locked": true,
    "notifications_supported": true,
    "odometer": xxxxxxxx,
    "parsed_calendar_supported": true,
    "pf": 0,
    "pr": 0,
    "remote_start": false,
    "remote_start_supported": true,
    "rt": 0,
    "sun_roof_percent_open": null,
    "sun_roof_state": "unknown",
    "timestamp": xxxxxxxxxxx,
    "valet_mode": false,
    "vehicle_name": "xxxxxxx"
     
  18. barjohn

    barjohn Member

    Joined:
    Sep 23, 2017
    Messages:
    342
    Location:
    Riverside, CA
    Use Sundaydriver's link, Remote S or use Postman. It is till there but was moved to Vehicle_config instead of Config_State.
     
  19. sumitkgarg

    sumitkgarg Member

    Joined:
    Aug 5, 2017
    Messages:
    474
    Location:
    Bay Area, CA
    Sorry, I misunderstood.
     
  20. boaterva

    boaterva Supporting Member

    Joined:
    Apr 2, 2016
    Messages:
    4,619
    Location:
    Northern Virginia, USA
    As I said, in Remote S it’s on the Car Config button which is short for Vehicle Config (to fit on the buttons).
     

Share This Page

  • About Us

    Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.
  • Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


    SUPPORT TMC