Tesla JSON API (Unofficial)
GitHubTesla
  • Introduction
  • API Basics
    • Authentication
    • Users
    • Vehicles
    • Energy Products
    • Trip Planner
  • Vehicle
    • State
      • Data
      • Charge State
      • Climate State
      • Drive State
      • GUI Settings
      • Vehicle State
      • Vehicle Config
      • Mobile Enabled
      • Nearby Charging Sites
      • Miscellaneous
    • Commands
      • Wake
      • Alerts
      • Remote Start
      • Homelink
      • Speed Limit
      • Valet Mode
      • Sentry Mode
      • Doors
      • Frunk/Trunk
      • Windows
      • Sunroof
      • Charging
      • Climate
      • Media
      • Sharing
      • Software Updates
      • Calendar
      • Miscellaneous
    • Streaming
    • Autopark/Summon
    • Option Codes
  • Energy Products
    • Overview
      • History
      • State
      • Commands
  • Miscellaneous
    • Endpoints File
Powered by GitBook
On this page
  • POST /api/1/vehicles/{id}/command/schedule_software_update
  • Parameters
  • Response
  • POST /api/1/vehicles/{id}/command/cancel_software_update
  • Response
Edit on GitHub
  1. Vehicle
  2. Commands

Software Updates

POST /api/1/vehicles/{id}/command/schedule_software_update

Schedules a software update to be installed, if one is available.

Parameters

Parameter
Example
Description

offset_sec

7200

How many seconds in the future to schedule the update. Set to 0 for immediate install.

Response

{
  "expected_duration_sec": 3000,
  "reason": "",
  "result": true,
  "scheduled_time_ms": 1685735308001,
  "status": "scheduled",
  "warning_time_remaining_ms": 120000
}

POST /api/1/vehicles/{id}/command/cancel_software_update

Cancels a software update, if one is scheduled and has not yet started.

Response

{
  "reason": "",
  "result": true
}
PreviousSharingNextCalendar

Last updated 1 year ago