# Automate humidity sensor and fan

**URL:** <https://community.homey.app/t/automate-humidity-sensor-and-fan/518>\
**Category:** Questions & Help\
**Created:** [August 25, 2018, 4:05pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518 "2018-08-25T16:05:21Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![SecuJake](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/secujake/32/159110_2.png) [@SecuJake](https://community.homey.app/u/SecuJake)\
**Post date:** [August 25, 2018, 4:05pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/1 "2018-08-25T16:05:21Z")

</div>

Today my bathroom and toilet both have a manual system in place, where the light switch also starts a humidity fan. If i want to automate the light, I will also have to automate the fan (otherwise it’s always on).

Which humidity sensors and smart switch (for the fan) do other people use?

---

<div class="post-metadata">

**Author:** ![tlangelaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tlangelaar/32/10980_2.png) [@tlangelaar](https://community.homey.app/u/tlangelaar)\
**Post date:** [August 25, 2018, 5:54pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/2 "2018-08-25T17:54:19Z")

</div>

I use two Xiaomi Aqara humidity sensors, one in bathroom and one in e.g. the study. If difference between the two is bigger than 7% start fan, if lower than 5% stop it again (or in my case high and medium setting on central ventilation Itho). The Xiaomi sensors are cheap on Chinese sites. And they work accurate with great Zigbee reception.

---

<div class="post-metadata">

**Author:** ![danone](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/danone/32/115743_2.png) [@danone](https://community.homey.app/u/danone)\
**Post date:** [August 25, 2018, 10:05pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/3 "2018-08-25T22:05:33Z")

</div>

My setup for this is an Aeotec Multisensor 6 (permanent powered) which I use both for motion and humidity, plus a Fibaro double switch which controls the light and fan.  
Once someone starts the shower, the humidity level jumps up quickly.  
The fan will stop after either the humidity level drops close to before the shower, or after certain time no motion detected since I don’t want to run the fan forever.

@tlangelaar setup is interesting, I shall tie up the bathroom sensor with another one outside bathroom, too.

---

<div class="post-metadata">

**Author:** ![Joey\_van\_der\_Beek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joey_van_der_beek/32/8349_2.png) [@Joey\_van\_der\_Beek](https://community.homey.app/u/Joey_van_der_Beek)\
**Post date:** [August 26, 2018, 12:31pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/4 "2018-08-26T12:31:36Z")

</div>

I have installed a Xiaomi Humidity sensor in the bathroom that triggers a flow that puts on the ventilation with a KUKA on/off.

In combination with the app ‘countdown’ the ventilation stays on when the humidity is above 70%, evertime the humidity changes and it’s still above 70% the countdown will expand the ‘on-time’ with 5 minutes. Works great.

---

<div class="post-metadata">

**Author:** ![Belpet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/belpet/32/28834_2.png) [@Belpet](https://community.homey.app/u/Belpet)\
**Post date:** [August 26, 2018, 7:10pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/5 "2018-08-26T19:10:10Z")

</div>

Could you share your flows? I’m probably setting up the same system soon.

---

<div class="post-metadata">

**Author:** ![tlangelaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tlangelaar/32/10980_2.png) [@tlangelaar](https://community.homey.app/u/tlangelaar)\
**Post date:** [August 26, 2018, 7:54pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/6 "2018-08-26T19:54:33Z")

</div>

Sure. They’re in Dutch, ask if something is not clear enough. The flow have been created with the Web app ([my.athom.com](http://my.athom.com)), screens come from preview Android app.

The triggers (when) are based on humidity changes of the bathroom Xiaomi sensor.  
The conditions (and) use a Homey logic card to compare the bathroom humidity (dragged from trigger card) with the humidity from my study (dragged from tags dropdown above in flow editor) and using inline calculations with double accolades. The second condition might differ for you, I’m using a three position controlled central ventilation system).  
The action (then) triggers another low that simply changes the ventilation setting. Thus way can reuse it and invite some night specific lower ventilation to reduce noise / power consumption.

 ![Screenshot_20180826-214133_Homey%20(Preview)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/1X/72eff87df4356325cf8d64bbfb9d9790ed1d9ca7.jpeg) ![Screenshot_20180826-214024_Homey%20(Preview)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/1X/8d45b259bdaf54845057792c7dbc40a346b08b58.jpeg)

---

<div class="post-metadata">

**Author:** ![Belpet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/belpet/32/28834_2.png) [@Belpet](https://community.homey.app/u/Belpet)\
**Post date:** [August 26, 2018, 8:21pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/7 "2018-08-26T20:21:22Z")

</div>

Thanks, that’s a very interesting approach! I’d really like to see @danone his flows as well, if he’s willing to share. I currently have only a Multisensor 6 laying around…

---

<div class="post-metadata">

**Author:** ![danone](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/danone/32/115743_2.png) [@danone](https://community.homey.app/u/danone)\
**Post date:** [August 26, 2018, 9:09pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/8 "2018-08-26T21:09:50Z")

</div>

Long story short, some 6-7 months ago I gave up Homey due to endless z-wave problems. Now I hear all good and in the process of setting Homey back 😀

I have all the old flows saved as screenshots and once I get home (end of this week), I shall share this particular one here. Thanks for your patience!

@tlangelaar Nice logic, thanks for sharing!

---

<div class="post-metadata">

**Author:** ![Belpet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/belpet/32/28834_2.png) [@Belpet](https://community.homey.app/u/Belpet)\
**Post date:** [August 27, 2018, 3:00pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/9 "2018-08-27T15:00:13Z")

</div>

Thanks in advance, @danone!

---

<div class="post-metadata">

**Author:** ![Jozo](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@Jozo](https://community.homey.app/u/Jozo)\
**Post date:** [October 1, 2018, 10:29am UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/10 "2018-10-01T10:29:22Z")

</div>

Hi @tlangelaar, would you mind sharing how you’ve hooked up your itho perilex ventilation to Homey?

---

<div class="post-metadata">

**Author:** ![Wout\_van\_den\_Dool](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout_van_den_dool/32/391_2.png) [@Wout\_van\_den\_Dool](https://community.homey.app/u/Wout_van_den_Dool)\
**Post date:** [February 18, 2019, 9:41pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/12 "2019-02-18T21:41:52Z")

</div>

Yes I want to know also

---

<div class="post-metadata">

**Author:** ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)\
**Post date:** [February 18, 2019, 9:50pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/13 "2019-02-18T21:50:26Z")

</div>

I think via a Fibaro or similar double switch attached to the Itho power leads. I know i saw a scheme about that somewhere…

Found it: [https://www.robbshop.nl/domotica/projecten/z-wave-badkamer-ventilatie](https://www.robbshop.nl/domotica/projecten/z-wave-badkamer-ventilatie)

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [July 14, 2020, 8:01pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/14 "2020-07-14T20:01:45Z")

</div>

Thx, @tlangelaar!  
I was looking for the same, so your post helped me a lot!

Do you still use the same numbers in your equations? So a difference of 9% humidity for turning the ventilation of and 7% for turning the ventilation off?

Looking for the most optimal values for our wet Dutch climate… 🙂

---

<div class="post-metadata">

**Author:** ![tlangelaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tlangelaar/32/10980_2.png) [@tlangelaar](https://community.homey.app/u/tlangelaar)\
**Post date:** [July 14, 2020, 8:07pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/15 "2020-07-14T20:07:18Z")

</div>

I now have higher than +20 for detecting raised humidity and lower then +10 to go back to normal.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [July 14, 2020, 10:33pm UTC](https://community.homey.app/t/automate-humidity-sensor-and-fan/518/16 "2020-07-14T22:33:37Z")

</div>

> [@tlangelaar](#):
>
> higher than +20 for detecting raised humidity and lower then +10 to go back to normal

Great, thx. I’ll try that too!
