If Withing's sleep sensor detects you get into bed, then turn off Bedroom Lamp
Connect popular automations
Quickly and easily enable Applets using Withings Sleep and TP-Link Kasa.
Build your own Withings Sleep and TP-Link Kasa automations
Triggers (If this)
-
Export my last sleep data
This trigger fires once your last sleep data is ready for exportation.
-
When I get into bed
This trigger fires every time your Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.
-
When I get out of bed
This trigger fires every time your Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

Export my last sleep data
This trigger fires once your last sleep data is ready for exportation.

When I get into bed
This trigger fires every time your Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

When I get out of bed
This trigger fires every time your Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.
Queries (With)
-
History of my sleep data exports
This query returns a list of instances of when your sleep data was exported.
-
History of when I get out of bed
This query returns a list of when your Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.
-
History of when I get into bed
This query returns a list of when your Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

History of my sleep data exports
This query returns a list of instances of when your sleep data was exported.

History of when I get out of bed
This query returns a list of when your Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

History of when I get into bed
This query returns a list of when your Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.
Actions (Then that)
-
Turn on
This action will turn on a device.
-
Set speed level
This action will set speed level of devices such as fans.
-
Turn off
This action will turn off a selected device.
-
Toggle
This action will toggle a device.
-
Activate scene
This action will activate a selected Scene from your account.
-
Change brightness
This action will change the brightness of a light bulb.
-
Change color
This action will change the color of a light bulb.
-
Change color temperature
This action will change the color temperature of a light bulb.

Turn on
This action will turn on a device.

Set speed level
This action will set speed level of devices such as fans.

Turn off
This action will turn off a selected device.

Toggle
This action will toggle a device.

Activate scene
This action will activate a selected Scene from your account.

Change brightness
This action will change the brightness of a light bulb.

Change color
This action will change the color of a light bulb.

Change color temperature
This action will change the color temperature of a light bulb.
How to connect Withings Sleep and TP-Link Kasa
Find or create an Applet
Start by discovering an automation to connect or customizing your own. It's quick and easy.Connect IFTTT to your accounts
Securely connect your Withings Sleep and TP-Link Kasa accounts.Finalize and customize your Applet
Review your trigger and action settings. Your Applet is ready to go!Upgrade your automations with
-
Connect to more Applets
Connect up to 20 automations with Pro, and unlimited automations with Pro+ -
Add multiple actions with exclusive services
Add real-time data and multiple actions for smarter automations -
Get access to faster speeds
Get faster updates and more actions with higher rate limits and quicker checks
More on Discord and Instagram
About Withings Sleep
Withings Sleep is a sleep sensor that tracks heart rate, sleep cycles and features snoring detection. Improve your sleep environment by using applets to lower the room temperature when you get into bed, turn on the lights when you get out of bed, and more.
Withings Sleep is a sleep sensor that tracks heart rate, sleep cycles and features snoring detection. Improve your sleep environment by using applets to lower the room temperature when you get into bed, turn on the lights when you get out of bed, and more.
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.
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.