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 your Myfox security system receives an alarm (detection, intrusion, silent alert, ...).
- API endpoint slug
- somfy_protect.history_of_alarm_initiated
- Runtime method
- performQuery("somfy_protect.history_of_alarm_initiated")
Query fields
Site ID Dropdown list
- Label
- Which system?
- Helper text
- Select the system from which the Trigger will fire.
- Slug
- site_id
- Required
- true
- Can have default value
- false
Ingredients
Event timeDate and time the event occurred.
- Slug
- event_time
- Filter code
- SomfyProtect.historyOfAlarmInitiated.EventTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Site labelThe name of the Myfox site.
- Slug
- site_label
- Filter code
- SomfyProtect.historyOfAlarmInitiated.SiteLabel
- Type
- String
- Example
- My house
Alarm typeThe type of the triggered alarm.
- Slug
- alarm_type
- Filter code
- SomfyProtect.historyOfAlarmInitiated.AlarmType
- Type
- String
- Example
- trespass
Security levelThe currently active security level.
- Slug
- security_level
- Filter code
- SomfyProtect.historyOfAlarmInitiated.SecurityLevel
- Type
- String
- Example
- armed
Triggered byThe name of the user, the device or the service which triggered the security level change.
- Slug
- triggered_by
- Filter code
- SomfyProtect.historyOfAlarmInitiated.TriggeredBy
- Type
- String
- Example
- My remote