Vehicle Commands
Set Scheduled Departure
Sets the scheduled departure configuration.
For vehicles on 2024.26+, use add_charge_schedule and add_precondition_schedule instead.
post/{vin}/command/set_scheduled_departure
Query parameters
wait_for_completionboolean
Whether to wait for the command to complete before returning a response.
max_attemptsinteger
The maximum number of attempts to make to execute the command.
enableboolean required
Example:true
Whether to enable scheduled departure.
departure_timenumber required
Example:480
The departure time in minutes past midnight local time.
preconditioning_enabledboolean
Whether to precondition the cabin.
preconditioning_weekdays_onlyboolean
Whether to precondition the cabin on weekdays only.
off_peak_charging_enabledboolean
Whether to perform off-peak charging.
off_peak_charging_weekdays_onlyboolean
Whether to perform off-peak charging on weekdays only.
end_off_peak_timenumber
Example:360
The end of the off-peak charging time in minutes past midnight local time.
Response
Success