With iOS 11, Apple has enabled more complexity in the triggers for HomeKit scenes and events, making them adaptable to a wider variety of circumstances — such as only turning off the lights in your home when everyone has left.
Editor's note: This article was originally published in June while iOS 11 was in beta. It has been updated and republished for the final, public release of iOS 11.
The central shift is support for conditional triggers — a simple example being that if a lighting scene is set to run when someone returns home, it can be limited to running after dark. A cooling scene might run only when someone is home and a certain temperature is hit.
This links with another addition, multi-person geofencing, to make HomeKit much more suitable for couples and families. Previously location-based scenes were tied to a single device and, in essence, one person.
In iOS 11, scenes can be set to run only when one person comes or goes, or when everyone in the same HomeKit group does — naturally, this assumes everyone has an Apple mobile device. Air conditioning for instance can remain on until the last person leaves the house, and resume when the first person returns. Forgetful family members might have the lights turn on and off in their room without affecting anyone else.
Apple has also added relative time offsets, which can trigger actions before or after an event. Window blinds might open 30 minutes after sunrise, say, while lights might come on an hour before sunset. Along similar lines, there are also "end" events — opening a sensor-equipped door to the basement could trigger a ceiling fan, but then have the fan turn off after a fixed amount of time.
In fact people will finally be able to create one-time events, as well as ones linked to specific dates and times. This should be useful for holidays or going on vacation.
25 Comments
Great news.
Hopefully they've finally added irrigation (aka sprinkler systems) to Homekit as well.
I was very excited about geofencing and location-based reminders, but so far they've turned out to be pretty useless for my circumstances.
A typical reminder would go something like, "remind me to go over paperwork when I get home," and the geofence would set within 50 yards or so of my building. Except I live on the 11th floor, and by the time I get up there, the reminder has come and gone.
Geofencing needs to start taking things like "device connects to home/office wifi network" in order to become useful to many circumstances.
awesome. relative time offsets were definitely needed.
This gives me up that the HomePod and next Apple TV will support multiple users.
I don't see why there aren't "when connected/disconnected to wifi" triggers. For me that would be much more accurate and battery friendly than a geofence in terms of determining when you're home.