Monday, February 20, 2023

Say Goodbye to Bathroom Humidity: How to Automate Your Exhaust Fan with Home Assistant and a Humidity Sensor

Bathrooms are one of the most frequently used rooms in any home. But did you know that all that moisture from your shower can wreak havoc on your bathroom and even lead to mold growth? That's why having a good ventilation system is crucial, and a bathroom exhaust fan is a crucial component.

In this post, we're going to show you how to automate your bathroom exhaust fan using a home automation system, like Home Assistant, and a humidity sensor. Not only will this keep your bathroom dry and fresh, but it'll also save you energy and money.

Here's what you'll need:

Step 1: Install the Humidity Sensor

First things first, install the humidity sensor in your bathroom. Put it in a location where it can accurately measure the humidity level in the room. You can mount it on the wall or place it on a shelf. Then, connect the humidity sensor to your home automation system by following the manufacturer's instructions.

Step 2: Install the Smart Switch

Next, install the smart switch that will control your bathroom exhaust fan. You can pick any compatible switch that works with your home automation system. We suggest the Enbrighten Smart Switch because it's simple to set up.

Follow the manufacturer's instructions to install the switch, and make sure to connect it to your home automation system.

Step 3: Set Up the Automation

Now, let's set up the automation that'll control your bathroom exhaust fan. In Home Assistant, a third-party blueprint makes this very easy to set up.  You can find it on this post on the community forum.

Step 4: Test the Automation

After setting up the automation, test it out. Take a shower and let the bathroom get humid. If everything is set up correctly, the automation will turn on the bathroom exhaust fan when the humidity level reaches the set value. You should hear the fan turn on and feel the air being sucked out of the room.  This automation should also turn off the fan after a configurable amount of time after the humidity returns to the previous level.

Step 5: Enjoy the Benefits

You did it! Your bathroom exhaust fan is now automated. No more worrying about turning it on or off manually. It'll turn on automatically when the humidity level gets too high and turn off after a certain period of time. This'll keep your bathroom dry and smelling fresh, save you energy and reduce your carbon footprint.


Automating your bathroom exhaust fan is an easy way to keep your bathroom fresh and dry. By using a home automation system and a humidity sensor, you can save energy and money. We hope you found this post helpful and now you can enjoy a smart bathroom exhaust fan!

No comments:

Post a Comment

Unlocking Raspberry Pi Potential: Navigating Network Booting Challenges for Enhanced Performance and Reliability

I've set up several Raspberry Pis around our house for various projects, but one recurring challenge is the potential for SD card failur...