About this query
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This query returns a list of when the temperature rises above a threshold you specify. Note: this query will only return future events after this Applet is created.
- API endpoint slug
- thermosmart.history_of_temperature_rises_above_threshold
- Runtime method
- performQuery("thermosmart.history_of_temperature_rises_above_threshold")
Query fields
Temperature threshold Text input > Other
- Label
- Temperature threshold
- Slug
- temperature_threshold
- Required
- true
- Can have default value
- true
Ingredients
Room temperature cThe measured temperature in Celsius
- Slug
- room_temperature_c
- Filter code
- Thermosmart.historyOfTemperatureRisesAboveThreshold.RoomTemperatureC
- Type
- String
- Example
- 19.5
Target temperature cThe target temperature in Celsius
- Slug
- target_temperature_c
- Filter code
- Thermosmart.historyOfTemperatureRisesAboveThreshold.TargetTemperatureC
- Type
- String
- Example
- 21.5
Date room temperature cThe date and time of the measured temperature.
- Slug
- date_room_temperature_c
- Filter code
- Thermosmart.historyOfTemperatureRisesAboveThreshold.DateRoomTemperatureC
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00