Send openHAB command when Withings Sleep detects you get out of bed
1 ready-made Withings Sleep and openHAB Applets
Turn one on, or build your own. Withings Sleep can start an automation with "Export my last sleep data", and IFTTT can then run "Send a command" on openHAB.
Automate Withings Sleep and openHAB from your AI assistant
Ask Claude to create Withings Sleep applets with IFTTT MCP and automate your bedroom when you get into or out of bed.
Set up IFTTT MCPCreate your own Withings Sleep and openHAB 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.
12 triggers, queries, and actions
Export my last sleep data
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 once your last sleep data is ready for exportation.
Item state changes
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 an item changes its state to a value you specify.
Item state drops 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 every time an item's state drops below a value you specify and works with any number item.
Item state raises 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 every time an item's state raises above a value you specify and works with any number item.
When I get into bed
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 Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.
When I get out of bed
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 Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.
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 item changes its state to a value you specify.
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 item's state drops below a value you specify. Note: this query will only return future events after this Applet is created.
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.
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.
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.
Send a command
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 send a command to one of your openHAB items.
Export my last sleep data
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 once your last sleep data is ready for exportation.
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 item changes its state to a value you specify.
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 item's state drops below a value you specify. Note: this query will only return future events after this Applet is created.
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.
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.
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.
Item state changes
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 an item changes its state to a value you specify.
Item state drops 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 every time an item's state drops below a value you specify and works with any number item.
Item state raises 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 every time an item's state raises above a value you specify and works with any number item.
Send a command
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 send a command to one of your openHAB items.
When I get into bed
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 Withings Sleep detects that you get into bed, within the start and end time parameters that you specify.
When I get out of bed
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 Withings Sleep detects that you get out of bed, within the start and end time parameters that you specify.
Build an automation in seconds!
If
Export my last sleep data
Then
Send a command
You can add delays, queries, and more actions in the next step!
GET STARTED
How to connect to a Withings Sleep automation
Find an automation using Withings Sleep
Find an automation to connect to, or create your own!Connect IFTTT to your Withings Sleep account
Securely connect the Applet services to your respective accounts.Finalize and customize your Applet
Review trigger and action settings, and click connect. Simple as that!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