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 any or a specific access sensor was opened.
- API endpoint slug
- scoutalarm.history_of_times_access_sensor_opened
- Runtime method
- performQuery("scoutalarm.history_of_times_access_sensor_opened")
Query fields
Device ID Dropdown list
- Label
- Which access sensor?
- Slug
- device_id
- Required
- true
- Can have default value
- false
Ingredients
AtDate and time access sensor opened
- Slug
- at
- Filter code
- Scoutalarm.historyOfTimesAccessSensorOpened.At
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
NameName of device
- Slug
- name
- Filter code
- Scoutalarm.historyOfTimesAccessSensorOpened.Name
- Type
- String
- Example
- Liquor Cabinet
Formatted textText shown in activity feed.
- Slug
- formatted_text
- Filter code
- Scoutalarm.historyOfTimesAccessSensorOpened.FormattedText
- Type
- String
- Example
- Liquor Cabinet opened
ActionSensor trigger
- Slug
- action
- Filter code
- Scoutalarm.historyOfTimesAccessSensorOpened.Action
- Type
- String
- Example
- open