Historical

Auto API
Level 12
Last Updated
Level 12
Added In
Level 8
Identifier
0x00 0x12

This page specifies the Auto API protocol for Vehicle Status. Head over to the REST API, iOS SDK, Android SDK or Node.js SDK code reference pages for platform specifics.

States

id: 0x01
name: states
name_cased: states
name_pretty: States
type: types.capability_state
multiple: true
name_singular: state

Example

data_component: 0c0020010600040100010004000501000200010400050100020201a2000b010008000001598938e788
values:
  doors:
    locks_state: unlocked
    positions:
      - location: front_left
        position: open
      - location: rear_right
        position: open
    timestamp: 2017-01-10T16:32:05.000Z
description: Doors capability - front left and rear right door is open while
  locks are unlocked, recorded at 10. January 2017 at 16:32:05 GMT
data_component: 0c0023010b0004010001010c00040100010018000d01000a140240418000000000001c000d01000a12044081580000000000a2000b010008000001598938e788
values:
  charging:
    charge_port_state: open
    charge_mode: immediate
    charging_rate:
      kilowatts: 35
    max_range:
      kilometers: 555
    timestamp: 2017-01-10T16:32:05.000Z
description: Charging capability - charging port is open, charge mode is
  immediate, charging rate is 35.0kW and max range is 555.0km, recorded at 10.
  January 2017 at 16:32:05 GMT

Capability ID

id: 0x02
name: capability_id
name_cased: capabilityID
name_pretty: Capability ID
type: uinteger
size: 2
description: The identifier of the Capability

Example

data_component: "0060"
value: 96
description: Home Charger capability identifier

Start date

id: 0x03
name: start_date
name_cased: startDate
name_pretty: Start date
type: timestamp
size: 8
description: Start date for historical data query

Example

data_component: 0000016da6524300
value: 2019-10-07T13:04:32.000Z
description: Start date is 7. October 2019 at 13:04:32 GMT

End date

id: 0x04
name: end_date
name_cased: endDate
name_pretty: End date
type: timestamp
size: 8
description: End date for historical data query

Example

data_component: 0000016d71e2c4f0
value: 2019-09-27T08:42:30.000Z
description: End date is 27. September 2019 at 08:42:30 GMT