A beginner's guide
Explore Plans
Mobile menu Close menu
ZenseHomeZenseHome

Button pressed

This trigger fires when a button is pressed.

About this trigger

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 trigger fires when a button is pressed.
API endpoint slug
zense_home.inputpress

Trigger fields

Input Dropdown list

Label
Select device
Slug
input
Required
true
Can have default value
false

Input buttons Dropdown list

Label
Select button
Slug
input_buttons
Required
true
Can have default value
true

Ingredients

Created atTime created

Slug
created_at
Filter code
ZenseHome.inputpress.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Input nameName of input

Slug
input_name
Filter code
ZenseHome.inputpress.InputName
Type
String
Example
Lamp

Button nameThe button that was pressed

Slug
button_name
Filter code
ZenseHome.inputpress.ButtonName
Type
String
Example
Knap 1 kort tryk