Back
Knocki Gesture with task matching ID occurs. openHAB Send a command.

Control openHAB device when Knocki gesture is detected

Connect

How this automation works

Trigger your smart home devices instantly with a simple Knocki gesture. This Applet runs when a specific gesture from your Knocki device is recognized and sends a command to the selected openHAB item. Great for convenient, hands-free control of your lights, switches, or other connected home automation setups.

If
Knocki icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires if you tap a gesture with a custom IFTTT task matching the ID of this trigger.
CreatedAt Device Gesture Pattern
Then
openHAB icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will send a command to one of your openHAB items.
item command

Services used in this Applet

Create your own openHAB and Knocki workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

8 triggers, queries, and actions

Gesture with task matching ID occurs

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires if you tap a gesture with a custom IFTTT task matching the ID of this trigger.

Item state changes

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time an item changes its state to a value you specify.

Item state drops below

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time an item's state drops below a value you specify and works with any number item.

Item state raises above

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time an item's state raises above a value you specify and works with any number item.

History of a specific IFTTT task triggered by tap gestures

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of times a specific IFTTT task was triggered by tap gestures.

History of item state changes

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when an item changes its state to a value you specify.

History of item state drops below

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when an item's state drops below a value you specify. Note: this query will only return future events after this Applet is created.

Send a command

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will send a command to one of your openHAB items.

Gesture with task matching ID occurs

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires if you tap a gesture with a custom IFTTT task matching the ID of this trigger.

History of a specific IFTTT task triggered by tap gestures

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of times a specific IFTTT task was triggered by tap gestures.

History of item state changes

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when an item changes its state to a value you specify.

History of item state drops below

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when an item's state drops below a value you specify. Note: this query will only return future events after this Applet is created.

Item state changes

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time an item changes its state to a value you specify.

Item state drops below

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time an item's state drops below a value you specify and works with any number item.

Item state raises above

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time an item's state raises above a value you specify and works with any number item.

Send a command

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will send a command to one of your openHAB items.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on openHAB and Knocki

About openHAB

openHAB - a vendor and technology agnostic open source automation software for your home.

Explore openHAB

More integrations with openHAB

About Knocki

Turn any surface into a remote control.

Explore Knocki

More integrations with Knocki

IFTTT helps all your apps and devices work better together

Get started for free