Back
Flic A Flic with a tag is clicked. TRIGGERcmd Trigger Command. BroadLink Turn device on or off.

Trigger TRIGGERcmd command and toggle BroadLink device when Flic button with tag is clicked

Connect

How this automation works

Control your computer and smart home devices with a single button press. This Applet runs when a Flic button assigned to a specific tag is clicked, double-clicked, or held—executing a TRIGGERcmd command and changing the power state of a BroadLink device accordingly. Ideal for automating lights, computers, or other devices with a physical smart button for convenience and quick control.

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.
You can create tags and give them to your Flics, so multiple Flics can be used with a single Recipe.
Longitude ClickedAt Latitude ClickType FlicName Tag
Then
TRIGGERcmd 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 run a command on your computer.
command params
And
BroadLink 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 turn a device on or off
deviceinfo PowerControl_ChangePowerState_string

Services used in this Applet

Create your own 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.

36 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.

Any command

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 when any command runs

Body induction

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 when the status of the body induction change

Button trigger

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.
Make buttons and control other services with a single tap.

Device turns on or off

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 when a device turns on or off

Door sensor

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 when the status of the door sensor changed

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.

Light sensor

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 when the light intensity is within a certain range

Specific command

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 files when a command you choose is triggered.

Tamper proof

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 when the status of the tamper proof changed

The current humidity is?

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 when the current humidity is within a certain range

The current temperature is?

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 when the current temperature is within a certain range

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 when the device turns on or off

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 device turns on or off

Adjust brightness

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 will adjust the brightness of the plug

Adjust channel

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 can adjust your TV/STB to the previous or next

Adjust volume

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 adjust the volume of your device

Button control

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 make your button be pressed

Change mode

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 control the mode of your device

FastForward

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 can control your TV/STB to fast forward

Mute adjustment

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 adjust your device to mute or unmute

Next

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 can control your TV/STB to next

Pause

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 can control your TV/STB to pause

Play

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 can control your TV/STB to play

Previous

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 can control your TV/STB to previous

Resume

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 can control your TV/STB to resume

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.

Adjust brightness

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 will adjust the brightness of the plug

Adjust channel

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 can adjust your TV/STB to the previous or next

Adjust volume

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 adjust the volume of your device

Any command

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 when any command runs

Body induction

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 when the status of the body induction change

Button control

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 make your button be pressed

Button trigger

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.
Make buttons and control other services with a single tap.

Change mode

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 control the mode of your device

Device turns on or off

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 when a device turns on or off

Door sensor

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 when the status of the door sensor changed

FastForward

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 can control your TV/STB to fast forward

Build an automation in seconds!

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

More on these services

About TRIGGERcmd

Run commands on your computers remotely

  • Go to triggercmd.com and create an account
  • Install an agent on your Windows, Mac, Linux, or Raspberry Pi computer
  • Setup commands you want to run on the computer

Trigger your commands via IFTTT

Explore TRIGGERcmd

More integrations with TRIGGERcmd

About BroadLink

Convert your home into a smart living space with BroadLink. Our Wi-Fi smart plug enables you to set timers and turn your home appliances on/off anytime from anywhere. Get things done faster, hands-free and enjoy clever controlling.

Explore BroadLink

More integrations with BroadLink

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