New services
Explore Plans
Mobile menu Close menu
Scout AlarmScout Alarm

History of Motion detected

This query returns a list of when any or a specific motion sensor detected motion while your Scout system was in an Armed state.

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 any or a specific motion sensor detected motion while your Scout system was in an Armed state.
API endpoint slug
scoutalarm.history_of_motion_detected
Runtime method
performQuery("scoutalarm.history_of_motion_detected")

Query fields

Device ID Dropdown list

Label
Which motion sensor?
Slug
device_id
Required
true
Can have default value
false

Ingredients

AtDate and time motion was detected

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

NameName of device.

Slug
name
Filter code
Scoutalarm.historyOfMotionDetected.Name
Type
String
Example
Hallway Motion

Formatted textText shown in activity feed.

Slug
formatted_text
Filter code
Scoutalarm.historyOfMotionDetected.FormattedText
Type
String
Example
Hallway Motion detected motion

ActionSensor trigger.

Slug
action
Filter code
Scoutalarm.historyOfMotionDetected.Action
Type
String
Example
motion_start