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

CarPlay Hero

Apple Releases Wireless CarPlay Fix

Wednesday April 16, 2025 11:28 am PDT by
If you have been experiencing issues with wireless CarPlay in your vehicle lately, it was likely due to a software bug that has now been fixed. Apple released iOS 18.4.1 today, and the update's release notes say it "addresses a rare issue that prevents wireless CarPlay connection in certain vehicles." If wireless CarPlay was acting up for you, updating your iPhone to iOS 18.4.1 should...
AirPods Pro 3 Mock Feature

AirPods Pro 3 Just Months Away – Here's What We Know

Friday April 18, 2025 5:16 am PDT by
Despite being more than two years old, Apple's AirPods Pro 2 still dominate the premium wireless‑earbud space, thanks to a potent mix of top‑tier audio, class‑leading noise cancellation, and Apple's habit of delivering major new features through software updates. With AirPods Pro 3 widely expected to arrive in 2025, prospective buyers now face a familiar dilemma: snap up the proven...
iphone 16 pro models 1

17 Reasons to Wait for the iPhone 17

Thursday April 17, 2025 4:12 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we often get rumored features months ahead of launch. The iPhone 17 series is no different, and we already have a good idea of what to expect from Apple's 2025 smartphone lineup. If you skipped the iPhone...
Beyond iPhone 13 Better Triad

Apple's 20th Anniversary iPhone May Finally Go All Screen

Tuesday April 15, 2025 6:31 am PDT by
Apple is preparing a "bold" new iPhone Pro model for the iPhone's 20th anniversary in 2027, according to Bloomberg's Mark Gurman. As part of what's being described as a "major shake-up," Apple is said to be developing a design that makes more extensive use of glass – and this could point directly to the display itself. Here's the case for Apple releasing a truly all-screen iPhone with no...
maxresdefault

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

Sunday April 13, 2025 7:52 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. Subscribe to the MacRumors YouTube channel for more videos. Below, we recap key changes rumored for the iPhone 17 Pro models as of April 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and ...
iOS 19 Roundup Feature

iOS 19 Will Add These New Features to Your iPhone

Tuesday April 15, 2025 7:37 am PDT by
The first iOS 19 beta is less than two months away, and there are already a handful of new features that are expected with the update. Apple should release the first iOS 19 beta to developers immediately following the WWDC 2025 keynote, which is scheduled for Monday, June 9. Following beta testing, the update should be released to the general public in September. Below, we recap the key...
tvOS 18 Thumb 1

Apple Releases tvOS 18.4.1

Wednesday April 16, 2025 10:04 am PDT by
Apple today released tvOS 18.4.1, a minor update to the tvOS 18 operating system that came out last September. tvOS 18.4.1 comes two weeks after Apple released tvOS 18.4, and it is available for the Apple TV 4K and Apple TV HD models. tvOS 18.4.1 can be downloaded using the Settings app on the ‌Apple TV‌. Open up Settings and go to System > Software Update to get the new software....
iPhone Security Feature 25

Five iPhone Security Features You Should Be Using

Wednesday April 16, 2025 4:15 pm PDT by
Apple has quite a few security features that it's added to iPhones, iPads, and Macs over the years. Now more than ever, it's important to make sure you're taking advantage of the built-in security tools that are available to keep yourself and your data safe, so we've rounded up a list of the most important options. If you don't already have these enabled, you might want to consider turning...
vision air cable

Images of Apple 'Vision Air' Power Cable Emerge Online

Thursday April 17, 2025 5:55 am PDT by
More images of a redesigned power cable allegedly for a future Apple "Vision Air" headset were today shared online by the prototype collector and leaker known as "Kosutami." Yesterday, the leaker explained that the Apple "Vision Air" will feature a thinner design and switch the battery enclosure and several of its internal structures to titanium to reduce the device's overall weight. Most of ...