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.

Difficulty

Moderate

Duration

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…
How to fix the ‘unreachable’ error on Nanoleaf Skylight
The Nanoleaf Skylight lighting up a room various shades of purple.

The Nanoleaf Skylight is one of the most unique smart lights on the market. Instead of a simple light bulb or light strip, the Skylight is a series of light panels designed to be installed on your ceiling. Once in place, they act much like other Nanoleaf products, with tons of customization options and color settings available in the mobile app. However, some users are running into an "unreachable" error that prevents them from properly using their Skylight.

If you've stumbled upon the issue, here's a look at how to fix the "unreachable" error on Nanoleaf Skylight, along with additional tips on how to troubleshoot the Skylight pairing process.

Read more
How to reset Philips Hue bulbs and light strips
Philips Hue bulb on a bleached wood plank.

The Philips Hue smart light bulbs are some of the best on the market, offering reliable performance and dozens of customization options. But like all electronics, they're susceptible to various glitches and errors. Thankfully, running into a problem with your Hue light bulb doesn't mean it's time to replace it – you might just need to perform a reset.

Alternatively, a reset is a great option if you're looking to sell your Hue lights, ensuring none of your data or settings carries over to the new owner.

Read more
How to view your IP camera remotely via a web browser
A computer showing off the stream of an IP camera.

It's quite logical to have a camera in or around your home or business. Most of the best home security cameras use an app to let you see what's going on. Many also give you the option to view via an IP address (you might remember this as the number that starts with "192" on your router) and a web browser on a device connected to the same network. This can be great if your phone, for example, isn't compatible with the cam's app or if the camera just doesn't have one. Pair one of the best indoor security cameras that have this feature with your iPhone and you can finally see what the back of your hat looks like, if you follow these steps.

Read more