Back
Flic Flic is clicked. openHAB Send a command.

Control openHAB item when Flic button is pressed

Connect

How this automation works

Trigger openHAB device actions effortlessly by pressing your Flic button. This Applet runs whenever your selected Flic is clicked, double-clicked, or held, sending a command to a chosen openHAB item. Ideal for quick smart home controls, letting you manage lights, doors, or appliances with a single button press in your environment.

If
Flic 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 every time you click the selected Flic.
Longitude Latitude ClickedAt ClickType
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 Flic 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.

10 triggers, queries, and actions

A Flic with a tag is clicked

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.
You can create tags and give them to your Flics, so multiple Flics can be used with a single Recipe.

Flic is clicked

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 every time you click the selected Flic.

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 Flic with a tag is clicked

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 a Flic with a tag is clicked.

History of Flic is clicked

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 you click the selected Flic.

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.

A Flic with a tag is clicked

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.
You can create tags and give them to your Flics, so multiple Flics can be used with a single Recipe.

Flic is clicked

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 every time you click the selected Flic.

History of a Flic with a tag is clicked

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 a Flic with a tag is clicked.

History of Flic is clicked

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 you click the selected Flic.

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 Flic

About openHAB

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

Explore openHAB

More integrations with openHAB

About Flic

Flic is a smart button that acts like a shortcut for your everyday life. You can read more about Flic at Flic.io.

Explore Flic

More integrations with Flic

IFTTT helps all your apps and devices work better together

Get started for free