Back
YoLink Motion sensor event(Specific Event Types). mydlink Turn off plug.

Turn off mydlink plug when YoLink motion sensor detects no motion

Connect

How this automation works

Automate your smart home by controlling your mydlink plug based on YoLink motion activity. This Applet runs when your selected YoLink motion sensor reports a specific state change, like detecting or stopping motion, and turns off the chosen mydlink plug. Ideal for saving energy and ensuring lights or appliances power down automatically when no motion is detected.

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.
This trigger fires when motion sensor state changed
CreatedAt
Then
mydlink 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 off your D-Link smart plug.
mydlink_no

Services used in this Applet

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

43 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

Camera is turned 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 tigger fires every time your D-Link camera is turned off.

Camera is turned on

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 tigger fires every time your D-Link camera is turned on.

Contact close is detected

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 your D-Link device detects a contact close event.

Contact open is detected

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 your D-Link device detects a contact open event.

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 is detected

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 your D-Link device detects a motion event.

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

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 is detected

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 when your D-Link device detected a motion event.

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

History of sound is detected

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 D-Link camera detects a sound event.

History of when Water was no longer detected

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 D-Link water sensor no longer detected water.

Change 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.
This action will change your scene.

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

Turn off camera

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 off your D-Link camera.

Turn off plug

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 off your D-Link smart plug.

Turn on camera

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 on your D-Link camera.

Turn on plug

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 on your D-Link smart plug.

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

Camera is turned 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 tigger fires every time your D-Link camera is turned off.

Camera is turned on

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 tigger fires every time your D-Link camera is turned on.

Change 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.
This action will change your scene.

Contact close is detected

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 your D-Link device detects a contact close event.

Contact open is detected

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 your D-Link device detects a contact open event.

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

Build an automation in seconds!

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

More on YoLink and mydlink

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 mydlink

mydlink lets you control all your smart home devices and interactions in one place. From turning your appliances on and off remotely, to keeping an eye on your home, you can use Applets to create even more amazing device interactions for supported D-Link Wi-Fi Cameras, Wi-Fi Smart Plugs, and more. mydlink is Your Home, Only Smarter.

**Please note, this service will be discontinued on November 1st, 2026.

Explore mydlink

More integrations with mydlink

IFTTT helps all your apps and devices work better together

Get started for free