How this automation works
Automate your bedtime routine by turning off your connected lights and smart devices when you get into bed. This runs whenever your Withings Sleep sensor detects that you’ve entered bed during your chosen time window, automatically powering down selected Hue, Yeelight, Nanoleaf, and other smart devices. Ideal for creating a comfortable sleep environment and saving energy.
Trigger ingredients
Action fields
Action fields
Action fields
Action fields
Action fields
Action fields
Services used in this Applet
You might also like...
-
Add songs from videos you like to a Spotify playlist
186K
-
-
Automatically turn your lights on at sunset
Philips Hue
133K
-
-
Save new Spotify Discover Weekly songs to an archive
Spotify
124K
-
Related services
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.
288 triggers, queries, and actions
1-Channel Plug turned on or off
1-Channel Switch turned on or off
2-Channel Plug turned on or off
2-Channel Switch turned on or off
3-Channel Plug turned on or off
3-Channel Switch turned on or off
4-Channel Plug turned on or off
4-Channel Switch turned on or off
Brightness is above
Brightness is below
Bulb Turns off
Bulb Turns on
Button Pressed
Carbon dioxide changes
CO alarm is detected
Color temperature(CT) of light appearances warm or cool
Contact and Motion Detection
Contact Sensor closes
Contact Sensor opens
Device/Group is turned on or off
Door sensor is open or closed
Doorbell is pressed
Electric current goes above or below
Electric curtain is open or closed
Enabled/disabled Child Lock of Thermostat
Export my last sleep data
FanLight turned on or off
Hub 2's touch buttons pressed
Humidity goes above or below
Leak detected
Light brightness goes above or below
Light turned on or off
Light turns to a specified colour
Lock status changed
Low battery is detected
Low Water Level of Diffuser
Motion detected or no motion detected
Motion is detected
Motion Sensor becomes clear
Motion Sensor detects motion
New episode from a followed show
New episode from search
New followed show
New recently played track
New saved album
New saved episode
New saved track
New show from search
New track added to a playlist
Plug Turns off
Plug Turns on
Power changes
RF Bridge Alarm activated
Robot status changed
Scene Controller pressed
Smart Dimmer turned on or off
Smoke alarm is detected
Sound is detected
Switch is double pressed
Switch is hold pressed
Switch is triple pressed
Switch turns off
Switch turns on
Temperature goes above or below
Temperature or humidity changes
Thermostat Mode changes
Thermostat turned on or off
Various AQIs goes above or below
Voltage goes above or below
Water Detector State
When Camera detects a motion event
When I get into bed
When I get out of bed
Wyze Lock locked
Wyze Lock unlocked
Zigbee door sensor is open or closed
Zigbee Motion Sensor
Zigbee Wireless Switch Pressed
ハブ2のタッチボタンを押す
ロック状態変更
ロボット状態変更
動体が検出された、または検出されない
水漏れセンサーの状態
温度・湿度の変化
開閉と動体を検知する
電源の変化
Activate a scene
Add track to a playlist
Add track to a playlist by TrackID
Add track to playback queue
Back to base station
Blink lights
Bot press
Bot turn off
Bot turn on
Brighten Nanoleaf smart light
Bulb Brightness
Bulb Color
Bulb Color Temperature
Bulb Presets
Camera Action
Camera makes alarm
Ceiling Light Brightness
Ceiling Light Color Temperature
Change brightness
Change color
Change color
Change color
Change color from image
Change color temperature
Change Nanoleaf Light Panels or Canvas color
Change Thermostat Mode
Change to random color
Change water output for mopping
Control Air Purifier
Control Curtain
Control Evaporative Humidifier
Control Fan
Control FanLight
Control home appliances
Control Humidifier
Control RollerShade
Control TV
Delay On/Off
Dim lights
Dim Nanoleaf smart light
Disable motion detection
Enable motion detection
Enable/disable the Child Lock of Thermostat
Fan 2 Blowing Mode
Fan 2 Nightlight
Fan 2 常夜灯設定
Fan 2 送風モード
fan 2 Fan Speed
Fan 2 Horizontal Oscillation
Fan 2 Vertical Oscillation
Fan 2 上下の首振り
Fan 2 左右の首振り
fan 2 風量
Fanlight on-off and speed setting
Follow a playlist
LED Strip Light Color
LED Strip Light On/Off
Lock Wyze Lock
Make device sound an alarm or beep
Notify you using your Nanoleaf Light Panels or Canvas
Open or close electric curtain
Open/close Blind Tilt
Pause playback
Pause vacuuming (Pause recharging)
Power On/Off
Press Remote Button on RF Bridge
Record a short video clip
Restart device
Save a track
Scene
Set a scene in a room
Set brightness
Set brightness for light
Set brightness for Smart Dimmer
Set brightness of Nanoleaf smart light
Set bulb brightness
Set bulb color temperature
Set color for light
Set color temperature for light
Set percentage of electric curtain
Set scene
Set temperature
Set the security mode
Skip track
Start cruise whole house
Start playback
Start purity in situ
Start purity whole house
Start recharging
Start vacuuming
Switch Mode
Toggle Ceiling Light On/Off
Toggle lights on/off
Toggle lights on/off
Toggle On/Off
Turn 1-Channel Plug on or off
Turn 1-Channel Switch on or off
Turn 2-Channel Plug on or off
Turn 2-Channel Switch on or off
Turn 3-Channel Plug on or off
Turn 3-Channel Switch on or off
Turn 4-Channel Plug on or off
Turn 4-Channel Switch on or off
Turn A/C off
Turn A/C on
Turn bulb off
Turn bulb on
Turn Bulb On/Off
Turn Ceiling Light On/Off
Turn off appliance with Hub Plus IR remote
Turn off device
Turn off lights
Turn off Nanoleaf smart light
Turn off notifications
Turn on appliance with Hub Plus IR remote
Turn on color loop
Turn on device
Turn on lights
Turn on Nanoleaf smart light
Turn on notifications
Turn on or off device/group
Turn on or off light
Turn on or off Thermostat
Turn on or turn off diffuser
Turn plug off
Turn Plug off
Turn plug on
Turn Plug on
Turn Smart Dimmer on or off
Turn switch off
Turn switch on
Unlock Wyze Lock
カーテンをコントロール
シーリングライトの明るさ
シーリングライトの色温度
シーリングライトをオン/オフ
シーン
テープライトのカラー
テープライトをオン/オフにする
トグルシーリングライト(オン/オフ)
トグル(オン/オフ)
ハウスツアーを開始する
ブラインドポールの開閉を設定
モード切替
再充電する
加湿器をコントロール
原位置除染を開始する
基地局への復帰を開始する
家全体の浄化を始める
扇風機をコントロール
気化式加湿器をコントロール
水拭きの水量を変更
清掃/再充電を一時停止
清掃する
遅延実行(オン/オフ)
電源オン/オフ
電球のカラー
電球のプリセット
電球の明るさ
電球の色温度
電球をオン/オフにする
1-Channel Plug turned on or off
1-Channel Switch turned on or off
2-Channel Plug turned on or off
2-Channel Switch turned on or off
3-Channel Plug turned on or off
3-Channel Switch turned on or off
4-Channel Plug turned on or off
4-Channel Switch turned on or off
Activate a scene
Add track to a playlist
Add track to a playlist by TrackID
Add track to playback queue
Back to base station
Blink lights
Bot press
Bot turn off
Bot turn on
Brighten Nanoleaf smart light
Brightness is above
Brightness is below
Bulb Brightness
Bulb Color
Bulb Color Temperature
Bulb Presets
Bulb Turns off
Bulb Turns on
Button Pressed
Camera Action
Camera makes alarm
Carbon dioxide changes
Ceiling Light Brightness
Ceiling Light Color Temperature
Change brightness
Change color
Change color
Change color
Change color from image
Change color temperature
Change Nanoleaf Light Panels or Canvas color
Change Thermostat Mode
Change to random color
Change water output for mopping
CO alarm is detected
Color temperature(CT) of light appearances warm or cool
Contact and Motion Detection
Contact Sensor closes
Contact Sensor opens
Control Air Purifier
Control Curtain
Control Evaporative Humidifier
Control Fan
Control FanLight
Control home appliances
Control Humidifier
Control RollerShade
Control TV
Delay On/Off
Device/Group is turned on or off
Dim lights
Dim Nanoleaf smart light
Disable motion detection
Door sensor is open or closed
Doorbell is pressed
Electric current goes above or below
Electric curtain is open or closed
Enable motion detection
Enable/disable the Child Lock of Thermostat
Enabled/disabled Child Lock of Thermostat
Export my last sleep data
Fan 2 Blowing Mode
Fan 2 Nightlight
Fan 2 常夜灯設定
Fan 2 送風モード
fan 2 Fan Speed
Fan 2 Horizontal Oscillation
Fan 2 Vertical Oscillation
Fan 2 上下の首振り
Fan 2 左右の首振り
fan 2 風量
Fanlight on-off and speed setting
FanLight turned on or off
Follow a playlist
Hub 2's touch buttons pressed
Humidity goes above or below
Leak detected
LED Strip Light Color
LED Strip Light On/Off
Light brightness goes above or below
Light turned on or off
Light turns to a specified colour
Lock status changed
Lock Wyze Lock
Low battery is detected
Low Water Level of Diffuser
Make device sound an alarm or beep
Motion detected or no motion detected
Motion is detected
Motion Sensor becomes clear
Motion Sensor detects motion
New episode from a followed show
New episode from search
New followed show
New recently played track
New saved album
New saved episode
New saved track
New show from search
New track added to a playlist
Notify you using your Nanoleaf Light Panels or Canvas
Open or close electric curtain
Open/close Blind Tilt
Pause playback
Pause vacuuming (Pause recharging)
Plug Turns off
Plug Turns on
Power changes
Power On/Off
Press Remote Button on RF Bridge
Record a short video clip
Restart device
RF Bridge Alarm activated
Robot status changed
Save a track
Scene
Scene Controller pressed
Set a scene in a room
Set brightness
Set brightness for light
Set brightness for Smart Dimmer
Set brightness of Nanoleaf smart light
Set bulb brightness
Set bulb color temperature
Set color for light
Set color temperature for light
Set percentage of electric curtain
Set scene
Set temperature
Set the security mode
Skip track
Smart Dimmer turned on or off
Smoke alarm is detected
Sound is detected
Start cruise whole house
Start playback
Start purity in situ
Start purity whole house
Start recharging
Start vacuuming
Switch is double pressed
Switch is hold pressed
Switch is triple pressed
Switch Mode
Switch turns off
Switch turns on
Temperature goes above or below
Temperature or humidity changes
Thermostat Mode changes
Thermostat turned on or off
Toggle Ceiling Light On/Off
Toggle lights on/off
Toggle lights on/off
Toggle On/Off
Turn 1-Channel Plug on or off
Turn 1-Channel Switch on or off
Turn 2-Channel Plug on or off
Turn 2-Channel Switch on or off
Turn 3-Channel Plug on or off
Turn 3-Channel Switch on or off
Turn 4-Channel Plug on or off
Turn 4-Channel Switch on or off
Turn A/C off
Turn A/C on
Turn bulb off
Turn bulb on
Turn Bulb On/Off
Turn Ceiling Light On/Off
Turn off appliance with Hub Plus IR remote
Turn off device
Turn off lights
Turn off Nanoleaf smart light
Turn off notifications
Turn on appliance with Hub Plus IR remote
Turn on color loop
Turn on device
Turn on lights
Turn on Nanoleaf smart light
Turn on notifications
Turn on or off device/group
Turn on or off light
Turn on or off Thermostat
Turn on or turn off diffuser
Turn plug off
Turn Plug off
Turn plug on
Turn Plug on
Turn Smart Dimmer on or off
Turn switch off
Turn switch on
Unlock Wyze Lock
Various AQIs goes above or below
Voltage goes above or below
Water Detector State
When Camera detects a motion event
When I get into bed
When I get out of bed
Wyze Lock locked
Wyze Lock unlocked
Zigbee door sensor is open or closed
Zigbee Motion Sensor
Zigbee Wireless Switch Pressed
カーテンをコントロール
シーリングライトの明るさ
シーリングライトの色温度
シーリングライトをオン/オフ
シーン
テープライトのカラー
テープライトをオン/オフにする
トグルシーリングライト(オン/オフ)
トグル(オン/オフ)
ハウスツアーを開始する
ハブ2のタッチボタンを押す
ブラインドポールの開閉を設定
モード切替
ロック状態変更
ロボット状態変更
再充電する
加湿器をコントロール
動体が検出された、または検出されない
原位置除染を開始する
基地局への復帰を開始する
家全体の浄化を始める
扇風機をコントロール
気化式加湿器をコントロール
水拭きの水量を変更
水漏れセンサーの状態
清掃/再充電を一時停止
清掃する
温度・湿度の変化
遅延実行(オン/オフ)
開閉と動体を検知する
電源の変化
電源オン/オフ
電球のカラー
電球のプリセット
電球の明るさ
電球の色温度
電球をオン/オフにする
Build an automation in seconds!
You can add delays, queries, and more actions in the next step!
More on these services
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 Spotify
Spotify is a digital music service that gives you access to millions of songs. Applets can help you save your Discover Weekly and Release Radar playlists, share your favorite tunes, and much more.
Spotify is a digital music service that gives you access to millions of songs. Applets can help you save your Discover Weekly and Release Radar playlists, share your favorite tunes, and much more.
About Wyze
Wyze is making the smart home accessible to everyone with high-quality products that have the features customers care about at a fraction of the price. Connect all your Wyze devices directly in the Wyze app or to the rest of your smart home with IFTTT.
Wyze is making the smart home accessible to everyone with high-quality products that have the features customers care about at a fraction of the price. Connect all your Wyze devices directly in the Wyze app or to the rest of your smart home with IFTTT.
About Nanoleaf Smarter Series
Bring a splash of light and color to your favorite Applets! With this service, you can control your Nanoleaf Smart Lights via IFTTT.
Bring a splash of light and color to your favorite Applets! With this service, you can control your Nanoleaf Smart Lights via IFTTT.
About Yeelight
Yeelight service will let you connect and automate your bulbs and lamps. Just enjoy the fun of lights.
Yeelight service will let you connect and automate your bulbs and lamps. Just enjoy the fun of lights.
About SwitchBot
SwitchBot is your simple switch to a smart home. Thousands of IFTTT users are enjoying our button presser that mechanically turns any rocker switch and button on and off. Now we have Hub, Thermometer and Hygrometer, Smart Fan and more. Learn more by pressing the Buy link above.
SwitchBot is your simple switch to a smart home. Thousands of IFTTT users are enjoying our button presser that mechanically turns any rocker switch and button on and off. Now we have Hub, Thermometer and Hygrometer, Smart Fan and more. Learn more by pressing the Buy link above.
About Philips Hue
Philips Hue connected bulbs and bridge let you to take full control of your lighting. Whatever you want to do with your lighting, Hue can.
Philips Hue connected bulbs and bridge let you to take full control of your lighting. Whatever you want to do with your lighting, Hue can.
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.
eWeLink is a smart home center that lets you control and manage your favorite smart devices from different brands in a single app.