Apple Home Sleep Timer

Apple Home Sleep Timer

Whether it’s for the lights or an audiobook, a sleep timer that can be conveniently activated via a button next to your bed adds extra comfort to your daily routine. The lights can turn off automatically once you’ve fallen asleep, or your audiobook can stop playing after a set time—without any manual intervention. This not only saves energy but also creates a more relaxing sleep environment. With a Workflow and Hub Mode 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.

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. Since Apple doesn’t allow developers direct access to these accessories, you’ll first need to create a scene in the Apple Home app that pauses playback. Once set up, you can trigger this scene within your workflow.

Settings

Wenn du die Einstellung "Restart Workflow" auf "Stop the current workflow and start a new one" setzt, kannst du bei erneuter Betätigung des Buttons, den Sleep Timer erneut starten.

Bonus Tip

About a minute before the accessories turn off, you can use a lamp that dims to 10% or turns red as a warning that the timer is about to expire. This way, if you’re still awake, you’ll have enough time to restart the sleep timer before everything powers down.

Final Overview

As soon as you press the button, the sleep timer is activated. After 30 minutes, the connected devices will turn off. If you’re still awake, you can restart the sleep timer at any time by pressing the button again.

Get Inspired

Carbon Dioxide Alert

Get notified when CO₂ levels exceed 1000 ppm.

Location-Based Workflow

Automate your routines based on where you are.

Laundry Done Alert

Receive a notification when your washing machine has finished.

Beat the Heat

Automatically close your blinds on hot days.

Wake-Up Light

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

Irrigation Schedule

Keep your garden green.

Control Lights with Multiple Motion Sensors

For large or irregularly shaped spaces.

Stepwise Brightness Control via Button

Control light brightness step by step.

Custom Notification with Live Camera Feed

Open the camera stream instantly.

Smart Bathroom Fan Control

Make your fan truly intelligent.

New Mail Notification

Get notified when new mail arrives.

Integrate Speakers into Workflows

Control volume, play music, or pause playback.

Battery Warning

Get battery alerts when they matter.

Sleep Timer

Use a sleep timer with Apple Home.

Execute Workflow Only Once a Day

Ensures the workflow runs only once.

Accessory Values in Notifications

Send notifications featuring real-time accessory values.

NFC Tags

Automate Apple Home Accessories with NFC.

Blink Lights

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

Display Camera When Motion Is Detected

Automatically display the camera livestream whenever motion is detected.

Open Window Reminder

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

Toggle Lamp

Easily toggle a lamp using a single switch.

Turn Light Off Using Motion Sensor

Efficiently control your lighting with a motion sensor.

Get Inspired

Carbon Dioxide Alert

Get notified when CO₂ levels exceed 1000 ppm.

Location-Based Workflow

Automate your routines based on where you are.

Laundry Done Alert

Receive a notification when your washing machine has finished.

Beat the Heat

Automatically close your blinds on hot days.

Wake-Up Light

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

Irrigation Schedule

Keep your garden green.

Control Lights with Multiple Motion Sensors

For large or irregularly shaped spaces.

Stepwise Brightness Control via Button

Control light brightness step by step.

Custom Notification with Live Camera Feed

Open the camera stream instantly.

Smart Bathroom Fan Control

Make your fan truly intelligent.

New Mail Notification

Get notified when new mail arrives.

Integrate Speakers into Workflows

Control volume, play music, or pause playback.

Battery Warning

Get battery alerts when they matter.

Sleep Timer

Use a sleep timer with Apple Home.

Execute Workflow Only Once a Day

Ensures the workflow runs only once.

Accessory Values in Notifications

Send notifications featuring real-time accessory values.

NFC Tags

Automate Apple Home Accessories with NFC.

Blink Lights

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

Display Camera When Motion Is Detected

Automatically display the camera livestream whenever motion is detected.

Open Window Reminder

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

Toggle Lamp

Easily toggle a lamp using a single switch.

Turn Light Off Using Motion Sensor

Efficiently control your lighting with a motion sensor.

Get Inspired

Carbon Dioxide Alert

Get notified when CO₂ levels exceed 1000 ppm.

Location-Based Workflow

Automate your routines based on where you are.

Laundry Done Alert

Receive a notification when your washing machine has finished.

Beat the Heat

Automatically close your blinds on hot days.

Wake-Up Light

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

Irrigation Schedule

Keep your garden green.

Control Lights with Multiple Motion Sensors

For large or irregularly shaped spaces.

Stepwise Brightness Control via Button

Control light brightness step by step.

Custom Notification with Live Camera Feed

Open the camera stream instantly.

Smart Bathroom Fan Control

Make your fan truly intelligent.

New Mail Notification

Get notified when new mail arrives.

Integrate Speakers into Workflows

Control volume, play music, or pause playback.

Battery Warning

Get battery alerts when they matter.

Sleep Timer

Use a sleep timer with Apple Home.

Execute Workflow Only Once a Day

Ensures the workflow runs only once.

Accessory Values in Notifications

Send notifications featuring real-time accessory values.

NFC Tags

Automate Apple Home Accessories with NFC.

Blink Lights

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

Display Camera When Motion Is Detected

Automatically display the camera livestream whenever motion is detected.

Open Window Reminder

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

Toggle Lamp

Easily toggle a lamp using a single switch.

Turn Light Off Using Motion Sensor

Efficiently control your lighting with a motion sensor.