curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/climate/cabin" \
-H "Authorization: Bearer {token}" \
-X "GET"
cabin = vehicle.request(
"GET",
"{make}/climate/cabin"
)
const chargeCompletion = await vehicle.request(
"GET",
"{make}/climate/cabin"
);
SmartcarVehicleRequest request = new SmartcarVehicleRequest.Builder()
.method("GET")
.path("{make}/climate/cabin")
.build();
VehicleResponse chargeCompletion = vehicle.request(request);
chargeCompletion = vehicle.request(
"GET",
"{make}/climate/cabin"
)
{
"status": "ON",
"temperature": 20
}
Tesla
Cabin Climate
Returns the current state and target temperature setting of a vehicle’s cabin climate system.
GET
/
v2.0
/
vehicles
/
{id}
/
{make}
/
climate
/
cabin
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/climate/cabin" \
-H "Authorization: Bearer {token}" \
-X "GET"
cabin = vehicle.request(
"GET",
"{make}/climate/cabin"
)
const chargeCompletion = await vehicle.request(
"GET",
"{make}/climate/cabin"
);
SmartcarVehicleRequest request = new SmartcarVehicleRequest.Builder()
.method("GET")
.path("{make}/climate/cabin")
.build();
VehicleResponse chargeCompletion = vehicle.request(request);
chargeCompletion = vehicle.request(
"GET",
"{make}/climate/cabin"
)
{
"status": "ON",
"temperature": 20
}
This endpoint is currently available for
teslaPermission
read_climate
Request
PathThe vehicle ID of the vehicle you are making a request to.
The make of the vehicle you are making a request to.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/climate/cabin" \
-H "Authorization: Bearer {token}" \
-X "GET"
cabin = vehicle.request(
"GET",
"{make}/climate/cabin"
)
const chargeCompletion = await vehicle.request(
"GET",
"{make}/climate/cabin"
);
SmartcarVehicleRequest request = new SmartcarVehicleRequest.Builder()
.method("GET")
.path("{make}/climate/cabin")
.build();
VehicleResponse chargeCompletion = vehicle.request(request);
chargeCompletion = vehicle.request(
"GET",
"{make}/climate/cabin"
)
Response
The target temperature setting of the vehicle when the climate system is on (in Celsius by default or in Fahrenheit using the sc-unit-system).
{
"status": "ON",
"temperature": 20
}
Was this page helpful?

