Automating Bathroom Ventilation: Seeking Input and Solutions

I’ve been working on optimizing my home’s ventilation system, particularly in the bathroom, and I’d love to hear others’ experiences and suggestions. Currently, I have a humidity sensor that triggers the exhaust fan based on relative humidity levels—high, medium, or off. While this works well, I’d like to add a few more layers of functionality to make it even smarter.

Here’s what I’m thinking:

  1. Override Button: I’d love to have a physical button or a dashboard toggle that lets me manually enable or disable the medium ventilation setting. This would be super handy if I want to run the fan without waiting for the humidity to rise.

  2. Window Sensor Integration: My bathroom windows have sensors, and I’d like the system to automatically disable medium ventilation if any window is open. This would prevent unnecessary energy use and ensure fresh air when windows are open.

  3. Cross-Platform Humidity Check: I have a hallway humidity sensor, and I’d like the bathroom system to disable medium ventilation if the hallway humidity is within 5% of the bathroom’s current reading. This would help prevent over-ventilation when the hallway is already at a similar humidity level.

  4. Dynamic Thresholds: Ideally, I’d like to set the %RH thresholds for switching between high, medium, and off via separate inputs, perhaps using inject nodes in Node-RED. This would allow for more flexible adjustments based on seasonal changes or personal preferences.

I’ve started drafting a Node-RED flow for this but am not entirely sure how to integrate all these conditions seamlessly. Has anyone tackled a similar project? Any advice on best practices or potential pitfalls would be greatly appreciated!

Looking forward to hearing your thoughts and experiences!