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 an INSTEON or Z-Wave device turns on or off.
- API endpoint slug
- mobilinc.history_of_device_ons_or_offs
- Runtime method
- performQuery("mobilinc.history_of_device_ons_or_offs")
Query fields
Status values on off any Dropdown list
- Label
- Trigger when the device changes to?
- Slug
- status_values_on_off_any
- Required
- true
- Can have default value
- false
Device ID Dropdown list
- Label
- Which device should we monitor?
- Slug
- device_id
- Required
- true
- Can have default value
- false
Ingredients
Device IDThe device ID that triggered
- Slug
- device_id
- Filter code
- Mobilinc.historyOfDeviceOnsOrOffs.DeviceId
- Type
- String
- Example
- 20 1B 21 1
NameThe name of the device that triggered
- Slug
- name
- Filter code
- Mobilinc.historyOfDeviceOnsOrOffs.Name
- Type
- String
- Example
- Kitchen Light
StatusThe status of the device
- Slug
- status
- Filter code
- Mobilinc.historyOfDeviceOnsOrOffs.Status
- Type
- String
- Example
- On
Date timeThe date and time the trigger fired.
- Slug
- date_time
- Filter code
- Mobilinc.historyOfDeviceOnsOrOffs.DateTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00