GET https://teslascope.com/api/vehicle/:public_id/command/:command
This is an object representing a command sent to a vehicle.
A list of all valid values for command are:
honkHorn | Honks the vehicle's horn. |
flashLights | Flashes the vehicle's lights once. |
enableSentryMode | Enables Sentry Mode for the vehicle. |
disableSentryMode | Disables Sentry Mode for the vehicle. |
startAC | Turns on the auto conditioning (at last set setting). |
stopAC | Turns off the auto conditioning. |
ventWindows | Opens the vehicle's four windows partially to vent. |
closeWindows | Closes the vehicle's four windows. |
openTrunk | Opens the vehicle's trunk. |
openFrunk | Opens the vehicle's frunk. |
openChargeDoor | Opens the vehicle's charging port. |
closeChargeDoor | Closes the vehicle's charging port. |
startCharging | Starts charging if a cord is plugged into the vehicle. |
stopCharging | Stops an active charging session. |
unlock | Unlocks the vehicle. |
lock | Locks the vehicle. |
enableSentryMode | Enables sentry mode. |
disableSentryMode | Disables sentry mode. |
triggerHomeLink | Triggers a nearby Homelink device. |
code integer |
The status code of the request. |
response string |
The response text of the request. |
{
"code":200,
"response":"Sentry mode has been enabled for the vehicle."
}