Temperature Reached
Simulates a thermostat reaching a specified temperature. Only applicable for sandbox devices. See also Testing Your Thermostat App with Simulate Endpoints.
Simulates a thermostat reaching a specified temperature.
Code:
await seam.thermostats.simulate.temperatureReached({
device_id: "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
temperature_celsius: 25,
});Output:
// voidSimulates a thermostat reaching a specified temperature.
Code:
curl --include --request POST "https://connect.getseam.com/thermostats/simulate/temperature_reached" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
"temperature_celsius": 25
}
EOFOutput:
{}Simulates a thermostat reaching a specified temperature.
Code:
seam.thermostats.simulate.temperature_reached(
device_id="278a72ba-7deb-45e3-a0c0-573fd360ee7b", temperature_celsius=25
)Output:
NoneSimulates a thermostat reaching a specified temperature.
Code:
seam.thermostats.simulate.temperature_reached(
device_id: "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
temperature_celsius: 25,
)Output:
nilSimulates a thermostat reaching a specified temperature.
Code:
$seam->thermostats->simulate->temperature_reached(
device_id: "278a72ba-7deb-45e3-a0c0-573fd360ee7b",
temperature_celsius: 25
);Output:
Simulates a thermostat reaching a specified temperature.
Code:
seam thermostats simulate temperature-reached --device_id "278a72ba-7deb-45e3-a0c0-573fd360ee7b" --temperature_celsius 25Output:
{}Request Parameters
device_id String (Required)
ID of the thermostat device that you want to simulate reaching a specified temperature.
temperature_celsius Number
Temperature in °C that you want simulate the thermostat reaching. You must set temperature_celsius or temperature_fahrenheit.
temperature_fahrenheit Number
Temperature in °F that you want simulate the thermostat reaching. You must set temperature_fahrenheit or temperature_celsius.
Response
void
Last updated
Was this helpful?

