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:

// void
Authentication Methods
  • API key

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

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?