Turn Lights on at Sunset Alexa
You finish a turnover at 4 PM on a December Saturday, leave the porch light off because it is still bright, and your guests roll up at 6:45 PM to a pitch-black driveway and a lockbox they cannot see. They text you. You scramble.
That is the whole reason most hosts eventually decide to turn lights on at sunset Alexa-style instead of relying on themselves, a cleaner, or a guest to flip a switch. The good news is that this is one of the easiest automations Alexa does well, and once it is set up correctly you basically forget it exists. The bad news is that the default settings have a few quirks that bite hosts in particular — routines that do not follow the season, lights that try to fire while the home is mid-clean, and bulbs that drop off Wi-Fi between bookings. This guide walks through the version that actually holds up across a year of guests.
Who this setup is for
This is written for a remote host with one to a handful of short-term rentals. You are not on-site, you do not want to call the cleaner every Friday, and you would like the entry, porch, and one or two interior lamps to come on automatically before sundown so guests never arrive to a dark unit.
If you manage a single property in your own city you can absolutely use this too — it just matters more when you cannot drive over to flip a switch. The walkthrough assumes you have an Echo Dot 5 or Echo Show on the property’s Wi-Fi and at least one smart bulb, plug, or switch already paired in the Alexa app. If you do not, the smart bulb setup for Airbnb guide covers that part.
Before you start: prerequisites and gotchas
A few things to check first, because the most common failure is not the routine itself — it is a setting elsewhere that breaks it.
- Your property’s address is correct in the Alexa app under More > Settings > Your Locations. Sunset triggers calculate from this address, not your phone’s location. If it is still set to your home, the lights will fire at the wrong time year-round.
- The Echo device is logged into your account, not a guest’s. Once in a while a previous guest pairs their phone — if anything looks off, deregister and re-add the device.
- The bulbs or plugs you want to control already respond to a manual voice command like ‘Alexa, turn on the porch light.’ If they do not, fix discovery first.
- The router and the Echo are on a UPS or at least a surge protector. A 30-second power blip is enough to take everything offline mid-check-in.
Devices and apps you need
You do not need much. The cheapest reliable stack for one entryway is an Echo Dot 5, a single TP-Link Kasa or Wyze smart plug for a lamp, and the Alexa app on your phone. If you want exterior lighting, a hardwired smart switch beats a smart bulb — the switch cannot be flipped off accidentally by a guest, leaving your routine talking to a dead bulb.
Lutron Caséta Diva and TP-Link Kasa HS200 wall switches both work well here. For porch fixtures specifically, a screw-in bulb like Philips Hue White A19 or a Govee outdoor-rated bulb is fine if the fixture is shielded and the switch stays on. Avoid Bluetooth-only bulbs — they require a phone in range and will not run on a schedule reliably from across the country. The full hardware comparison is in our best entry lights for Airbnb buying guide.
Step-by-step: build the Alexa light schedule
- Open the Alexa app and tap More > Routines > the plus sign in the top right.
- Name it something obvious like ‘Sunset Lights On.’ Future-you will thank present-you when you are trying to figure out which routine fired.
- Tap When this happens > Schedule > At Sunset. Set the offset to 15 minutes before sunset. That little buffer covers cloudy days and the slight gap before the bulb actually responds.
- Choose Repeat > Every day.
- Tap Add action > Smart Home > All Devices, then pick the porch light, entryway lamp, and any interior light you want on at dusk. If you have already grouped them, pick the group instead — it is faster and easier to maintain.
- Set the brightness to roughly 70% for interior lamps and 100% for exterior. Full brightness on an interior lamp pointed at a guest’s face during check-in is harsh.
- Under From, choose the Echo device on the property — not your kitchen Echo at home. This matters if you have multiple homes on one Alexa account.
- Save. Then create a second routine called ‘Lights Off Late’ set to 11:30 PM that turns the same group off. Without this, your porch is on until sunrise and your power bill grows.
If you want a broader cluster of routines layered on top — one for arrival hours, one for late night, one for vacancy days — the complete Alexa light schedule walkthrough is the next read.
Recommended settings hosts actually use
A few opinionated defaults worth copying:
- Sunset minus 15 minutes for the on-trigger. Earlier feels wasteful; later means a guest can pull up while it is still dim.
- Hard time off rather than sunrise off. Guests rarely want a bright porch at 3 AM, and ‘sunrise’ in summer means the lights run until 5:30 AM for no reason.
- Group your lights once, then point all routines at the group. When you swap a bulb, you only update one place.
- Add an ‘Alexa, welcome’ voice phrase as a second trigger that fires the same actions, so a cleaner or early-arrival guest can manually pop the lights on without learning device names.
- For longer vacancies, add a vacation-mode routine that randomizes interior lamps in the evening — covered in the randomize lights with Alexa guide.
Test it before a real check-in depends on it
Do not trust the routine until you have watched it fire. Two ways to test: in the routine screen, tap Play to run it manually — this confirms the actions work but skips the schedule trigger. Then change the trigger temporarily to ‘At Time’ five minutes from now, save, wait, and watch. If it fires, switch the trigger back to At Sunset.
The Alexa app is also good about logging activity under More > Activity > History, so if you ever wonder whether tonight’s routine ran, you can look it up the next morning. For peace of mind on the day a guest arrives, glance at the porch via a doorbell camera around dusk — the doorbell camera setup for rentals covers what is worth installing without crossing the line into surveillance.
Fallback plan when Alexa fails
It will fail eventually. Wi-Fi reboots, Amazon has an outage, or a smart plug forgets the network after a power flicker. Build redundancy in two layers.
First, in every smart bulb or plug app (Hue, Kasa, Govee), set a native schedule that mirrors the Alexa one: on 15 minutes before sunset, off at 11:30 PM. The bulb’s local schedule keeps running even if the Echo is unplugged or offline, because it talks straight to the manufacturer’s cloud. Second, leave a small motion-activated battery LED stick light inside the entryway as a no-tech backup. It is three dollars at a hardware store and saves a 1-star review on the night something goes wrong.
Common troubleshooting
- Lights fire at the wrong time — the device location is wrong. Fix the address in Alexa app settings.
- Some lights respond, others do not — one bulb is offline. Open the bulb’s native app and reconnect it; the routine itself is fine.
- Routine runs but says ‘device not responding’ — the Echo and bulb are on different Wi-Fi networks (often guest network vs. main). Move them to the same SSID.
- Routine vanished — check that you did not accidentally toggle it off in the routine list. The slider on the right disables without warning.
FAQ
Can Alexa really turn lights on at sunset automatically every day?
Yes. The schedule trigger has an ‘At Sunset’ option that recalculates daily based on the property’s address, so you do not need to nudge the time as days get shorter. Set the address once under Your Locations and pick a 10 to 20 minute pre-sunset offset so lights are already on by the time it actually feels dark. The only thing that breaks it is the Echo losing power or the address being wrong.
What is the best Alexa routine for lights on at a certain time vs. sunset?
Use sunset for outdoor and entryway lights — it tracks the seasons. Use a fixed time for the off action (10 or 11 PM) and for any interior lamps you want on during a specific window like dinner hours. Mixing the two is normal and recommended. The full pattern is in our Alexa routine for lights on at a certain time guide.
Will the schedule still work if a guest unplugs the Echo?
Routines that run from the Echo will pause until it is plugged back in. That is the main reason to also set a native schedule inside each smart bulb’s app — Hue, Kasa, Govee, and Lutron all have local schedules. The bulb keeps doing its job whether the Echo is alive or not, and Alexa just becomes the convenient overlay for voice control and guest-facing routines.
Should I randomize the lights for vacancies between bookings?
If the property sits empty for more than a couple of nights, yes. A constant porch-on, interior-off pattern is an obvious vacancy signal to a neighbor or passerby. You can layer a vacation-mode routine that turns one or two interior lamps on for an hour or two at random intervals between 7 and 10 PM — the Alexa vacation mode lights walkthrough is a five-minute add-on once your sunset routine is already working.
Related reading
- Schedule porch lights with Alexa — a tighter outdoor-only version of this routine.
- Sunset light automation for rentals — how the same trigger pattern scales across a portfolio.
- Smart lights turn on before check-in — pairing the sunset trigger with PMS check-in windows.
- Automate lights at night — the off-side of the schedule, including dim-down and motion fallbacks.
Next steps
Once your sunset routine is firing reliably, copy the same pattern to porch-only and exterior pathway lights. The full smart lighting automation hub ties the cluster together with vacancy patterns, holiday overrides, and what to do when an outage takes the routines offline.