New services
Explore Plans
Mobile menu Close menu
Scout AlarmScout Alarm

History of Alarm triggers

This query returns a list of times when the alarm for a specific mode was triggered.

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 times when the alarm for a specific mode was triggered.
API endpoint slug
scoutalarm.history_of_alarm_triggers
Runtime method
performQuery("scoutalarm.history_of_alarm_triggers")

Query fields

Mode ID Dropdown list

Label
Which mode?
Slug
mode_id
Required
true
Can have default value
false

Ingredients

NameName of mode.

Slug
name
Filter code
Scoutalarm.historyOfAlarmTriggers.Name
Type
String
Example
Away

EventState of Mode.

Slug
event
Filter code
Scoutalarm.historyOfAlarmTriggers.Event
Type
String
Example
Alarmed

Formatted textText shown in activity feed.

Slug
formatted_text
Filter code
Scoutalarm.historyOfAlarmTriggers.FormattedText
Type
String
Example
Active Alarm in Away mode

ByThe name of the person or thing that triggered the alarm.

Slug
by
Filter code
Scoutalarm.historyOfAlarmTriggers.By
Type
String
Example
Dave via IFTTT

AtDate and time alarm was triggered.

Slug
at
Filter code
Scoutalarm.historyOfAlarmTriggers.At
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00