Climate
Commands related to the climate control (HVAC) system.
POST /api/1/vehicles/{id}/command/auto_conditioning_start
/api/1/vehicles/{id}/command/auto_conditioning_startStart the climate control (HVAC) system. Will cool or heat automatically, depending on set temperature.
Parameters
manual_override
socdoors
Optional, to override the low_soc failure reason (<20%).
Example
{
"manual_override": "socdoors"
}Response
{
"reason": "",
"result": true
}POST /api/1/vehicles/{id}/command/auto_conditioning_stop
/api/1/vehicles/{id}/command/auto_conditioning_stopStop the climate control (HVAC) system.
Response
POST /api/1/vehicles/{id}/command/set_temps
/api/1/vehicles/{id}/command/set_tempsSets the target temperature for the climate control (HVAC) system.
Note: Despite accepting two parameters, only the driver_temp will be used to set the target temperature, unless the "split" option is activated within the climate controls menu.
Note: The parameters are always in celsius, regardless of the region the car is in or the display settings of the car.
Parameters
driver_temp
23.4
The desired temperature on the driver's side in celsius.
passenger_temp
23.4
The desired temperature on the passenger's side in celsius.
Response
POST /api/1/vehicles/{id}/command/set_preconditioning_max
/api/1/vehicles/{id}/command/set_preconditioning_maxToggles the climate controls between Max Defrost and the previous setting.
Parameters
on
true
True to turn on, false to turn off.
Response
POST /api/1/vehicles/{id}/command/remote_seat_heater_request
/api/1/vehicles/{id}/command/remote_seat_heater_requestSets the specified seat's heater level.
Parameters
heater
0
The desired seat to heat. (0-5)
level
3
The desired level for the heater. (0-3)
The heater parameter maps to the following seats:
0
Front Left
1
Front right
2
Rear left
4
Rear center
5
Rear right
Response
POST /api/1/vehicles/{id}/command/remote_seat_cooler_request
/api/1/vehicles/{id}/command/remote_seat_cooler_requestSets the specified seat's cooler level. (Refresh Model S & X)
Parameters
These parameters need to be passed via the post body as JSON.
seat_position
0
The desired seat to cool. (0-5)
seat_cooler_level
3
The desired level for the cooler. (0-3)
The seat_position parameter maps to the following seats:
0
Front Left
1
Front right
2
Rear left
4
Rear center
5
Rear right
Example
Response
POST /api/1/vehicles/{id}/command/remote_steering_wheel_heater_request
/api/1/vehicles/{id}/command/remote_steering_wheel_heater_requestTurn steering wheel heater on or off.
Parameters
on
true
True to turn on, false to turn off.
Response
POST /api/1/vehicles/{id}/command/set_bioweapon_mode
/api/1/vehicles/{id}/command/set_bioweapon_modeEnable or disable Bioweapon Defense Mode.
Request
This endpoint requires json in the post body, with the singular parameter on which is either true or false. This endpoint will respond with the result as true even with no parameters or body specified.
Response
POST /api/1/vehicles/{id}/command/set_climate_keeper_mode
/api/1/vehicles/{id}/command/set_climate_keeper_modeSet the Climate Keeper mode.
Request
This endpoint requires json in the post body, with the singular parameter climate_keeper_mode and a number as the value. Those map to the values below.
0
Off
1
On - Default
2
Dog Mode
3
Camp Mode
Example
Response
POST /api/1/vehicles/{vehicle_id}/command/remote_auto_seat_climate_request
/api/1/vehicles/{vehicle_id}/command/remote_auto_seat_climate_requestEnables/disables Automatic Seat Climate on the specified seat.
Parameters
These parameters need to be passed via the post body as JSON.
auto_seat_position
0
The desired seat for auto climate. (0-5)
auto_climate_on
true
true to enable and false to disable.
The auto_seat_position parameter maps to the following seats:
0
Front Left
1
Front right
2
Rear left
4
Rear center
5
Rear right
Example
Response
POST /api/1/vehicles/{vehicle_id}/command/set_cop_temp
/api/1/vehicles/{vehicle_id}/command/set_cop_tempSets the Cabin Overheat Protection (COP) temperature.
Parameters
These parameters need to be passed via the post body as JSON.
temp
40
The COP temperature in Celcius (name is subject to change)
Example
Response
POST /api/1/vehicles/{vehicle_id}/command/set_cabin_overheat_protection
/api/1/vehicles/{vehicle_id}/command/set_cabin_overheat_protectionTurns on the Cabin Overheat Protection (COP) and sets its mode.
Parameters
These parameters need to be passed via the post body as JSON.
on
true
Turns COP on/off.
fan_only
true
Use only the fans, do not use/turn on HVAC/AC.
Example
Response
Last updated