Combining Motion and Humidity Sensors for Smart Lighting

I’ve been experimenting with integrating motion and humidity sensors to create a more intelligent lighting system in my bathroom. The idea is to have the lights turn on when motion is detected, but also stay on if the humidity reaches a certain level, which is perfect for those steamy showers! Here’s how I set it up:

  1. Motion Sensor: I used a reliable motion sensor placed near the bathroom door to detect when someone enters.
  2. Humidity Sensor: I installed a humidity sensor in the bathroom to monitor moisture levels.
  3. Flow Setup: I created a flow in Home Assistant that triggers the lights to turn on when motion is detected. Additionally, I added a condition to keep the lights on if the humidity exceeds 60%.
  4. Auto-Off Timer: To prevent the lights from staying on indefinitely, I set a timer to turn them off after 15 minutes if no further motion is detected.

This setup has been working beautifully! It’s not only convenient but also energy-efficient. I’d love to hear if others have similar setups or any tips to improve this further. :star2: