Charging
Commands related to the charging of the vehicle.
POST /api/1/vehicles/{id}/command/charge_port_door_open
/api/1/vehicles/{id}/command/charge_port_door_open
Opens the charge port or unlocks the cable.
Response
POST /api/1/vehicles/{id}/command/charge_port_door_close
/api/1/vehicles/{id}/command/charge_port_door_close
For vehicles with a motorized charge port, this closes it.
Response
POST /api/1/vehicles/{id}/command/charge_start
/api/1/vehicles/{id}/command/charge_start
If the car is plugged in but not currently charging, this will start it charging.
Response
POST /api/1/vehicles/{id}/command/charge_stop
/api/1/vehicles/{id}/command/charge_stop
If the car is currently charging, this will stop it.
Response
POST /api/1/vehicles/{id}/command/charge_standard
/api/1/vehicles/{id}/command/charge_standard
Sets the charge limit to "standard" or ~90%.
Response
POST /api/1/vehicles/{id}/command/charge_max_range
/api/1/vehicles/{id}/command/charge_max_range
Sets the charge limit to "max range" or 100%.
Response
POST /api/1/vehicles/{id}/command/set_charge_limit
/api/1/vehicles/{id}/command/set_charge_limit
Sets the charge limit to a custom value.
Parameters
percent
75
The percentage the battery will charge until.
Response
POST /api/1/vehicles/{id}/command/set_charging_amps
/api/1/vehicles/{id}/command/set_charging_amps
Sets the charge amps limit to a custom value.
Parameters
charging_amps
32
The max amps to use during charging.
Response
POST /api/1/vehicles/{id}/command/set_scheduled_charging
/api/1/vehicles/{id}/command/set_scheduled_charging
Set the scheduled charge.
Parameters
enable
true
true for on, false for off.
time
1410
time in minutes since midnight local time.
Response
POST /api/1/vehicles/{id}/command/set_scheduled_departure
/api/1/vehicles/{id}/command/set_scheduled_departure
Set the scheduled departure.
Parameters
enable
true
true for on, false for off.
departure_time
540
true if (preconditioning_enabled or off_peak_charging_enabled), false otherwise (this condition may change in the future).
preconditioning_enabled
true
true for on, false for off.
preconditioning_weekdays_only
true
true for on, false for off.
off_peak_charging_enabled
true
true for on, false for off.
off_peak_charging_weekdays_only
true
true for on, false for off.
end_off_peak_time
450
time in minutes since midnight local time.
Response
Last updated