Back
YoLink Flex Fob. MagicLight WiFi Turn lights off.

Turn off MagicLight lights when YoLink Flex Fob button is long-pressed

Connect

How this automation works

Control your MagicLight lights effortlessly with your YoLink Flex Fob. This Applet runs when a specific button on your YoLink Flex Fob is long-pressed, turning off your connected MagicLight lights automatically. Ideal for quick lighting control in smart home setups where convenience matters.

If
YoLink icon
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.
Fire this trigger by YoLink Flex Fob
CreatedAt
Then
MagicLight WiFi 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 your lights off.
which_lights

Services used in this Applet

Create your own YoLink and MagicLight WiFi 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.

29 triggers, queries, and actions

Temperature & Humidity 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 temperature or humidity value is in the alert range

Doorsensor Event

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 door sensor state change

Flex Fob

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.
Fire this trigger by YoLink Flex Fob

Leak 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 your leak sensor detected water.

Leak Sensor (Special Event Types)

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 Leak Sensor detects an event you specify.

Lock Event

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 your YoLink Lock's state changed

Motion sensor event

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 motion sensor state changed

Motion sensor event(Specific Event Types)

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 motion sensor state changed

Smoke & CO Alarm

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 CO or Smoke is detected

History of door sensor events

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 the door sensor state changed.

History of lock events

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 your YoLink Lock's state changed

History of motion sensor event

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 motion sensor state changed

Blink lights

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 lights quickly blink the color of your choice.

Change 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 action will change your light's brightness to the specified level.

Change color

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 change your lights to a specified color.

Control IR Remote

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.
Control your YoLink IR Remote

Control your thermostat

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.
Control your thermostat

Delay your sprinkler

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.
Set delay for your sprinkler

Enable / Disable YoLink Notification

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.
Enable / Disable YoLink Device's notification

Execute YoLink Scene

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.
Execute your scene that defined in YoLink APP

Open/Close valve controller

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.
Open or close your valve with YoLink Valve Controller

Start / Stop alarm for siren

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.
Start / Stop alarm for siren

Switch to dynamic mode for your Lights

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 change your lights to the requested dynamic mode such as light flashing, jumping, gradual change and strobe.

Toggle lights on/off

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 your lights off if they are on, and turn them on if they are off.

Temperature & Humidity 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 temperature or humidity value is in the alert range

Blink lights

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 lights quickly blink the color of your choice.

Change 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 action will change your light's brightness to the specified level.

Change color

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 change your lights to a specified color.

Control IR Remote

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.
Control your YoLink IR Remote

Control your thermostat

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.
Control your thermostat

Delay your sprinkler

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.
Set delay for your sprinkler

Doorsensor Event

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 door sensor state change

Enable / Disable YoLink Notification

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.
Enable / Disable YoLink Device's notification

Execute YoLink Scene

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.
Execute your scene that defined in YoLink APP

Flex Fob

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.
Fire this trigger by YoLink Flex Fob

History of door sensor events

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 the door sensor state changed.

Build an automation in seconds!

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

More on YoLink and MagicLight WiFi

About YoLink

Connection with YoLink Devices. YoLink Devices designed to be easy to set up and easy to use, and part of a growing ecosystem of smart home and automation products, with features like reliable, industry-leading long-range communication, and extended battery life. YoLink is the smart choice.

Explore YoLink

More integrations with YoLink

About MagicLight WiFi

MagicLight WiFi service lets you connect and automate your bulbs and lamps. Just enjoy the fun of lights.

Explore MagicLight WiFi

More integrations with MagicLight WiFi

IFTTT helps all your apps and devices work better together

Get started for free