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
- Label
- Trigger when the device changes to?
- Slug
- status_values_on_off_any
- Required
- true
- Can have default value
- false
- Label
- Which device should we monitor?
- Slug
- device_id
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- device_id
- Filter code
- Mobilinc.historyOfDeviceOnsOrOffs.DeviceId
- Type
- String
- Example
- 20 1B 21 1
- Slug
- name
- Filter code
- Mobilinc.historyOfDeviceOnsOrOffs.Name
- Type
- String
- Example
- Kitchen Light
- Slug
- status
- Filter code
- Mobilinc.historyOfDeviceOnsOrOffs.Status
- Type
- String
- Example
- On
- Slug
- date_time
- Filter code
- Mobilinc.historyOfDeviceOnsOrOffs.DateTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00