Home / Pro Tips & Tricks

How to Set Up Occupancy-Based Lighting Automation

Daniel Miller



Time to read 1 min

In the past, many of you have set up motion-activated lighting for automations. Apparently, this automatic lighting offers convenience and helps save energy. However, as the technology advances, we build a more user-friendly sensor to activate lighting based on human presence. This guide will walk you through setting up occupancy-based lighting automation in your home.


- Treatlife Presence Sensor(s)

Step 1: Add the Devices to the Treatlife App

After preparing the mentioned devices and finish the installation, follow the on-screen instruction to add them to the Treatlife App.

Begin by downloading the Treatlife app from your device's app store. Once installed, open the app and create an account or log in if you already have one.

Step 2: Set Up Automation Trigger

1. In the Treatlife app, go to the "Smart" tab.

2. Tap "+" > " in the upper right corner.

3. Select your presence sensor as the target device to trigger the automation.

4. Select “Presence” as the trigger state.

how does motion sensor work
how does motion sensor work

Step 3: Set Up Automation Action

1. Add the lighting devices to run the automation.

2. Set the action as switching ON.

how does motion sensor work

Last, save the automation. Anytime when the presence sensor detects occupancy in a room, the lighting devices you chose will be automatically turned on.

how does motion sensor work

Step 4: Test and Refine

1. Walk past your sensor to test if the lights turn on as expected.

2. If the lights don't respond or the timing is off, go back to your sensor settings.

3. Adjust the target distance if it's not detecting human presence properly.

Advanced Tips

After the previous settings, create another automation to switch off the lighting devices when no human presence is detected. Thus the occupancy-based automatic lighting is complete. Here are major steps: 

Add “No Presence” to the Condition

Add “Switch Off” to the Action

how does motion sensor work

Setting up occupancy-based lighting automation with Treatlife devices is a breeze. By following this step-by-step guide, you can create a smarter, more energy-efficient home based on human presence. The key is to experiment with settings until you find the perfect balance of responsiveness and energy savings.