Apple's HomeKit allows you to create home automations for your accessories so that you can have the lights automatically turn off when you leave, for example, or trigger a scene when you unlock the front door.

homekitweberhaus
The Home app makes creating these automations simple and allows you to trigger them based on the time of day, your location, motion detection, and more.

Before you can create automations, you need to add ‌HomeKit‌ accessories to the Home app. You also need to designate a device as a home hub, which remains powered on and connected at your home when you're away. Click on one of the links below to learn how to set up an Apple device as a home hub.

Create an Automation for an Accessory Action

  1. Launch the Home app on your iPhone or iPad.
  2. Tap the Automation tab in the bottom right corner of the screen.create homekit automations
  3. Tap the plus (+) button in the top-right corner.
  4. Tap An Accessory is Controlled (or tap A Sensor Detects Something, if you have a motion device).
  5. Select the accessory that you want to start the automation.create homekit automations 1
  6. Tap Next.
  7. Choose the action that triggers the automation, such as if the device turns on or off. (On this screen, you can also choose a time of day when the automation is active, or base it on when someone is home or not.)
  8. Tap Next.create homekit automations 2
  9. Select the accessories and/or scenes that are activated in response to the action.
  10. Tap Next.
  11. Tap Done.

These kind of automations are useful if you want to do something like have all of your lights come on when your HomeKit-enabled camera or motion sensor detects motion.

Automations for People Arriving or Leaving

  1. Launch the Home app on your ‌iPhone‌ or ‌iPad‌.
  2. Tap the Automation tab in the bottom right corner of the screen. create homekit automations
  3. Tap the plus (+) button in the top-right corner.
  4. Select whether you want the automation to occur when People Arrive or People Leave your home. create homekit automations for people
  5. Select when A Person Leaves or when Anyone Leaves. You can choose a specific person to start the automation by tapping the circled 'i' icon. You can also control the time and location of the automation from this screen.
  6. Tap Next.
  7. Select the accessories and/or scenes that are activated in response to arriving or leaving. create homekit automations for people 1
  8. Tap Next.
  9. Tap Done.

Automations that are based on when a person leaves or arrives at the home use location-based geofencing to enable the automations. When your ‌iPhone‌ detects that your location is at your house, it'll trigger the automation.

Automations Based on Time of Day

  1. Launch the Home app on your ‌iPhone‌ or ‌iPad‌.
  2. Tap the Automation tab in the bottom right corner of the screen.
  3. Tap the plus (+) button in the top-right corner. create homekit automations
  4. Tap A Time of Day Occurs.
  5. Choose a time and day of the week from the onscreen options. You can also tap People to make the automation occur at specific times when someone is home.create homekit automations based on time of day
  6. Tap Next.
  7. Select the scenes and accessories you want to automate.
  8. Tap Next.create homekit automations based on time of day 1
  9. Tap Done.

Time-based automations will do things like turn your lights on at a specific time. You can also use these to turn down the thermostat automatically at night and turn it up during the day, along with other similar actions.

How to Turn Off or Delete an Automation

Disabling an automation is easy – simply tap the Automation tab, select the automation, and then toggle the switch next to Enable This Automation.

disable or delete homekit automations
To delete an automation in the Automation tab, just slide your finger across it and tap on the Delete option.

Popular Stories

iPhone 17 Pro 34ths Perspective

iPhone 17 Pro Launching Later This Year With These 10 New Features

Sunday March 23, 2025 10:00 am PDT by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch until September, there are already plenty of rumors about the devices. Below, we recap key changes rumored for the iPhone 17 Pro models as of March 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and iPhone 16 Pro models have a titanium frame, and the iPhone ...
iOS 18

iOS 18.4 Expected Next Week - Here Are the Release Notes

Friday March 28, 2025 2:01 pm PDT by
With the second release candidate of iOS 18.4 that Apple seeded out today, the company finally provided us with release notes that give a full rundown on what to expect. There's an Apple Vision Pro app, new Apple Intelligence features for notifications and additional language support, plus an Apple News Food feature for Apple News+ subscribers, and several updates that should improve the...
Magic Mouse Green

What to Expect From the Magic Mouse 3

Saturday March 29, 2025 10:15 am PDT by
Apple is reportedly working on a new Magic Mouse. Below, we recap what to expect. The two key rumors for the Magic Mouse 3 so far include a relocated charging port, along with a more ergonomic design. It was briefly rumored that the Magic Mouse 3 would also feature voice control, but that was misinterpreted information. Relocated Charging Port While the Magic Mouse switched from...
top stories 2025 03 29

Top Stories: WWDC 2025 Announced, iPhone 17 Pro and iOS 19 Rumors, and More

Saturday March 29, 2025 6:00 am PDT by
Apple's big developer event is a little over two months away, and rumors about what we can expect to see in Apple's next major operating system updates are becoming increasingly frequent. A public release of iOS 18.4 is also imminent with a number of updates and improvements, although we won't be getting the major Apple Intelligence Siri upgrades that had reportedly been planned for this...
Foldable iPhone 2023 Feature Homescreen

Six Things to Know About Apple's Upcoming Foldable iPhone

Friday March 28, 2025 3:54 pm PDT by
We've been hearing rumors about a foldable iPhone for almost a decade now, but it looks like we might finally see the device come to fruition in 2026. We're going to be waiting many more months for the foldable iPhone, but so far we're hearing good things. Apple wants to make it creaseless. It's taken Apple multiple years to design a foldable iPhone that it's satisfied with because Apple ...
iOS 19 visionOS UI Elements

Apple Codename Provides Clue About iOS 19's Rumored New Design

Sunday March 30, 2025 6:40 am PDT by
Multiple sources have claimed that iOS 19 will introduce a new design with more translucent buttons, menus, notification banners, and more, and there is now another clue that points towards this glass-like appearance. Bloomberg's Mark Gurman today said the new design project is codenamed "Solarium" internally. A solarium is a room with glass walls that allow in plenty of sunlight, so this...
Facebook Feature

Facebook's New iPhone App Feature Turns the Clock Back to 2007

Thursday March 27, 2025 1:59 pm PDT by
In the mid-to-late 2000s, Facebook was all about staying connected with friends and family. However, as the social media platform added new features and grew over time, that core experience began to get drowned out. That changes starting now, according to Meta, which today introduced a new feature that will "bring back the joy" of classic Facebook. Specifically, Meta has redesigned the...
Foldable iPhone 2023 Feature Homescreen

iPhone Foldable Display Said to Feature iPad-Style 4:3 Aspect Ratio

Friday March 28, 2025 3:44 am PDT by
Apple's upcoming "iPhone Fold" will feature a foldable screen with a 4:3 aspect ratio, according to a Chinese leaker who previously leaked the book-style device's display dimensions. The Weibo-based account Digital Chat Station claims that Apple will adopt a "roughly" 4:3 aspect ratio on the inner display in order to achieve consistency between the outer display, as well as to ensure parity...