Hello everyone, I’m excited to share my recent experience with setting up smart lighting automation using motion sensors. I’ve been experimenting with the Zooz 4-in-1 motion sensor and Kevin L’s device handler, which has been a great addition to my setup.
My Goal:
I wanted to create an automation where the lights turn on if motion is detected, but only if the luminance is below a certain threshold. This way, the lights won’t activate unnecessarily during the day or in well-lit areas.
The Setup:
I installed the Zooz motion sensor in my kitchen and set up an automation using the Smart Lighting app. The automation is triggered by motion detection and checks the luminance level before turning on the lights.
The Challenge:
Initially, I faced an issue where the automation would trigger the lights even when the luminance was above the set threshold. After some research and troubleshooting, I realized that the luminance sensor wasn’t integrated correctly into the automation logic.
The Solution:
I adjusted the automation to ensure that the luminance check is a mandatory condition. Here’s how I did it:
- Motion Detection: The automation starts when motion is detected.
- Luminance Check: It immediately checks the luminance level.
- Conditional Activation: If the luminance is below 5, the lights turn on. Otherwise, the automation does nothing.
Outcome:
This setup has been working perfectly! The lights now activate only when needed, saving energy and providing the right ambiance.
Tips for Others:
- Ensure your luminance sensor is placed correctly to get accurate readings.
- Test your automation thoroughly by simulating different lighting conditions.
- Use the rule editor to fine-tune your conditions and ensure they work as intended.
I hope this helps anyone looking to set up similar automation. Happy automating!