Climate
Last updated
Last updated
Commands related to the climate control (HVAC) system.
/api/1/vehicles/{id}/command/auto_conditioning_start
Start the climate control (HVAC) system. Will cool or heat automatically, depending on set temperature.
Body Parameter | Example | Description |
---|---|---|
/api/1/vehicles/{id}/command/auto_conditioning_stop
Stop the climate control (HVAC) system.
/api/1/vehicles/{id}/command/set_temps
Sets 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.
/api/1/vehicles/{id}/command/set_preconditioning_max
Toggles the climate controls between Max Defrost and the previous setting.
/api/1/vehicles/{id}/command/remote_seat_heater_request
Sets the specified seat's heater level.
The heater
parameter maps to the following seats:
/api/1/vehicles/{id}/command/remote_seat_cooler_request
Sets the specified seat's cooler level. (Refresh Model S & X)
These parameters need to be passed via the post body as JSON
.
The seat_position
parameter maps to the following seats:
/api/1/vehicles/{id}/command/remote_steering_wheel_heater_request
Turn steering wheel heater on or off.
/api/1/vehicles/{id}/command/set_bioweapon_mode
Enable or disable Bioweapon Defense Mode.
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.
/api/1/vehicles/{id}/command/set_climate_keeper_mode
Set the Climate Keeper mode.
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.
/api/1/vehicles/{vehicle_id}/command/remote_auto_seat_climate_request
Enables/disables Automatic Seat Climate on the specified seat.
These parameters need to be passed via the post body as JSON
.
The auto_seat_position
parameter maps to the following seats:
/api/1/vehicles/{vehicle_id}/command/set_cop_temp
Sets the Cabin Overheat Protection (COP) temperature.
This endpoint appears to be in progress and is not yet fully functional/disabled as of now (12-13-2022, MDY).
These parameters need to be passed via the post body as JSON
.
/api/1/vehicles/{vehicle_id}/command/set_cabin_overheat_protection
Turns on the Cabin Overheat Protection (COP) and sets its mode.
These parameters need to be passed via the post body as JSON
.
Parameter | Example | Description |
---|---|---|
Parameter | Example | Description |
---|---|---|
Parameter | Example | Description |
---|---|---|
Number | Seat |
---|---|
Body Parameter | Example | Description |
---|---|---|
Number | Seat |
---|---|
Parameter | Example | Description |
---|---|---|
Number | Mode |
---|---|
Body Parameter | Example | Description |
---|---|---|
Number | Seat |
---|---|
Body Parameter | Example | Description |
---|---|---|
Body Parameter | Example | Description |
---|---|---|
manual_override
socdoors
Optional, to override the low_soc failure reason (<20%).
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.
on
true
True to turn on, false to turn off.
heater
0
The desired seat to heat. (0-5)
level
3
The desired level for the heater. (0-3)
0
Front Left
1
Front right
2
Rear left
4
Rear center
5
Rear right
seat_position
0
The desired seat to cool. (0-5)
seat_cooler_level
3
The desired level for the cooler. (0-3)
0
Front Left
1
Front right
2
Rear left
4
Rear center
5
Rear right
on
true
True to turn on, false to turn off.
0
Off
1
On - Default
2
Dog Mode
3
Camp Mode
auto_seat_position
0
The desired seat for auto climate. (0-5)
auto_climate_on
true
true
to enable and false
to disable.
0
Front Left
1
Front right
2
Rear left
4
Rear center
5
Rear right
temp
40
The COP temperature in Celcius (name is subject to change)
on
true
Turns COP on/off.
fan_only
true
Use only the fans, do not use/turn on HVAC/AC.