Back
Withings Sleep When I get out of bed. Switchur App Update a Switchboard Switch.

Turn off a Switchur Switch when you get out of bed

Connect

How this automation works

Automate your morning by turning off a Switchur Switch when you get out of bed. This Applet runs when your Withings Sleep sensor detects that you’ve left the bed during the set time window. It’s perfect for streamlining your smart home routine and saving energy by automatically turning off lights or devices when you start your day.

If
Withings Sleep 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 your Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.
DeviceUser DateandTime
Then
Switchur App 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.
Use this action to turn on, turn off, or toggle a Switchboard Switch.
switchboard_switch_item set_value

Services used in this Applet

Create your own Withings Sleep and Switchur App 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.

10 triggers, queries, and actions

An automation is checked

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 an automation is evaluated.

Export my last sleep data

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 once your last sleep data is ready for exportation.

When I get into bed

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 Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

When I get out of bed

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 Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

History of my sleep data exports

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 instances of when your sleep data was exported.

History of when I get into bed

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 Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

History of when I get out of bed

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 Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

Update a Switchboard Counter

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.
Use this action to set, increment, or decrement a Switchboard Counter.

Update a Switchboard Keyword

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.
Use this action to assign a word or short sentence to a Switchboard Keyword.

Update a Switchboard Switch

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.
Use this action to turn on, turn off, or toggle a Switchboard Switch.

An automation is checked

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 an automation is evaluated.

Export my last sleep data

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 once your last sleep data is ready for exportation.

History of my sleep data exports

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 instances of when your sleep data was exported.

History of when I get into bed

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 Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

History of when I get out of bed

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 Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

Update a Switchboard Counter

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.
Use this action to set, increment, or decrement a Switchboard Counter.

Update a Switchboard Keyword

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.
Use this action to assign a word or short sentence to a Switchboard Keyword.

Update a Switchboard Switch

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.
Use this action to turn on, turn off, or toggle a Switchboard Switch.

When I get into bed

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 Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.

When I get out of bed

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 Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.

Build an automation in seconds!

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

More on Withings Sleep and Switchur App

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.

Explore Withings Sleep

More integrations with Withings Sleep

About Switchur App

Switchur is a home automation dashboard and rules engine. Store multiple sensor readings and events as easy to understand switchboard items. And use the logic builder and expression engine to create advanced home automation routines.

Explore Switchur App

More integrations with Switchur App

IFTTT helps all your apps and devices work better together

Get started for free