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

Missing API key-value pair?

Discussion in 'Model S' started by hobapolis, Apr 22, 2018.

  1. hobapolis

    hobapolis Member

    Joined:
    Dec 7, 2017
    Messages:
    49
    Location:
    Chicago
    I have a 2017 Model S and I'm curious about the uncorking option on my 75D. When I make the API call to try to find `perf_config` that key/value pair seems to be missing.

    Code:
    {
        "response": {
            "api_version": 3,
            "autopark_state": "standby",
            "autopark_state_v2": "standby",
            "autopark_style": "standard",
            "calendar_supported": true,
            "car_version": "2018.12 5eadc71",
            "center_display_state": 0,
            "df": 0,
            "dr": 0,
            "ft": 0,
            "homelink_nearby": true,
            "last_autopark_error": "no_error",
            "locked": true,
            "notifications_supported": true,
            "odometer": 3263.832182,
            "parsed_calendar_supported": true,
            "pf": 0,
            "pr": 0,
            "remote_start": false,
            "remote_start_supported": true,
            "rt": 0,
            "sun_roof_percent_open": 0,
            "sun_roof_state": "unknown",
            "timestamp": 1524446805170,
            "valet_mode": false,
            "vehicle_name": "Polaris"
        }
    }
    Is this because my car is already uncorked? Is it not available? What am I missing?
     
  2. Hugh Mannity

    Hugh Mannity Mediocre Member

    Joined:
    Jul 31, 2014
    Messages:
    1,349
    Location:
    Calgary, AB
    How are you bringing up that list? It looks like a ton of configs are missing there.
     
  3. appleguru

    appleguru Member

    Joined:
    Mar 15, 2017
    Messages:
    924
    Location:
    US
    Perf has moved from vehicle_state to vehicle_config... try there.

    Code:
    $ curl --header "Authorization:Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" https://owner-api.teslamotors.com/api/1/vehicles/xxxxxxxxxxxxxxxx/data_request/vehicle_config
     
    • Like x 1
  4. hobapolis

    hobapolis Member

    Joined:
    Dec 7, 2017
    Messages:
    49
    Location:
    Chicago
    That was it. Thanks.

    Code:
            "perf_config": "P3",
    
    Seems as though I need an uncorking.
     

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