Skip to content

Instantly share code, notes, and snippets.

@jonahwh
Created April 6, 2019 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonahwh/7b0d1498f562cc839d10e9b098345c50 to your computer and use it in GitHub Desktop.
Save jonahwh/7b0d1498f562cc839d10e9b098345c50 to your computer and use it in GitHub Desktop.
{
"response": {
"id": 123456789,
"user_id": 123456789,
"vehicle_id": 123456789,
"vin": "5YJ123456789",
"display_name": "Car Name",
"option_codes": "AD02....",
"color": null,
"tokens": [
"live_data_token",
"live_data_token"
],
"state": "online",
"in_service": false,
"id_s": "123456789",
"calendar_enabled": true,
"api_version": 6,
"backseat_token": null,
"backseat_token_updated_at": null,
"vehicle_config": {
"can_accept_navigation_requests": true,
"can_actuate_trunks": true,
"car_special_type": "base",
"car_type": "models",
"charge_port_type": "US",
"eu_vehicle": false,
"exterior_color": "Blue",
"has_air_suspension": false,
"has_ludicrous_mode": false,
"motorized_charge_port": false,
"perf_config": "P1",
"plg": true,
"rear_seat_heaters": 0,
"rear_seat_type": 0,
"rhd": false,
"roof_color": "None",
"seat_type": 0,
"spoiler_type": "None",
"sun_roof_installed": 1,
"third_row_seats": "None",
"timestamp": 1554591371681,
"trim_badging": "85",
"wheel_type": "Base19"
},
"drive_state": {
"gps_as_of": 1554591370,
"heading": 280,
"latitude": 123.456,
"longitude": -123.456,
"native_latitude": 123.456,
"native_location_supported": 1,
"native_longitude": -123.456,
"native_type": "wgs",
"power": 0,
"shift_state": null,
"speed": null,
"timestamp": 1554591371676
},
"charge_state": {
"battery_heater_on": false,
"battery_level": 72,
"battery_range": 177.58,
"charge_current_request": 32,
"charge_current_request_max": 40,
"charge_enable_request": false,
"charge_energy_added": 0,
"charge_limit_soc": 80,
"charge_limit_soc_max": 100,
"charge_limit_soc_min": 50,
"charge_limit_soc_std": 90,
"charge_miles_added_ideal": 0,
"charge_miles_added_rated": 0,
"charge_port_cold_weather_mode": null,
"charge_port_door_open": true,
"charge_port_latch": "Engaged",
"charge_rate": 0,
"charge_to_max_range": false,
"charger_actual_current": 0,
"charger_phases": null,
"charger_pilot_current": 40,
"charger_power": 0,
"charger_voltage": 0,
"charging_state": "Stopped",
"conn_charge_cable": "SAE",
"est_battery_range": 154.35,
"fast_charger_brand": "<invalid>",
"fast_charger_present": false,
"fast_charger_type": "<invalid>",
"ideal_battery_range": 205.44,
"managed_charging_active": false,
"managed_charging_start_time": null,
"managed_charging_user_canceled": false,
"max_range_charge_counter": 0,
"not_enough_power_to_heat": false,
"scheduled_charging_pending": true,
"scheduled_charging_start_time": 1554616800,
"time_to_full_charge": 1.83,
"timestamp": 1554591371676,
"trip_charging": false,
"usable_battery_level": 72,
"user_charge_enable_request": null
},
"vehicle_state": {
"api_version": 6,
"autopark_state_v2": "standby",
"autopark_style": "standard",
"calendar_supported": true,
"car_version": "2018.50.6 4ec03ed",
"center_display_state": 0,
"df": 0,
"dr": 0,
"ft": 0,
"homelink_nearby": true,
"is_user_present": false,
"last_autopark_error": "no_error",
"locked": true,
"media_state": {
"remote_control_enabled": true
},
"notifications_supported": true,
"odometer": 75988.783615,
"parsed_calendar_supported": true,
"pf": 0,
"pr": 0,
"remote_start": false,
"remote_start_supported": true,
"rt": 0,
"software_update": {
"expected_duration_sec": 2700,
"status": ""
},
"speed_limit_mode": {
"active": false,
"current_limit_mph": 85,
"max_limit_mph": 90,
"min_limit_mph": 50,
"pin_code_set": false
},
"sun_roof_percent_open": 0,
"sun_roof_state": "unknown",
"timestamp": 1554591371676,
"valet_mode": false,
"vehicle_name": "Noop"
},
"climate_state": {
"battery_heater": false,
"battery_heater_no_power": false,
"driver_temp_setting": 21.1,
"fan_status": 0,
"inside_temp": null,
"is_auto_conditioning_on": null,
"is_climate_on": false,
"is_front_defroster_on": false,
"is_preconditioning": false,
"is_rear_defroster_on": false,
"left_temp_direction": null,
"max_avail_temp": 28,
"min_avail_temp": 15,
"outside_temp": null,
"passenger_temp_setting": 21.1,
"remote_heater_control_enabled": false,
"right_temp_direction": null,
"seat_heater_left": 0,
"seat_heater_right": 0,
"side_mirror_heaters": false,
"smart_preconditioning": false,
"timestamp": 1554591371676,
"wiper_blade_heater": false
},
"gui_settings": {
"gui_24_hour_time": false,
"gui_charge_rate_units": "kW",
"gui_distance_units": "mi/hr",
"gui_range_display": "Rated",
"gui_temperature_units": "F",
"timestamp": 1554591371680
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment