Enhancing Basement Lighting Automation with Smart Timers

I recently set up an automation system for my basement lights, and I wanted to share my experience and some tips that might help others looking to do something similar. The goal was to create a reliable system that automatically turns the lights on when someone enters and keeps them on for a set period before turning them off. This was crucial because the basement has multiple lights on the same circuit, making manual control cumbersome and error-prone.

My setup involves three main automations:

  1. Basement Lights Triggers: This automation turns on the lights and starts a timer when motion is detected.
  2. Basement Lights Timer: This decrements the timer value every minute.
  3. Basement Lights Timeout: This turns off the lights when the timer reaches zero.

I also integrated Alexa’s Actionable Notifications and motion detectors to dynamically adjust the timer based on real-time conditions. This was particularly useful for extending the light duration if someone is actively using the space.

Initially, I faced a challenge with the time pattern trigger firing every minute instead of the intended ten times daily. After some research and trial and error, I realized that adjusting the trigger conditions and ensuring proper integration with the numeric state sensor resolved the issue.

One thing I would love to explore further is moving the time pattern condition out of the trigger section to streamline the automation logic. If anyone has experience with this or suggestions, I’d be happy to hear them!

Overall, this system has been a game-changer for my basement lighting. It’s reliable, energy-efficient, and has eliminated the hassle of manual control. I hope sharing my setup helps others looking to automate their lighting systems.