🚿 Bathroom Humidity Exhaust Fan

Thanks! I missed that. Just to confirm, setting option “2 - Enable the bypass - Turn the fan, lights & automation link OFF,” and selecting my binary sensor, will disable the automation when the binary sensor is On. Is this correct?

@dovy6

No problem. There is a lot in it and I understand it can be confusing.

Yes

Every bypass option will disable the automation. The options are only for what you would like to happen when your turn the entity (your binary sensor) ON.

Option 2 will turn everything OFF
Option 1 will turn everything ON
and Option3 will keep everything as is when the entity is turned ON.

You get to choose what you would like to do. Because you indicated I don’t want the automation to fire whenever a certain binary sensor is “true.” I assume you would like it OFF. So if it is running and you turn the entity ON it will turn everything OFF and disable the automation.

Blacky :grinning:

1 Like

Does anyone know how I can use an MQTT action(?) to trigger act as the manual switch?

Before setting up this blueprint I had it set up as follows with an automation:

But the “double_center” action doesn’t show up in the manual trigger section, I guess because it isn’t a switch or a boolean?

I’m using the Aqara W100 connected via Zigbee.

@Blacky, first off thanks for this blueprint! I just came from Homey (which died forcing me to finally take the plunge) and these blueprints make life much easier!

I do have a question and maybe my lack of deep knowledge in Home Assistant keeps me from answering it myself but (or finding the anser in the 3+ years of posts)

We’ve got a fan system in the house which serves not only for getting rid of moisture in the bathrooms and smells from the toilet but also to just keep the air in the house fresh. This means that the fan is actually never “off”, for me “Off” would mean that the fan runs at “20%” but the fan is also so powerfull that “100%” is often (especially in summer) not required and just ends up making more noise than required on the top floor where it’s located so my previous “Homey setting” was running it at 60/70%.

Is there an option to set the speed instead of turning it on/off in both cases?

@SgtSiff

Sorry loks like I missed this one. You are using an event as a trigger and it need to have an ON / OFF state. I wish manufactures would provide an ON / OFF state or at least an option to have it… double tap = ON double tap = OFF. This way we wouldn’t need to do anything. You try and create a toggle helper and toggle that helper ON and OFF when you double tap. You then use that helper in the blueprint. If your not sure how to create a template binary sensor then you can try this blueprint :nazar_amulet: Press Button - Turn ON & OFF Entities.

Blacky :grinning:

@3dutchie

Welcome to the HA community.

Your welcome… I am glad you taken the plunge for Homey to Home Assistant and in doing so my blueprint have helped you.

Yes, the way we do it is in Fan section. In the Fan Speed - Switch Off you enter in the entity that will turn your fan to 20%. If you don’t have this entity then you create a script that turns your fan ON to 20% and select the script. Once you done that in Default - Summer Mode and also in Winter Mode you will see an option Use The Fan Speed Options In there you can select 2 options depending if your also going to use the Fan Speed - Low Speed Switch option in Fan. If you just using the Fan Speed - Switch Off option then select option 2 in Use The Fan Speed Options. If you going to also use the Fan Speed - Low Speed Switch then select option 1 in Use The Fan Speed Options.

Now when the automation finishes it will turn your fan ON to 20%. Just because it says OFF in Fan Speed - Switch Off you can use this to run your fan at 20%. Confusing I know but hopefully this has helped you. Maybe I should update the description so it is clearer.

Let us know how you go.

Blacky :grinning:

Thanks for this blueprint, it’s really well thought out and appreciated!

I’d like to build a delay into it - during the colder months, the fan makes the bathroom cool down pretty quickly, so I’d like to delay the fan coming on until after I’m out of the shower. I figure the easiest ways to do this are either a straight time delay (after the humidity increases beyond the threshold, wait an additional ~5 minutes before turning the fan on), or ideally wait until after motion is detected in the bathroom (my motion sensor doesn’t cover the shower).

Is there an approach that will achieve this?

@Pirateguybrush

Thanks I try limit the number of inputs so they don’t become overwhelming but it can be hard… thank you.

:thinking: I going through all the logic in my head. The motion sensor would need a lot of logic in the blueprint. The 5 min delay would be easy enough to do but is it always 5 min. What if you made it so the winter will never trigger the automation. Then maybe use another automation so maybe when you turn OFF the light or your motion it triggered and your withing the winter months and your humidity is high you turn ON a toggle helper. Then use that toggle helper in manual fan switch or manual trigger.

Blacky :grinning:

Thanks for the ideas! Rather than basing it on winter/summer, would it be possible to use the temperature readout from the humidity sensor?

If the temperature is above a threshold, the fan runs normally. If it’s below the threshold, run it after a delay instead.

@Pirateguybrush

If you like I can custom the blueprint so you have options for the winter.

  1. Once triggered delay turning the fan ON.
  2. Once triggered wait for you motion sensor.
  3. Disable work as normal.

If this is what you would like, then just PM me and I will set it up for you.

Blacky :grinning:

First of all thank you for the effort put into this Blueprint, it’s very well setup and not less important also quite well documented. But still I have two questions:

  1. Does someone has an example of how to use this blueprint with an Itho fan that predefined modes (like low, medium, high, 10min, 20min etc.) available in HA?
  2. I currently have a script running in my Domoticz home automation which works fine but I want to switch to HA. The current script has a pause in switching the fan on witch starts to run after the making of hot water is stopped (using an OTGW integration). This prefents the fan is on during showering (I don’t like the drought when I’m showering. How can I implement this in the blueprint?

I’d like to use automation for my office, which is in the basement and where the humidity sometimes rises considerably. I’ve installed a fan heater in the room for this purpose.

I’d like to use your blueprint for it, as I’m generally having a bit of trouble with it.

This is what I’ve set up so far and hope it works:

alias: BĂźro LĂźftersteuerung
description: ""
use_blueprint:
  path: Blackshome/bathroom-humidity-exhaust-fan.yaml
  input:
    trigger: sensor.buro_luftfeuchtigkeit_ableitung
    bathroom_humidity_sensor: sensor.luftfeuchtigkeit_buro_alle_gerate
    manual_trigger:
      - input_boolean.umschalter_lufter_buro
    include_manual_trigger: enable_manual_trigger_time_delay
    manual_trigger_winter_time_delay: 30
    fan_switch:
      device_id: a5b5f921d86071eb8666b5b18a1bd740
    time_out: 45
    include_max_humidity: maximum_humidity_enabled
    max_humidity: 80
    include_manual_fan_switch: disable_manual_fan_switch

@cupra25

You probably best to use a dehumidifier…

If your going to use the fan heater have a look at this bluprint :thermometer: Temperature Control Fan. You then would use;

  1. Think of the trigger temp as humidity instead.
  2. Fan mode = Fan
  3. In Fan use Basic Mode or Basic Mode + Maximum Run Time

Blacky :grinning:

I’m having a bit of trouble adapting your previously working blueprint to my new HRV setup. I have three scripts to set the HRV unit to Low, Normal and Boost modes. I want to use Boost mode when the humidity derivative is tripped, so I setup the helper and it works fine.

However, I want the fan to return to Low mode when the humidity falls, so I put the script and helper into the Fan Speed - Low Speed Switch section. I have nothing in the Fan Speed - Switch Off section as I never want the HRV turned off.

However, there is no option under Use The Fan Speed Options to just set Low mode only and I’m having problems with the fan not returning to Low mode.

As the shower is only used a couple of times a week, testing this is taking a long time so I thought I would check with you for any hints or suggestions.

Thanks!

SENSOR Change:
Hi - I eventually got around to replacing an older Xiaomi bluetooth sensor with the sub 1Ghz one below from Tapo. Works perfectly with this automation.

@sota

Hi Pat,

Since you never want the fan to turn OFF, you should add your Low Mode script only to the Fan Speed - Switch Off input… not to the Fan Speed - Low Speed Switch.

Then, under summer / winter settings Use The Fan Speed Options, set it to Option 2: Enable the fan speed - Turn off option.

Even though it says “Turn OFF”, it will actually trigger your Low Mode script. Since you always want Low Mode to stay ON, this is the correct way to set it up.

Let us know how you go.

Blacky :grinning:

@GlenW

Thanks for sharing Glen… it is nice to know what one works and I am sure it will help others. Maybe if you remember or get a chance let us know how it going 1 year from now.

Blacky :grinning:

This looks great. Just finished making my setup work when i found your blueprint… typical.

I used two sensors one outside the bathroom and one inside, Node red and a Fan with 0-10 controlled speed and some helpers. But yours seems a lot easer to adjust.
Do your blueprint have a way to use a 0-10 speed fan?

@Mr-Basie

Yes, but you create a scripts for your fan speeds, one for High, one for low and one for OFF. You then use the scripts and enable the options to use fan speeds.

I tried the 2 sensor option and it never worked well. This has been proven to work now for years.

Blacky :grinning:

Hi Blacky, I have a strange issue that the off script is never getting called any more. I have checked (and re-checked!) the automation settings but can’t figur out what is going on. Starts perfectly and never stops. I have setup a seperate automation as a stop-gap measure but are you able to help with why it’s no longer turning off the fan? Any logs I can share that would help?