A beginner's guide
Explore Plans
Mobile menu Close menu
Blue by ADTBlue by ADT

History of a thermostat event

This query returns a list of whenever the thermostat settings have changed.

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 whenever the thermostat settings have changed.
API endpoint slug
bluebyadt.history_of_a_thermostat_event
Runtime method
performQuery("bluebyadt.history_of_a_thermostat_event")

Query fields

Device name Dropdown list

Label
Device name?
Slug
device_name
Required
true
Can have default value
false

Event type Dropdown list

Label
Event type?
Slug
event_type
Required
true
Can have default value
false

Ingredients

TimestampDate and time event was created.

Slug
timestamp
Filter code
Bluebyadt.historyOfAThermostatEvent.Timestamp
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Event typeThe EventType describes the type of event that occurred.

Slug
event_type
Filter code
Bluebyadt.historyOfAThermostatEvent.EventType
Type
String
Example
Thermostat Operating Mode

Formatted messageThe FormattedMessage provides a user-friendly description of the event

Slug
formatted_message
Filter code
Bluebyadt.historyOfAThermostatEvent.FormattedMessage
Type
String
Example
Thermostat 'Living Room' Set to Operating Mode 'On'