Sha256: b5c97c6fd995ae6597f5db3e150d58e0359bbd1e27bedd2c9ee86a8186a22245

Contents?: true

Size: 774 Bytes

Versions: 13

Compression:

Stored size: 774 Bytes

Contents

# 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

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

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

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

### Response

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tesla_api-3.1.0 docs/vehicle/commands/softwareupdate.md
tesla_api-3.0.7 docs/vehicle/commands/softwareupdate.md
tesla_api-3.0.6 docs/vehicle/commands/softwareupdate.md
tesla_api-3.0.5 docs/vehicle/commands/softwareupdate.md
tesla_api-3.0.4 docs/vehicle/commands/softwareupdate.md
tesla_api-3.0.3 docs/vehicle/commands/softwareupdate.md
tesla_api-3.0.2 docs/vehicle/commands/softwareupdate.md
tesla_api-3.0.1 docs/vehicle/commands/softwareupdate.md
tesla_api-3.0.0 docs/vehicle/commands/softwareupdate.md
tesla_api-2.0.0 docs/vehicle/commands/softwareupdate.md
tesla_api-1.5.0 docs/vehicle/commands/softwareupdate.md
tesla_api-1.4.1 docs/vehicle/commands/softwareupdate.md
tesla_api-1.4.0 docs/vehicle/commands/softwareupdate.md