Apple Home Sleep Timer

Apple Home sleep timer workflow overview

Whether it's for lights or an audiobook, a sleep timer that can be activated via a button next to your bed adds extra comfort to your routine. The lights can turn off automatically once you've fallen asleep, or your audiobook can stop after a set time. With a Workflow and Controller Hub in Controller for HomeKit, you can easily set this up.

Start Event

First, add the button next to your bed as a new start event.

Start event with bedside button

Steps

Add the Step "Wait"

Add a "Wait" step and set it to the desired duration before everything turns off. We chose 30 minutes.

Add the Step "Control Accessory" or "Execute Scene"

Next, turn off the relevant devices. While you can control lights directly, HomePods and AirPlay 2 speakers require a workaround. Apple doesn't allow direct access in third-party apps, so first create a scene in Apple Home that pauses playback, then execute this scene in your workflow.

Sleep timer workflow steps with wait and scene execution

Settings

Set "Restart Workflow" to "Stop the current workflow and start a new one". This lets you restart the sleep timer any time by pressing the button again.

Sleep timer workflow settings

Bonus Tip

About a minute before accessories turn off, dim a lamp to 10% or change it to red as a warning. If you're still awake, you can restart the timer in time.

Bonus tip configuration for sleep timer warning light

Final Overview

As soon as you press the button, the sleep timer starts. After 30 minutes, connected devices turn off. If you're still awake, press the button again to restart the timer.

Download on the App Store

Get Inspired

Meeting Light

Meeting Light

Uses light color to show whether you’re in a meeting.

Waste Calendar

Waste Calendar

Never forget the bin again – with colored light and speech.

Carbon Dioxide Alert

Carbon Dioxide Alert

Get notified when COβ‚‚ levels exceed 1000 ppm.

Location-Based Workflow

Location-Based Workflow

Automate your routines based on where you are.

Laundry Done Alert

Laundry Done Alert

Receive a notification when your washing machine has finished.

Beat the Heat

Beat the Heat

Automatically close your blinds on hot days.

Wake-Up Light

Wake-Up Light

Use any Apple Home Lamp as a Wake-Up Light.

Irrigation Schedule

Irrigation Schedule

Keep your garden green.

Control Lights with Multiple Motion Sensors

Control Lights with Multiple Motion Sensors

For large or irregularly shaped spaces.

Stepwise Brightness Control via Button

Stepwise Brightness Control via Button

Control light brightness step by step.

Custom Notification with Live Camera Feed

Custom Notification with Live Camera Feed

Open the camera stream instantly.

Smart Bathroom Fan Control

Smart Bathroom Fan Control

Make your fan truly intelligent.

New Mail Notification

New Mail Notification

Get notified when new mail arrives.

Integrate Speakers into Workflows

Integrate Speakers into Workflows

Control volume, play music, or pause playback.

Battery Warning

Battery Warning

Get battery alerts when they matter.

Sleep Timer

Sleep Timer

Use a sleep timer with Apple Home.

Execute Workflow Only Once a Day

Execute Workflow Only Once a Day

Ensures the workflow runs only once.

Accessory Values in Notifications

Accessory Values in Notifications

Send notifications featuring real-time accessory values.

NFC Tags

NFC Tags

Automate Apple Home Accessories with NFC.

Blink Lights

Blink Lights

Make a light blink and effortlessly return it to its original state.

Display Camera When Motion Is Detected

Display Camera When Motion Is Detected

Automatically display the camera livestream whenever motion is detected.

Open Window Reminder

Open Window Reminder

Get a reminder if you forget to close a window after ventilating.

Toggle Lamp

Toggle Lamp

Easily toggle a lamp using a single switch.

Turn Light Off Using Motion Sensor

Turn Light Off Using Motion Sensor

Efficiently control your lighting with a motion sensor.