Home automation triggers in Shortcuts on iPhone or iPad
Use a home automation trigger to run an automation in your home based on events such as time of day, people arriving or leaving, or someone turning on an accessory.
The People Arrive trigger has the following options:
When: Select one of the following triggers:
Anyone Arrives: Triggers your automation when you or someone who shares control of your home arrives at the location set in the Location field (described below). To choose specific people, tap and choose the people who share control of your home. To run the automation when only you arrive, deselect all other people who share control of your home.
The First Person Arrives: Triggers your automation when you or someone who shares control of your home arrives at home. To choose specific people, tap The First Person Arrives and choose the people who share control of your home. To run the automation when you are the first to arrive, deselect all other people who share control of your home.
Location: The location that triggers this automation when you or someone else arrives. Tap Location, then choose from a list of recent locations or use the search field.
Note: Choosing a location other than Home will remove the other people and not allow you to convert an automation to a shortcut.
Time: There are four options: “Anytime,” “During the day,” “At night,” or “Specific times” (which you set in the Start and End fields).
The People Leave trigger has the same options as the People Arrive trigger, described above.
The Time of Day Occurs trigger has the following options:
When: Choose from the following options:
Sunrise: Triggers your automation at sunrise, as determined by the Weather app.
Sunset: Triggers your automation at sunset, as determined by the Weather app.
Time Before: Triggers your automation at a specific time, determined by the option you choose from the list.
Tip: If you select Sunrise or Sunset, you can set the automation to run 15 minutes, 30 minutes, 45 minutes, 1 hour, 2 hours, 3 hours or 4 hours, before or after.
Repeat: Choose which day or days you want your automation to run.
People: Choose who, if anyone, needs to be home for this automation to run.
Off: Triggers your automation whether or not anyone is home.
When somebody is home: Triggers your automation as long as somebody is home.
When I am home: Triggers your automation only when you are home.
When nobody is home: Triggers your automation only when nobody is home.
When I am not home: Triggers your automation only if you are not home.
The Accessory Is Controlled trigger has the following options, which become available after you select one or more accessories:
Time: Choose “Anytime,” “During the day,” “At night,” or “Specific times” (which you set in the Start and End fields).
People: Choose who, if anyone, needs to be home for this automation to run.
Off: Triggers your automation whether or not anyone is home.
When somebody is home: Triggers your automation as long as somebody is home.
When I am home: Triggers your automation only when you are home.
When nobody is home: Triggers your automation only when nobody is home.
When I am not home: Triggers your automation only if you are not home.
The Sensor Detects Something trigger has the following options, which become available after you select one or more sensors:
Time: Choose which day or days you want this automation to run. There are four options: “Anytime,” “During the day,” “At night,” or “Specific times” (which you set in the Start and End fields).
People: Choose who, if anyone, needs to be home for this automation to run.
Off: Triggers your automation whether or not anyone is home.
When somebody is home: Triggers your automation as long as somebody is home.
When I am home: Triggers your automation only when you are home.
When nobody is home: Triggers your automation only when nobody is home.
When I am not home: Triggers your automation only if you are not home.