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 17

iOS 17.2 Will Add These 12 New Features to Your iPhone

Friday December 1, 2023 12:19 pm PST by
iOS 17.2 has been in beta testing for over a month, and it should be released to all users in a few more weeks. The software update includes many new features and changes for iPhones, including the dozen that we have highlighted below. iOS 17.2 is expected to be released to the public in mid-December. To learn about even more features coming in the update, check out our full list. Journal ...
iOS 16 4 Web Push

Apple Confirms Governments Using Push Notifications to Surveil Users

Wednesday December 6, 2023 5:06 am PST by
Unidentified governments are surveilling smartphone users by tracking push notifications that move through Google's and Apple's servers, a US senator warned on Wednesday (via Reuters). In a letter to the Department of Justice, Senator Ron Wyden said foreign officials were demanding the data from the tech giants to track smartphones. The traffic flowing from apps that send push notifications...
airpods pro 2 pink

Apple Releases New AirPods Pro 2 Firmware

Tuesday December 5, 2023 11:28 am PST by
Apple today released new firmware update for both the Lightning and USB-C versions of the AirPods Pro 2. The new firmware is version 6B34, up from the 6B32 firmware introduced in November. Apple does not provide details on what features might be included in the refreshed firmware beyond "bug fixes and other improvements," so it is unclear what's new in the update, but prior software releases ...
Beyond iPhone 13 Better Blue

'All-Screen' iPhone Under-Display Camera Enters Development

Wednesday December 6, 2023 2:03 am PST by
Apple's Korean suppliers have begun developing smartphone under-display cameras (UDC), paving the way for the first iPhone with a true "all-screen" appearance. According to The Elec, LG Innotek has entered the preliminary development of the UDC, which sits under the display and does not result in a visible hole in the panel when the camera is not in use. A UDC differs from a typical front ...
magsafe blue 2

iOS 17.2 Brings Qi2 Support to iPhone 13 and iPhone 14 Models

Tuesday December 5, 2023 11:04 am PST by
The iOS 17.2 update that Apple is set to release to the public in the near future will bring support for the next-generation Qi2 wireless charging standard to the iPhone 13 and iPhone 14 models. Qi2 was mentioned in the release notes for the RC version of the update that came out today. With the addition of support for the new standard, iPhone 13 and iPhone 14 models will work with Qi2...
iphone se 4 modified flag edges

iPhone SE 4 May Reuse Existing iPhone 14 Battery

Wednesday December 6, 2023 1:17 pm PST by
Recently, MacRumors has received details on the battery currently being tested on the upcoming fourth-generation iPhone SE, and the information corroborates previous findings in relation to the device. The iPhone SE 4, known by its device identifier D59, is expected to use the exact same battery found in the base model iPhone 14. Partially assembled prototypes of the next iPhone SE have been ...
airpods pro bulbs

Black Friday Prices Return for AirPods Pro 2 With USB-C, iPad, and More

Tuesday December 5, 2023 7:30 am PST by
Today we're tracking a collection of deals that are matching - or nearly matching - the same all-time low discounts we saw during Black Friday. This includes the AirPods Pro 2 with USB-C, 9th generation iPad, and M1 MacBook Air. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the ...
instagram messenger

Instagram and Facebook Messenger Chats to Disconnect This Month

Tuesday December 5, 2023 1:57 am PST by
Meta has revealed plans to end Instagram users' ability to chat with Facebook accounts later this month, rolling back a feature that it introduced over three years ago. In September 2020, Meta (then Facebook) announced it was merging its Facebook Messenger service with Instagram direct messaging, allowing Instagram users to chat with Facebook users and vice versa using the same platform....