Sha256: f37a2d6d5a9822e6c09513403d4831146e3f24df6afcece5da16ae78f236bbba

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

# Vehicle State

## GET `/api/1/vehicles/{id}/data_request/vehicle_state`

Returns the vehicle's physical state, such as which doors are open.

### Response

```json
{
  "response": {
    "api_version": 6,
    "autopark_state_v2": "ready",
    "autopark_style": "standard",
    "calendar_supported": true,
    "car_version": "2018.42.2 19e7e44",
    "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": 36051.517239,
    "parsed_calendar_supported": true,
    "pf": 0,
    "pr": 0,
    "remote_start": false,
    "remote_start_enabled": true,
    "remote_start_supported": true,
    "rt": 0,
    "sentry_mode": true,
    "software_update": { "expected_duration_sec": 2700, "status": "" },
    "speed_limit_mode": {
      "active": false,
      "current_limit_mph": 50.0,
      "max_limit_mph": 90,
      "min_limit_mph": 50,
      "pin_code_set": false
    },
    "sun_roof_percent_open": 0,
    "sun_roof_state": "unknown",
    "timestamp": 1543187581934,
    "valet_mode": false,
    "valet_pin_needed": true,
    "vehicle_name": "Nikola 2.0"
  }
}
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tesla_api-1.5.0 docs/vehicle/state/vehiclestate.md