Back
Date & Time Every day at. Kwikset Smart Locks Change device status. Lutron Caséta and RA2 Select Set light level. MyQ Close door.

Lock doors, close garage, and turn off lights at bedtime

Connect

How this automation works

Automate your home's nightly routine by locking doors, closing the garage, and turning off lights at a set time. This Applet runs every day at your chosen time to secure your smart locks, close MyQ garage doors, and dim Lutron Caséta lights. Ideal for homeowners who want a worry-free bedtime routine and centralized smart home control.

If
Date & Time icon
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 single day at a specific time set by you.
CheckTime
Then
Kwikset Smart Locks 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 lock/unlock the door.
select_lock device_operation
And
MyQ 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 close a garage door.
door_name
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

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.

24 triggers, queries, and actions

Device Locked

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 will be called whenever the device is locked.

Device Unlocked

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 will be called whenever the device is unlocked.

Door closed

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 a door is closed.

Door opened

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 a door is opened.

Every day at

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 single day at a specific time set by you.

Every day of the week at

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 only on specific days of the week at the time you provide.

Every hour at

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 an hour at :00, :15, :30, or :45 minutes past the hour.

Every month on the

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 month on the day and time you specify.

Every year on

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 a year on the date and time you specify.

Light turned 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 a light is turned off

Light turned on

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 a light is turned on.

Events

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.
List events

History of Door closed

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 a door was closed.

History of Door openings

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 events when a door was opened.

History of lights turned on

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 when a light was turned on.

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.

Change device status

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 lock/unlock the door.

Close door

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 close a garage door.

Set fan speed

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 allows a fan to be set to the desired speed.

Set light level

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.

Set shade position

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 shade to the position you specify.

Set shade tilt

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 allows shades to be set to the desired tilt.

Turn off light

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 light

Turn on light

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 a light

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.

Change device status

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 lock/unlock the door.

Close door

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 close a garage door.

Device Locked

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 will be called whenever the device is locked.

Device Unlocked

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 will be called whenever the device is unlocked.

Door closed

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 a door is closed.

Door opened

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 a door is opened.

Events

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.
List events

Every day at

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 single day at a specific time set by you.

Every day of the week at

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 only on specific days of the week at the time you provide.

Every hour at

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 an hour at :00, :15, :30, or :45 minutes past the hour.

Every month on the

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 month on the day and time you specify.

Build an automation in seconds!

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

More on these services

About Date & Time

Turn on Applets that run on an hourly, daily, weekly, monthly or yearly basis using this service. It's automatically tailored to your time zone.

Explore Date & Time

More integrations with Date & Time

About Kwikset Smart Locks

Kwikset smart locks connect directly to your existing Wi-Fi router, the Kwikset app, and smartphone to create a simple and secure smart home, without a third-party hub or panel.

Explore Kwikset Smart Locks

More integrations with Kwikset Smart Locks

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 MyQ

MyQ gives you the power of access and control of your garage door from anywhere. With IFTTT, MyQ can close your door when you leave home, turn up the thermostat when you arrive, and much more.

Activate your MyQ Premium Services IFTTT subscription to get started, or learn more about MyQ.

Explore MyQ

More integrations with MyQ

IFTTT helps all your apps and devices work better together

Get started for free