Hey everyone, I hope you’re all doing well! I wanted to share a project I’m working on and get some advice from the community. I’ve been really happy with my current smart home setup, but I’ve run into a small issue that I’d love to solve.
I have a flow that controls my bathroom fan and lights. When motion is detected, the lights and fan turn on. After a set delay time, they turn off. It works perfectly, but I’ve noticed that when I take a shower, the fan turns off too soon, leaving the bathroom really humid. I’d love to make this smarter by integrating a humidity sensor.
I’ve added a temperature and humidity sensor in the bathroom. My idea is to have the fan continue running until the humidity drops to a certain level. For example, if the humidity is above 60%, the fan stays on until it reaches 50%. I’m not very experienced with coding, so I’d appreciate any guidance on how to adjust my existing flow to include this functionality.
Here’s a breakdown of my current flow:
- Motion sensor detected
- Lights and fan turn on
- Delay time set via input boolean
- After delay, lights and fan turn off
I’d love to hear if anyone has implemented something similar or has tips on how to modify my setup. Maybe there’s a better way to handle the humidity control? Any advice would be greatly appreciated! Thanks in advance for your help.