Sha256: 5db9103c5cd75f14957675c689ffd89a93d907c73a4d81cafb39c5d58f889b1e

Contents?: true

Size: 726 Bytes

Versions: 3

Compression:

Stored size: 726 Bytes

Contents

# Windows

## POST `/api/1/vehicles/{id}/command/window_control`

Controls the windows. Will vent or close all windows simultaneously.

### Parameters

| Parameter | Example | Description                                                                 |
| :-------- | :------ | :-------------------------------------------------------------------------- |
| command   | close   | What action to take with the windows. Allows the values `vent` and `close`. |
| lat       | 0       | Seems to not care what this is, 0 is the only value sent by the app.        |
| lon       | 0       | Seems to not care what this is, 0 is the only value sent by the app.        |

### Response

```json
{
  "reason": "",
  "result": true
}
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tesla_api-3.0.4 docs/vehicle/commands/windows.md
tesla_api-3.0.3 docs/vehicle/commands/windows.md
tesla_api-3.0.2 docs/vehicle/commands/windows.md