Back
iSpy Agent Alert. eWeLink Smart Home Turn 2-Channel Plug on or off.

Turn on eWeLink plug when iSpy Agent detects motion

Connect

How this automation works

Activate your eWeLink Smart Home devices when motion is detected by iSpy Agent. This Applet runs when your selected iSpy Agent camera raises an alert and then turns on a specific channel of your eWeLink plug or switch. Perfect for triggering lights or other smart devices for security and convenience at home or the office.

If
iSpy Agent 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 when an alert is raised by the selected device.
CreatedAt Device
Then
eWeLink Smart Home 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 eWeLink 2-Channel Plug on or off.
plugs2_query plugs2_outlet_query onoff_act_query
And
eWeLink Smart Home 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 eWeLink 4-Channel Switch on or off.
switches4_query switches4_outlet_query onoff_act_query

Services used in this Applet

Create your own iSpy Agent and eWeLink Smart Home 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.

83 triggers, queries, and actions

1-Channel Plug turned 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 your eWeLink Support 1-Channel Plug is turned on or off.

1-Channel Switch turned 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 your eWeLink Support 1-Channel Switch is turned on or off.

2-Channel Plug turned on or off

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 when your eWeLink 2-Channel Plug is turned on or off.

2-Channel Switch turned 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 your eWeLink Support 2-Channel Switch is turned on or off.

3-Channel Plug turned on or off

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 when your eWeLink Support 3-Channel Plug is turned on or off.

3-Channel Switch turned on or off

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 when your eWeLink 3-Channel Switch is turned on or off.

4-Channel Plug turned 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 your eWeLink Support 4-Channel Plug is turned on or off.

4-Channel Switch turned on or off

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 when your eWeLink Support 4-Channel Switch is turned on or off.

Alert

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 when an alert is raised by the selected device.

Brightness is 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 when the brightness of selected dimmer is above threshold.

Brightness is 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 when the brightness of selected dimmer is below threshold.

Button Pressed

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 your eWeLink Button is pressed.

Current power state

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 the on/off state of the device you choose.

History of Alerts

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 alert was raised by the selected device.

History of sound detections

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 sound was detected on the selected microphone

Alert

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.
Trigger an alert on the selected device.

Arm a device

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.
Arm the selected device (switch alerts on).

Arm server

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 arm the master alerts switch on Agent DVR.

Camera Action

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 cause the camera to perform the action you selected.

Camera makes alarm

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 makes the camera sound an alarm.

Change Thermostat 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 change the thermostat mode (Manual/Program).

Control FanLight

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 or turn off the fan or the light of your fanlight.

Disable a device

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 disable the selected device.

Disable detection

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 disable motion detection on cameras or sound detection on microphones.

Disarm a device

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.
Disarm the selected device (switch alerts off).

Disarm server

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 disarm the master alerts on Agent DVR.

Enable a device

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 enable (switch on) the selected device.

1-Channel Plug turned 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 your eWeLink Support 1-Channel Plug is turned on or off.

1-Channel Switch turned 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 your eWeLink Support 1-Channel Switch is turned on or off.

2-Channel Plug turned on or off

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 when your eWeLink 2-Channel Plug is turned on or off.

2-Channel Switch turned 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 your eWeLink Support 2-Channel Switch is turned on or off.

3-Channel Plug turned on or off

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 when your eWeLink Support 3-Channel Plug is turned on or off.

3-Channel Switch turned on or off

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 when your eWeLink 3-Channel Switch is turned on or off.

4-Channel Plug turned 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 your eWeLink Support 4-Channel Plug is turned on or off.

4-Channel Switch turned on or off

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 when your eWeLink Support 4-Channel Switch is turned on or off.

Alert

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 when an alert is raised by the selected device.

Alert

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.
Trigger an alert on the selected device.

Arm a device

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.
Arm the selected device (switch alerts on).

Arm server

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 arm the master alerts switch on Agent DVR.

Build an automation in seconds!

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

More on iSpy Agent and eWeLink Smart Home

About iSpy Agent

iSpy Agent Applets enable you to connect your cameras and microphones to the internet of things. Using iSpy Agent you can trigger events when motion or sound is detected and view live from anywhere on desktop and mobile devices. iSpy Agent works on Windows PCs and supports an enormous range of devices.

Explore iSpy Agent

More integrations with iSpy Agent

About eWeLink Smart Home

eWeLink is a smart home center that lets you control and manage your favorite smart devices from different brands in a single app.

Explore eWeLink Smart Home

More integrations with eWeLink Smart Home

IFTTT helps all your apps and devices work better together

Get started for free