
If a smart light turns on or off by itself, it almost never happens without a reason: something sent it a command, or its power dropped and came back. When it was a command, several of the apps keep a record you can read, so check that before you reset or delete anything.
TL;DR: Note the exact time, then check the history in the app that controls the light: Activity in Google Home, Review Alexa History in the Alexa app, the Activity panel in Home Assistant, and the bulb maker's own app. The usual causes are a forgotten schedule, a routine on someone else's phone, a sensor-started routine, or the power coming back. Don't factory reset first.
Write Down the Time First
Before you open any app, note three things:
- The exact minute it happened.
- Whether the light went on or off.
- Which other lights changed with it.
Several lights changing together points at a routine or a scene, because one routine can switch a whole room. One light on its own points at that device's own schedule or a sensor. And if lights came back on all at once after the flat's power blinked, you're probably looking at a power-on setting rather than any automation, which we cover in what comes back on after a power cut.
If the same light does the same thing at the same time every day, it's a schedule or a time-based routine. If that time is a few hours off from one you set on purpose, check the hub's time zone before anything else, because a schedule built on the wrong zone runs at the wrong time every day without looking broken.
Where Each App Keeps Its History
Open the app you use most for that light and look at the minute you wrote down.
Google Home. Tap Activity to see your home's events, and filter by device or date to cut the list down (Google). There's a catch for lights: Google says activity from third-party devices "such as lights, appliances, and media devices" needs a Google Home Premium subscription. Without it, a Hue or Tapo bulb may not show up there at all.
Alexa. In the Alexa app, go to More, then Alexa Privacy, then Review Alexa History, and filter by date or device (Amazon). This is the record of what Alexa took as requests. If there's an entry at the minute you wrote down, open it to see what was heard and on which device. If there's nothing, an Alexa voice request is unlikely, so move on to schedules, routines and the power.
Apple Home. Apple's Activity list covers door locks, alarm systems, garage doors, contact sensors, smoke detectors and thermostats using Adaptive Temperature, and needs an Apple TV or HomePod as the home hub (Apple). Lights aren't on that list, so for a lamp you'll be reading through your automations instead.
Home Assistant. Open Activity in the sidebar and narrow it to the one light to see its recorded changes, newest first (Home Assistant). If an automation was running at that moment, open its traces. At the top of each trace, "Triggered by" shows what started the run (Home Assistant).
The bulb or switch maker's app. Apps like Hue, Tapo, Smart Life and Shelly can keep their own schedules and automations, separate from Google and Alexa, and Google's help page says a third-party automation has to be managed in "the app that created it" (Google). So open every app the light has ever been added to, including ones you no longer use. In each, open the light itself and look for its schedules or timers, then any automations or scenes that include it. If the app keeps a history, check the minute you wrote down there too.
The Usual Causes
A schedule or routine you set and forgot
Think of a porch light set for sunset, a bedroom light that eases on in the morning, or a "Good night" routine that lights the hallway for five minutes, set up months ago and since forgotten. In Alexa, go to More, then Routines, then Your Routines, and open each one (Amazon). In Google Home, look under Automations.
A routine on someone else's phone
In a shared flat, or a home where a spouse or helper also has the app, the routine may not be yours to see. Google is explicit about its Personal Routines: "Only you can check when your Personal Routine runs in My Activity" (Google). Household Routines are different, and members with Activity permission can see when one starts in the Home history. So ask everyone with access to open their own routine list.
Shared Alexa routines can also outlive the share. Removing a shared link "doesn't affect any copies of the routine previously enabled" (Amazon), so a copy someone enabled months ago can still run on their account. Our guide to who holds which smart home account covers keeping this tidy.
A routine started by a sound or by movement
Alexa routines can start on sound detection, "like the sound of a dog barking or a person snoring", or on presence detection (Amazon). Those are handy until something else makes the noise or the movement. For Occupancy Routines that start too easily, Amazon suggests placing the Echo away from sound sources such as "air conditioners" and televisions, away from airflow such as HVAC vents or fans, and angled away from curtains that move (Amazon).
In a Dubai flat with the AC running all evening, a curtain stirring in the airflow is worth suspecting. The same goes for a plain motion sensor; our guide to how motion sensors decide covers placement.
The power came back
A smart bulb that loses power and gets it back follows its power-on setting, and many ship set to come back fully on. If several lights came on together in the night with nothing in any app's history, a short power dip is a strong suspect. Set them to return to their last state, as our power cut guide explains.
A light that switches off by itself
Alexa has a feature called Hunches. With its automatic actions turned on, Amazon describes it "automatically turning off the lights that are accidentally left on" when it guesses nobody is home or everyone is asleep (Amazon Developer, 2020). If lights go off while someone is sitting quietly in the room and your Alexa app offers Hunches, check its settings there.
Devices that came with the flat
If you moved into a rental with smart switches or bulbs already fitted, the previous occupant's schedules may never have been cleared. Some devices keep schedules on the device itself. Shelly's Gen 2+ devices, for one, run their own schedules, and the device can return "all existing schedules for this device" (Shelly). A light on a schedule you can't find in any of your apps may be running one you never set. Our guide to taking over an existing smart home walks through getting those devices into your own account.
Fix It Without Losing Your Setup
If the history showed what sent the command, that's your answer: turn that one off. If it didn't, turn the most likely suspect off rather than deleting it, and wait as long as the problem usually takes to come back. That's one night for a light that misbehaves nightly, and longer for one that does it every few days. If the light stays put through that stretch, you've found it, and you can delete it or change its time. If it misbehaves again, turn that one back on and try the next suspect.
Don't factory reset the light to make the problem go away. A reset can remove it from every app it's in, and some devices need the printed setup code to join again, which is often lost by then.
If the light is on a smart switch or relay inside the wall, don't open the switch plate to look. A module behind a plate is wired into the mains, so that's a job for whoever installed it or a licensed electrician.
Once you've found it, pick one app to own each light's schedules and turn off any schedules for that light in the others.
Frequently Asked Questions
Can someone outside my home turn my smart lights on?
Anyone who was added to the home, or who knows the login, can usually control the light, and in most cloud-connected apps that works from outside the flat too (Apple Home has a per-person "Control Accessories Remotely" switch). A former flatmate or previous tenant who was never removed keeps whatever access they had. Remove them from the home and from the bulb maker's app too, since Apple notes that someone removed in the Home app might still be able to control accessories through a separate app (Apple), and if they ever knew the login itself, change that password too. If the light is still on someone else's account, see taking over an existing smart home.
How do I stop a Google Home routine without deleting it?
Pause it. In the Google Home app, tap Automations, select the routine, turn off Activate Routine at the top and tap Save. Google notes that deleting a routine is permanent, and that presence-based automations can't be paused, though you can turn off presence sensing so they won't start (Google).
If a light still switches by itself after all that, tell us what it's doing and we'll help you track down what's sending the command.
Ready to Get Started?
Get a free consultation and we'll recommend what makes sense for your situation.
Get Free Consultation