Teslemetry Vehicle icon

Teslemetry Vehicle

Interact with Teslemetry Vehicle API

Add Precondition Schedule

AI-generated

Summary

Adds a preconditioning schedule to a Tesla vehicle using the Teslemetry API.

Inputs

  • vin (required) — Vehicle Identification Number (VIN).
  • precondition_schedule_body (required) — JSON configuration for the preconditioning schedule. Includes days_of_week, enabled status, precondition_time (minutes into the day, e.g., 65 = 1:05 AM), and lat/lon coordinates.

Output shape

no body — success/failure only

Returns an API response envelope indicating success or failure of the preconditioning schedule creation.

Examples

Example 1: Schedule preconditioning to start daily at 1:05 AM for all days of the week.

Set precondition_time to 65, days_of_week to All, and enabled to true.

Links

Discussion