Source: Christopher Close / iMore
While controlling smart home accessories via the Home app or Siri is incredibly convenient — to make your home truly smart, you need to know how to create a HomeKit automation. With automation, you can set your HomeKit light switches to turn on automatically when you open the door, at a specific time of day, or even when the smoke detector alarm goes off. Here's how to create HomeKit automation in the Home app.
How to create a location automation
Location automation utilizes GPS and geofencing on your iPhone to determine when to start a series of events. Typically, location automation is best for adjusting settings on a HomeKit thermostat or locking a HomeKit door lock when you head out to work, so you never have to worry about the state of the home when you leave.
Location automation is not limited to your iPhone, though, as it also works with others you invite to your home. You can also use additional options to run automation only when the first person arrives at the house for the day, and you can even choose an entirely different location other than your home.
- Launch the Home App.
- Tap the Add Button (looks like a plus sign).
Tap Add Automation.
Source: iMore
- Tap on either People Arrive or People Leave depending on your desired automation.
- Select When the automation should occur with a tap.
- Your options will vary depending on if you selected People Arrive or People Leave when creating the automation.
- Tap the i button to select whose location will be taken into consideration for the automation.
Tap Location to set a desired location such as Home or a work address.
Source: iMore
- Tap Time to set what times the automation will be active.
- Tap Next.
Choose which Accessories or Scenes you'd like to control with this automation with a tap.
Source: iMore
- Tap Next.
- Tap and hold on an Accessory to change the target state, such as brightness or off/on, then tap the X button.
- Tap Done.
- Tap Turn Off to set a time for the accessory to turn back off automatically if desired.
- You can also provide a name for your automation by tapping on the default name at the top of this screen.
How to create a time automation
Time automation is a fantastic way to control the home automatically throughout the day. The Home app makes it easy to turn on the HomeKit light bulbs outside at preset times like sunset or at specific times like 8:15 p.m. daily.
Combined with location and people options, you can set your automation only to run when you are actually at home — potentially saving you a little dough. The same also works in reverse, where you can set your lights to turn on at random times when you are not around to give the appearance that someone is home.
- Launch the Home App.
- Tap the Add Button (looks like a plus sign).
Tap Add Automation.
Source: iMore
- Tap A Time of Day Occurs.
- Tap on a Preset Time like sunrise, or dial in a Specific Time.
Tap the Days that you want the automation to run.
Source: iMore
- Tap People to have the automation run when specific people are home or away.
- Tap Next.
Choose which Accessories or Scenes you'd like to control with this automation.
Source: iMore
- Tap Next.
- Tap and hold on an Accessory to change the target state, such as brightness or off/on, then tap the X button.
- Tap Done.
- Tap Turn Off to set a time for the accessory to turn back off automatically if desired.
- You can also provide a name for your automation by tapping on the default name at the top of this screen.
How to create an accessory automation
Accessory automation is set into motion when a particular device — like a light, experiences a change. For example, you can create an automation that turns off a ceiling fan automatically in the living room when the lights turn off.
The best part is that accessory automation will run even if someone toggles a physical switch on the wall, as they are not limited to the Home app or Siri.
- Launch the Home App.
- Tap the Add Button (looks like a plus sign).
Tap Add Automation.
Source: iMore
- Tap An Accessory is Controlled.
- Select which Accessories will start the automation by tapping on each one.
Tap Next.
Source: iMore
- Choose the desired Accessory State for the automation, like Turns On, with a tap.
- Tap Time and set the specific times that you want the automation to be active.
Tap People to set location-based conditions for when the automation will run.
Source: iMore
- Tap Next.
- Tap on a Scene or Accessory that you wish to control when the automation runs.
Tap Next.
Source: iMore
- Tap and hold on an Accessory to change the target state, such as brightness or off/on.
- Tap the X button when you have set your desired state.
- Tap Done.
- Tap Turn Off to set a time for the accessory to turn back off automatically if desired.
- You can also provide a name for your automation by tapping on the default name at the top of this screen.
How to create a sensor automation
Sensor automation comes into play when a change in the environment — like a motion event or a change in temperature occurs. This type of automation means that you can have a light turn red when the air quality in the home takes a turn or have your thermostat switch to cooling mode when it gets too stuffy.
- Launch the Home App.
- Tap the Add Button (looks like a plus sign).
Tap Add Automation.
Source: iMore
- Tap A Sensor Detects Something.
- Select which Accessories will start the automation by tapping on each one.
Tap Next.
Source: iMore
- Choose the desired Accessory State for the automation, like Turns On, Opens, or Temperature with a tap.
- Tap Time and set the specific times that you want the automation to be active.
Tap People to set location-based conditions for when the automation will run.
Source: iMore
- Tap Next.
- Tap on a Scene or Accessory that you wish to control when the automation runs.
Tap Next.
Source: iMore
- Tap and hold on an Accessory to change the target state, such as brightness or off/on.
- Tap the X button when you have set your desired state.
- Tap Done.
- Tap Turn Off to set a time for the accessory to turn back off automatically if desired.
- You can also provide a name for your automation by tapping on the default name at the top of this screen.
Make your home truly smart with HomeKit automation
Now that you know how to create HomeKit automation, you are ready to unlock your smart home's true potential. With HomeKit automation, you can say goodbye to the days where you left the lights on all day with a HomeKit motion sensor, or you can ensure that your home is always secure with a HomeKit door lock. With HomeKit automation, the possibilities are endless.
Updated November 2021: Updated for iOS 15.

Streaming reached a record share of total TV viewing last month
Streaming services were responsible for a record share of the total television viewing across the United States for the month of April, according to new data.

Report: Apple increases iPhone 14 OLED order to 150 million, BOE struggling
A new report says that Apple is set to make 150 million units of OLED panelts for the iPhone 14, but that supplier BOE hasn't yet been approved as one of the manufacturers.

WandaVision's Matt Shakman to direct some of Apple's Godzilla series
Apple is getting a live-action Godzilla series, and the first two episodes will be directed by Matt Shakman, who helped create Wandavision.

Keep an eye on the front door with the best HomeKit video doorbells
HomeKit video doorbells are a great way to keep an eye on those precious packages at your front door. While there are just a few from which to choose, these are the best HomeKit options available.