timdorr / tesla-api

🚘 A Ruby gem and unofficial documentation of Tesla's JSON API for the Model S, 3, X, and Y.
https://tesla-api.timdorr.com/
MIT License
1.99k stars 532 forks source link

Update `remote_boombox` with prep for Boombox V2 #730

Closed core-hacked closed 1 year ago

core-hacked commented 1 year ago

Changes:

More actions need to be added as Tesla rolls out BBX V2, this is just the preperation for when this change strikes and the app has already been observed to send the post body when the "remote fart button" is clicked.

New docs/doc update

Remote Boombox

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

Let the car fart remotely on version 2022.44.25.1 and above or use boombox v2 on supported vehicles.

Parameters

This endpoint does not require a POST body to fart remotely but needs one to use boombox v2.

Parameter Example Description
action 0 Numerical value representing the action

The available actions are:

Action Corresponding numerical value
Fart 0

Example

{
  "action": 0
}

Response

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

Old docs

# Remote Boombox ## POST `/api/1/vehicles/{id}/command/remote_boombox` Let the car fart remotely on version 2022.44.25.1 and above. ### Response ```json { "result": true, "reason": "" } ```
timdorr commented 1 year ago

Farts v2! Thanks!