HVAC Mode Adjusted
Simulates having adjusted the HVAC mode for a thermostat. Only applicable for sandbox devices. See also Testing Your Thermostat App with Simulate Endpoints.
Simulates having adjusted the HVAC mode for a thermostat.
Code:
await seam.thermostats.simulate.hvacModeAdjusted({
device_id: "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
hvac_mode: "heat",
heating_set_point_fahrenheit: 68,
});Output:
// voidSimulates having adjusted the HVAC mode for a thermostat.
Code:
curl --include --request POST "https://connect.getseam.com/thermostats/simulate/hvac_mode_adjusted" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
"hvac_mode": "heat",
"heating_set_point_fahrenheit": 68
}
EOFOutput:
{}Simulates having adjusted the HVAC mode for a thermostat.
Code:
seam.thermostats.simulate.hvac_mode_adjusted(
device_id="278a72ba-7deb-45e3-a0c0-573fd360ee7b",
hvac_mode="heat",
heating_set_point_fahrenheit=68,
)Output:
NoneSimulates having adjusted the HVAC mode for a thermostat.
Code:
seam.thermostats.simulate.hvac_mode_adjusted(
device_id: "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
hvac_mode: "heat",
heating_set_point_fahrenheit: 68,
)Output:
nilSimulates having adjusted the HVAC mode for a thermostat.
Code:
$seam->thermostats->simulate->hvac_mode_adjusted(
device_id: "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
hvac_mode: "heat",
heating_set_point_fahrenheit: 68
);Output:
Simulates having adjusted the HVAC mode for a thermostat.
Code:
seam thermostats simulate hvac-mode-adjusted --device_id "278a72ba-7deb-45e3-a0c0-573fd360ee7b" --hvac_mode "heat" --heating_set_point_fahrenheit 68Output:
{}Request Parameters
device_id String (Required)
ID of the thermostat device for which you want to simulate having adjusted the HVAC mode.
hvac_mode String (Required)
HVAC mode that you want to simulate.
cooling_set_point_celsius Number
Cooling set point in °C that you want to simulate. You must set cooling_set_point_celsius or cooling_set_point_fahrenheit.
cooling_set_point_fahrenheit Number
Cooling set point in °F that you want to simulate. You must set cooling_set_point_fahrenheit or cooling_set_point_celsius.
heating_set_point_celsius Number
Heating set point in °C that you want to simulate. You must set heating_set_point_celsius or heating_set_point_fahrenheit.
heating_set_point_fahrenheit Number
Heating set point in °F that you want to simulate. You must set heating_set_point_fahrenheit or heating_set_point_celsius.
Response
void
Last updated
Was this helpful?

