Hey everyone, I wanted to share a fun and practical automation I recently set up in my home using Home Assistant. It’s all about detecting when someone is taking a shower using humidity sensors and door contacts. I’ve been really impressed with how reliable this setup is, and I’d love to hear if anyone else has tried something similar or has tips to improve it further!
The idea came from wanting to keep track of shower usage, especially since our bathroom also has a toilet that becomes less accessible when someone is showering. Here’s how I did it:1. Setup: I used a room humidity sensor and a door contact sensor. Every time someone enters the bathroom and closes the door, the current humidity level is stored in a variable. If the humidity increases by 5% or more while the door remains closed, it triggers the automation to notify me that someone is showering.2. Notifications: I receive real-time updates on my dashboard, including the start time and humidity level. The automation also sends me a notification when the shower starts and ends. This is super handy for tracking usage and ensuring everything works smoothly.3. Challenges and Solutions: Initially, I was worried about false positives, especially since humidity can fluctuate for other reasons. However, by focusing on the rate of increase rather than absolute values, the system has been very reliable. I also had to tweak the automation a bit to ensure it works seamlessly with multiple people using the bathroom back-to-back.4. Tips for Others: If you’re thinking of setting something like this up, I’d recommend: - Using a high-quality humidity sensor to minimize errors. - Testing the threshold values (like the 5% increase) in your specific environment. - Considering how you’ll handle notifications to avoid being overwhelmed.This project has been a great way to get more familiar with Home Assistant automations, and I’m excited to see how else I can apply similar logic in my home. If anyone has questions or suggestions, feel free to drop them below! ![]()