Back
Webhooks Receive a web request with a JSON payload. Lutron Caséta and RA2 Select Set light level. eWeLink Smart Home Turn 1-Channel Switch on or off. TP-Link Kasa Turn off.

Turn off lights when a Webhook event is received

Connect

How this automation works

Control multiple smart lights from one Webhook trigger. This Applet runs when your Webhooks event fires and turns off connected lights or sets their brightness using TP-Link Kasa, Lutron Caséta, or eWeLink devices. Perfect for automating home lighting scenes or turning everything off remotely. Note: This requires a reachable webhook endpoint (URL).

If
Webhooks 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 the Maker service receives a web request to notify it of an event. For information on triggering events, go to your Maker service settings and then the listed URL (web) or tap your username (mobile)
EventName JsonPayload OccurredAt
Then
TP-Link Kasa 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 a selected device.
device
And
TP-Link Kasa 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 a selected device.
device
And
Lutron Caséta and RA2 Select 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 set a Lutron dimmer or switch to the level you specify.
zone level
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 Support 1-Channel Switch on or off.
switch_query onoff_act_query

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.

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

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.

Color temperature(CT) of light appearances warm or cool

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 light’s color temperature of light apperances warm or cool white.

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 web requests received

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 the Maker service received a web request to notify it of an event. For information on querying events, go to your Maker service settings and then the listed URL (web) or tap your username (mobile)

Make a web request

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 status code from a request made to the provided URL. If the response body is in the correct format it will also return the body’s extracted values. Please see the documentation link on the Webhooks service page.

Make a web request with JSON response

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 JSON response body. You can use filter code to parse it. Please see the documentation link on the Webhooks service page.

Activate 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 adjust multiple lights and shades together by activating a scene created in the Lutron app.

Activate 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 activate a selected Scene from your account.

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 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 the brightness of a light bulb.

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 the color of a light bulb.

Change color temperature

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 color temperature of a light bulb.

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.

Enable/disable the Child Lock of 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.
This action will enable or disable the child lock.

Fanlight on-off and speed setting

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 set the light on/off or the fan speed of fanlight.

Make a web request

Pro 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 make a web request to a publicly accessible URL. NOTE: Requests may be rate limited.

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.

Activate 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 adjust multiple lights and shades together by activating a scene created in the Lutron app.

Activate 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 activate a selected Scene from your account.

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.

Build an automation in seconds!

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

More on these services

About Webhooks

Learn to use webhooks and integrate other services on IFTTT with your DIY projects. You can create Applets that work with any device or app that can make or receive a web request. If you'd like to build your own service and Applets, check out the IFTTT Developer Dashboard. Connect a webhook to any of the 750+ apps and services on IFTTT.

Explore Webhooks

More integrations with Webhooks

About Lutron Caséta and RA2 Select

Lutron Caséta Wireless and RA2 Select allow you to control lights and shades from anywhere.

Explore Lutron Caséta and RA2 Select

More integrations with Lutron Caséta and RA2 Select

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

About TP-Link Kasa

Kasa by TP-Link is a leading smart home system that includes Kasa Smart Plugs, Smart Bulbs, Smart Switches and more. It works with other leading smart home products such as Amazon Echo, Google Home, and more. Now with IFTTT, you can also create personalized Applets that trigger automatic actions on your Kasa devices.

Explore TP-Link Kasa

More integrations with TP-Link Kasa

IFTTT helps all your apps and devices work better together

Get started for free