Actions46
- Get Vehicle Data
- Wake Up
- Flash Lights
- Honk Horn
- Lock Doors
- Unlock Doors
- Remote Start
- Actuate Trunk
- Start HVAC
- Stop HVAC
- Set Temperatures
- Set Seat Heater
- Set Steering Wheel Heater
- Start Charging
- Stop Charging
- Open Charge Port
- Close Charge Port
- Set Charge Limit
- Set Charging Amps
- Set Sentry Mode
- Trigger Homelink
- Navigation Request
- Set Seat Cooler
- Set Auto Seat Climate
- Set Auto Steering Wheel Heat
- Set Steering Wheel Heat Level
- Set Cabin Overheat Protection
- Set Cabin Overheat Protection Temperature
- Set Climate Keeper Mode
- Set Bioweapon Defense Mode
- Set Preconditioning Max
- Control Windows
- Control Sunroof
- Control Tonneau
- Set Scheduled Charging
- Set Scheduled Departure
- Add Charge Schedule
- Remove Charge Schedule
- Add Precondition Schedule
- Remove Precondition Schedule
- Charge on Solar
- Charge to Standard
- Charge to Max Range
- Schedule Software Update
- Cancel Software Update
- Set Volume
Add Charge Schedule
AI-generatedSummary
Adds or modifies a vehicle's scheduled charging configuration via the Teslemetry API.
Inputs
- vin (required) — Vehicle Identification Number (VIN) of the Tesla vehicle to configure.
- charge_schedule_body — A JSON object defining the charge schedule. Defaults include days_of_week (All), enabled status, start/end enabled flags, and start_time (minutes into the day). lat and lon are optional.
Output shape
A single record containing the Teslemetry API response for the schedule update.
The API returns a confirmation envelope. Ensure the vehicle is online and the provided schedule format is valid per Tesla's API documentation.
Examples
Example 1: Configure a daily charging schedule starting at 1:05 AM (60 minutes) for all days.
Set charge_schedule_body.days_of_week to 'All', start_enabled to true, and start_time to 60.
Example 2: Create a custom schedule with specific days and an end time.
Set days_of_week to a custom array, enable start_enabled and end_enabled, and set start_time/end_time to desired minutes.