Teslemetry Vehicle icon

Teslemetry Vehicle

Interact with Teslemetry Vehicle API

Control Windows

AI-generated

Summary

Send a window command to the selected Tesla vehicle to vent or close its windows. The vehicle must be parked; closing requires the user's latitude and longitude to verify they are within range, except on Model 3 platform vehicles.

Inputs

  • VIN (required) — Select the vehicle to control.
  • Window Command (required) — Choose Vent or Close; defaults to Vent.
  • Latitude — User's latitude, used when closing windows to verify proximity to the vehicle.
  • Longitude — User's longitude, used when closing windows to verify proximity to the vehicle.

Output shape

A single item containing the window control command result from Teslemetry.

The command controls a parked vehicle. For closing, provide latitude and longitude unless the vehicle is on the Model 3 platform.

Links

Discussion