This query returns a list of when you have pressed the selected button on your Wink Relay.
- API endpoint slug
- relay.history_of_button_presses
- Runtime method
- performQuery("relay.history_of_button_presses")
Query fields
- Label
- Which button?
- Helper text
- Only select a button that has no other function assigned, or that is only assigned to a Wink Shortcut.
- Slug
- button_id
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- occurred_at
- Filter code
- Relay.historyOfButtonPresses.OccurredAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- name
- Filter code
- Relay.historyOfButtonPresses.Name
- Type
- String
- Example
- Relay's Top Button