Sha256: c2804df43cdb1b1fd6f3ab5ab8f2a7f2814e5617617729f5dad95788661ca4e9

Contents?: true

Size: 1.71 KB

Versions: 13

Compression:

Stored size: 1.71 KB

Contents

# Speed Limit

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

Sets the maximum speed allowed when Speed Limit Mode is active.

### Parameters

| Parameter | Example | Description                                    |
| :-------- | :------ | :--------------------------------------------- |
| limit_mph | 65      | The speed limit in MPH. Must be between 50-90. |

### Response

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

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

Activates Speed Limit Mode at the currently set speed.

### Parameters

| Parameter | Example | Description                                                |
| :-------- | :------ | :--------------------------------------------------------- |
| pin       | 1234    | The existing PIN, if previously set, or a new 4 digit PIN. |

### Response

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

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

Deactivates Speed Limit Mode if it is currently active.

### Parameters

| Parameter | Example | Description                                        |
| :-------- | :------ | :------------------------------------------------- |
| pin       | 1234    | The 4 digit PIN used to activate Speed Limit Mode. |

### Response

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

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

Clears the currently set PIN for Speed Limit Mode.

### Parameters

| Parameter | Example | Description                                        |
| :-------- | :------ | :------------------------------------------------- |
| pin       | 1234    | The 4 digit PIN used to activate Speed Limit Mode. |

### 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/speedlimit.md
tesla_api-3.0.7 docs/vehicle/commands/speedlimit.md
tesla_api-3.0.6 docs/vehicle/commands/speedlimit.md
tesla_api-3.0.5 docs/vehicle/commands/speedlimit.md
tesla_api-3.0.4 docs/vehicle/commands/speedlimit.md
tesla_api-3.0.3 docs/vehicle/commands/speedlimit.md
tesla_api-3.0.2 docs/vehicle/commands/speedlimit.md
tesla_api-3.0.1 docs/vehicle/commands/speedlimit.md
tesla_api-3.0.0 docs/vehicle/commands/speedlimit.md
tesla_api-2.0.0 docs/vehicle/commands/speedlimit.md
tesla_api-1.5.0 docs/vehicle/commands/speedlimit.md
tesla_api-1.4.1 docs/vehicle/commands/speedlimit.md
tesla_api-1.4.0 docs/vehicle/commands/speedlimit.md