Skip to main content

Digital Trends may earn a commission when you buy through links on our site. Why trust us?

How to automatically light up a room when you enter

Smart lights are a wonderful addition to the home. Besides having loads of settings for cool colors and animations, they can also save power with intelligent scheduling and presence awareness. With a little bit of elbow grease, your lights only need to stay on as long as necessary and can turn on the second you come into the room.

The nice thing about building an automation like this is that it's very straightforward and can work with a variety of devices. Sure, you might have some Nanoleaf Shapes that you want to automate, but if you have some remote bulbs that are harder to upgrade, you can often achieve the same results by swapping in a smart light switch. Sensors are equally flexible. You can have a Hue Outdoor Sensor that sees you pulling up in the driveway or a Switchbot Contact Sensor keeping tabs on your front door. Some lights, particularly smart outdoor floodlights, have motion sensors built right in. Most of the time, it's possible to tie light and sensor together regardless of brand.




30 minutes

What You Need

  • Smart lights or smart light switch

  • Sensor (motion, door, or location)

The specifics of smart light automations will vary depending on the lights and the sensors you're using. When the two are from the same brand, you can expect to have more consistent interactions. When that doesn't work out, IFTTT has proven to be a great bridge between multiple brands. Mobile platforms themselves can also give these devices a way to talk to one another. For example, iOS offers automations between HomeKit devices, so certain actions on one device can trigger responses on others.

How to automatically turn on your lights

Step 1: Install your lights and sensors.

You will need to install the official mobile apps for either product. If possible, connect to Google Assistant, Apple HomeKit, and Alexa to get as many levers as possible to put automations in order.

Many smart lights will have geofencing options available. In these instances, you don't even need a sensor to have lights automatically turn on or off if you're nearby. Instead, your phone's GPS position relative to your home determines if the lights switch.

Step 2: Determine automation options.

If you're using devices from the same brand, automation options between sensors and lights should be built into the native app. If the devices are from different manufacturers, but they both plug into Apple Home, and you're using an iOS device, check the Automations section of the Home app. From here, it should be possible to tell the lights to turn on if motion is sensed.

how to control smart home devices apple mac app new automation
Image used with permission by copyright holder

Step 3: If your sensor and lights are different brands and Apple HomeKit isn't an option, register an account with IFTTT and connect it to the accounts for your devices.

Step 4: Once you create an IFTTT account and connect to your devices, you need to create a recipe.

You can dig into the specifics on how to build IFTTT recipes here, but the process is pretty self-explanatory. Simply pick your brand and the device associated with it, the triggering action, then pick the brand of light, and the specific bulb to go off when it senses your presence.

This functionality is just one of many great smart light automations you can set up. Be sure to explore the whole range of functions available to your hardware.

Editors' Recommendations

Simon Sage
Simon has been publishing in tech since before the first iPhone was released. When he's not busy lighting a candle for the…
The best smart blinds for 2023
Tilt My Smart Roller Shades

Smart blinds are the unsung heroes of the smart home. Having motorized shades that raise and lower with voice commands or on a set schedule is one of the best ways to create the illusion of someone being home, even if you're away. Smart blinds also are an effective way to save on your energy bill: Let in more light, keep the heat turned down, and let the sun save you some dough. Conversely, you can save on air conditioning costs by closing the blinds on hot days. Between convenience and energy savings, they're an accessory worth exploring – and we've rounded up the best smart blinds you can buy today right here.

Read more
GE Lighting launches Smart Hexagon Panels with support for Alexa and Google Home
The GE Lighting Smart Hexagon Panels installed in a game room.

Cync by GE Lighting has officially launched the Dynamic Effects Smart Hexagon Panels, making it the latest member of the ever-growing Dynamic Effects family. Compatible with both Alexa and Google Home, the panels are designed to offer a highly programmable lighting solution for home theaters, game rooms, or anywhere else in your home that might benefit from a pop of color.

The Hexagon Panels clock in at $190 for a pack of 10 -- putting them above similar products from Govee and other lighting brands. However, the GE Lighting panels are well specced, featuring 16 million colors, six controllable zones within each hexagon, and directional control for music and light shows. If you don’t want to create your own light shows, you can choose from a list of pre-built options.

Read more
How to set up Ring motion zones
Ring Video Doorbell 4

If you’re getting too many unwanted Ring alerts, it might be time to customize your Ring motion zones. This feature lets you tell your Ring video doorbell which areas of your front yard to monitor -- if motion happens beyond these zones, it’ll be ignored. It’s most useful for homes in busy neighborhoods with bustling sidewalks or a constant flow of traffic, but almost every location can benefit from a few tweaks to Ring motion zones.

Read more