How to use iPhone's Home app to automate lights at sunset

An iPhone can switch on the porch, hallway or driveway lights as daylight fades, then repeat the routine automatically every evening. Using the Home app’s sunset trigger keeps the schedule aligned with the actual end of daylight, so it does not need a new timer whenever the season changes.

The setup works with Apple Home-compatible lights and a recent version of iOS. It suits renters and homeowners who want dependable evening lighting without touching a wall switch, while still allowing the lights to be controlled manually whenever needed.

What the sunset trigger actually changes

A sunset automation uses local sunset time as its trigger rather than a fixed hour. When daylight starts to disappear, the Home app can turn on selected lights or an entire room. The next evening, it calculates the new sunset automatically, including seasonal changes in daylight.

That difference matters because a clock-based schedule can drift. A light programmed for 6:30 pm may come on too early in winter and remain on long after dark in summer. The sunset trigger follows the light itself, which is particularly useful for exterior lighting.

Keep the location attached to your home accurate so the calculated sunset matches the correct suburb. This also handles Australian daylight-saving differences: Sydney and Melbourne change their clocks, while Brisbane, Perth and Darwin do not. The trigger should adjust without any manual changes.

Prepare the lights and Home setup

Start by opening the Home app and confirming that each smart light responds when you tap it. Lights must be connected through HomeKit or Matter and assigned to a room before an automation can select them. Updating iOS and the light’s firmware can also prevent intermittent connection problems.

Products sold through Australian electronics retailers may use several ecosystems, including Matter, Zigbee, Bluetooth or a manufacturer’s own app. Check the packaging or product specifications for Works with Apple Home or Matter support. A vendor-only bulb cannot be controlled through Home, and some Zigbee products require a compatible bridge.

For dependable operation, connect an Apple TV or HomePod to the same home. It can act as a Home Hub and run the automation while the iPhone is locked or elsewhere. The iPhone remains necessary for creating and editing the routine, but it does not need to stay open on the coffee table.

Create the automation in the Home app

On current versions of iOS, the trigger appears under Time of Day or a similarly named option, with a choice such as At sunset. Menu wording can vary slightly between releases, so update iOS if that option is missing.

Open the Home app, select the correct house and tap Automation, followed by the add button. Check the home’s location while you are there, then choose the sunset trigger. Set it to run every day, or add date restrictions if the lights are needed only during certain periods.

Next, choose the action that turns on the lights. Select the individual accessory or an entire room, then set the desired brightness and colour temperature. If the app offers conditions, add a rule such as running only when people are home. This prevents the automation from illuminating an empty house while everyone is away.

Give the automation a clear name, such as Porch at sunset, and save it. The name appears in the Automation list, making it easier to test, edit or temporarily disable the routine without hunting through other settings.

Choose which lights should switch on

Start with a small group rather than every connected light. A single front lamp or a porch-and-hallway group is often enough. Broad selections can create glare at night, waste electricity and reveal that nobody is home, particularly if the automation runs while the household is away.

Many Australian homes have a front porch, driveway, alfresco area, garage or pool lighting, so think about which fittings serve each space. Outdoor fittings need bulbs approved for damp or exposed locations; an indoor-only smart bulb is unsuitable for an uncovered porch. Warm, dim light is usually comfortable for arrival lighting, while brighter light can help with paths and gates.

Occupancy controls can narrow the routine further. A sunset trigger can turn on the exterior lights, while a motion sensor handles a dimmer hallway after arrival. An arvo at the beach can also leave the phone on the kitchen bench, but the automation continues working as long as the hub has power and a network connection.

Match the trigger to your routine

There are four sensible ways to handle evening lighting, and the best choice depends on whether accuracy, convenience or avoiding lights in an empty house matters most.

Approach Best for Setup effort Main limitation
Native sunset trigger Exterior and shared-area lighting that should follow daylight Low Requires compatible lights and a reliable Home Hub
Fixed daily time Lights used at the same time every day Low Does not adjust for seasons or daylight saving
Motion or arrival trigger Rooms occupied only intermittently Medium Depends on sensor placement and occupancy detection
Sunset with a home condition Preventing lights from turning on in an empty house Medium Presence detection can be delayed near the geofence boundary

A native sunset trigger is the strongest choice for outdoor lighting because it responds to real daylight rather than an estimate. A second automation can still turn the lights off at a fixed bedtime, giving you separate control over switching on and switching off without tying both actions to the same event.

Test the automation safely and quickly

Testing the actual trigger may mean waiting until the following evening. First, see whether the automation list offers a Run or Test option. If it does, select the sunset automation and confirm that the chosen lights respond.

Otherwise, create a temporary automation using a fixed time two or three minutes ahead. Apply the same light, brightness and colour settings, then disable the sunset version temporarily. This short test checks the accessory, room selection and action without leaving the lights on all night.

After the fixed-time test succeeds, restore the sunset trigger and wait for the next evening. If the lights do not come on, check that the automation is enabled, the correct home is selected and the chosen room still contains the intended lights. Home notifications can also provide confirmation when an automation runs.

Make the evening routine dependable

Check that the Home Hub, router and smart lights are online, then keep their software current. It is also sensible to test the routine after a power outage because some smart bulbs return to their previous state rather than restoring the setting that existed before the interruption.

Travel can affect presence-based conditions. When a household leaves Australia, a phone may stop reporting that someone is home, or another person may arrive without triggering the expected condition. A fixed sunset action remains predictable, while an “only when people are home” rule offers better protection for an empty house. Whichever approach you choose, verify it under normal household conditions.

Set up the native sunset automation now, run the quick test and let your iPhone handle the lights as the Australian evening settles in.