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

ios stolen device protection

iOS 17.3 Beta Adds New Stolen Device Protection Feature to iPhone

Tuesday December 12, 2023 10:20 am PST by
The first iOS 17.3 beta rolling out to developers today includes a new "Stolen Device Protection" feature that is designed to add an additional layer of security in the event someone has stolen your iPhone and also obtained the device's passcode. Earlier this year, The Wall Street Journal's Joanna Stern and Nicole Nguyen reported about instances of thieves spying on a victim's iPhone...
iOS 17

33 New Things Your iPhone Can Do in iOS 17.2

Tuesday December 12, 2023 1:57 am PST by
Apple has made available for download its major end-of-year iPhone software update, iOS 17.2, featuring a large number of features and changes that users have been anticipating for quite a while. Below, we've listed 33 new things that your iPhone can do once you've installed the update. Check Settings ➝ General ➝ Software Update on your device to get downloading. 1. Help You Keep a Daily ...
iPhone 16 Mock Back 1

iPhone 16 Early Prototypes: What Apple's Next-Generation iPhone Will Look Like

Tuesday December 12, 2023 3:07 pm PST by
With the launch of the iPhone 15, Apple introduced design changes like a curved frame and a frosted glass back. Information acquired by MacRumors suggests that Apple's next-generation iPhone 16 will build on these updates with modifications to the buttons and the camera layout. We have details on early pre-production designs for the iPhone 16, including a look at the variants and hardware...
CarPlay Phone Call

GM Says It's Nixing CarPlay to Make Drivers Safer

Tuesday December 12, 2023 1:47 pm PST by
Earlier this year, General Motors (GM) announced plans to phase out Apple's CarPlay and Android Auto in its future electric vehicles, with the company instead relying on an infotainment system co-developed with Google. This has not been a popular decision with iPhone users, and today, GM provided some additional insight into the decision in a discussion with MotorTrend. According to Tim...
iPhone 16 Side Feature

iPhone 16 Pro Rumored to Have These 12 New Features

Monday December 11, 2023 10:46 am PST by
While the iPhone 16 Pro and iPhone 16 Pro Max are still over nine months away from launching, there are already several rumors about the devices. Below, we have recapped new features and changes expected for the devices so far. These are some of the key changes rumored for the iPhone 16 Pro models as of December 2023:Larger displays: The iPhone 16 Pro and iPhone 16 Pro Max will be equipped...
Apple TV 2022 Feature Blue

Apple Releases tvOS 17.2 With Revamped Apple TV App

Monday December 11, 2023 9:58 am PST by
Apple today released tvOS 17.2, the second major update to the tvOS 17 operating system that came out in September 2023. tvOS 17.2 comes more than a month after tvOS 17.1, an update that expanded the availability of the Enhanced Dialogue feature. tvOS 17.2 can be downloaded using the Settings app on the ‌Apple TV‌. Go to System > Software Update to get the new software. ‌Apple TV‌...
maxresdefault

Top Five Features in macOS Sonoma 14.2

Wednesday December 13, 2023 3:21 pm PST by
When Apple releases new software, iOS updates tend to get most of the attention, and there are sometimes useful new features in Mac updates that go under the radar. That's the case with macOS Sonoma 14.2. It doesn't have flashy features like the Journal app that came in iOS 17.2, but there are a number of useful improvements that make it worth installing. Subscribe to the MacRumors YouTube ...