Explore Plans
Mobile menu Close menu
Wink RelayWink Relay

History of button presses

This query returns a list of when you have pressed the selected button on your Wink Relay.

Developer info

API endpoint slug
relay.history_of_button_presses
Runtime method
performQuery("relay.history_of_button_presses")

Query fields

Button ID Dropdown list

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

Occurred atWhen the button is pressed.

Slug
occurred_at
Filter code
Relay.historyOfButtonPresses.OccurredAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

NameWhich button is pressed.

Slug
name
Filter code
Relay.historyOfButtonPresses.Name
Type
String
Example
Relay's Top Button