🚽 Toilet Exhaust Fan - Time Delay - Trigger Wait Time - Time

Hey,
Awesome work on this blueprint. Is it possible to consider adding a sort of helper countdown based on the delay? Use case is the visual button show when on or off, but would also be good to see the timer counting down on the button, when light is on and when the fan will kick in. Then when the light is turned off, the countdown to show when the fan will stop? Just a thought.
Keep up the great work and thanks

@snappa2000

Thanks for you suggestion, currently I have no plan to add a visual counter.

Blacky :grinning:

New update 2.9

:new: New Feature

  • Lights Option

    Added support for the Lights option when a light is used as the trigger.

    • Lights - If your trigger is a light, you can now set the brightness, colour temperature, or colour.
    • Night Lights - You can also enable night lights to apply different settings, such as lower brightness, warmer colour temperature, or a specific colour, ideal for late-night trips to the toilet.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

Hi, thank you for the great blueprint!

I’m using your toilet-exhaust-fan.yaml automation and would like to add a small enhancement:


Goal:
I want to automatically trigger a deodorizer spray (entity: switch.fresher_freshen_the_air) a few seconds before the exhaust fan (switch.fan_tualet) turns off.


My setup:

  • Occupancy sensor: binary_sensor.espresenceld_sensor_ld2410_zone_2_occupancy
  • Fan switch: switch.fan_tualet
  • Deodorizer spray: switch.fresher_freshen_the_air

Desired behavior:

When the automation decides to turn off the fan (either after presence delay or after manual auto-off), I want it to:

  1. Trigger switch.fresher_freshen_the_air
  2. Wait ~2 seconds
  3. Turn off the fan

I know this can be done via a separate automation, but I’m wondering:

  • Is it possible to implement this directly within the blueprint (e.g. via custom_conditions or a new pre_off_action)?
  • Could this be considered as a feature request for a future version?

Thanks again for your work!

@burjuyz

Yep, I can see that being a very useful feature and make total sense to have this option built in. I will add it to the list to do. Thanks for your suggestion!

Blacky :grinning:

I have my own automation based on a presence sensor, someone needs to be in the restroom for one minute thirty seconds, then it turns on a relay connected to the bathroom exhaust. This ensures we dont burn electricity for going number 1, or just washing our hands.

Secondly i have a second automation that scans if theres presence in the rest room every five minutes if not then turn off the relay to the fan, i notice sometimes ha fails to run automations to zigbee relays, so its a redundancy to ensure we dont burn electricity.

Hi Blacky,

I really love your blueprints, like the sensor light or the notifications :slight_smile:

For both the toilet exhaust and bathroom exhaust, I have a suggestion: Could you add a ā€œdoor closedā€ condition? Here are some examples from my life:

I have a cat (he is a very good boi :D). He uses his litter box, and sometimes ā€œnumber 2ā€ happens. For that, I have a VOC sensor installed, which should trigger the fan, but only when the door is closed. The first reason would be during the night, which I could configure right now. But sometimes I get up at night, use the toilet, and see—or rather smell—that my cat used his litter box. So I clean it up and close the door. Only then should the fan start its work.

Another example: In the morning I am in the bathroom, and since my cat is very curious, he is in there with me. I get in the shower, but leave the door open so he can come and go. Every now and then, he uses his litter box. Because the door is open, the fan isn’t powerful enough to pull all the air from the rest of the flat in, so the humid air from my shower and the smelly air from the litter box just linger. Running the fan then is just a waste of energy. When I finish my shower and close the door, the fan could finally start its work.

There should also be an option for how long the door can stay open before stopping the fan. For example, if I just need to grab something from the bathroom and am in and out in under a minute, the fan should just keep doing its work. If the door stays open for a longer time, like five minutes, the fan should stop.

This would be great :slight_smile:

As of now, I don’t know how to implement this using helpers alongside your blueprint :frowning:

@BastiKA84

So do you use the inverter mode and use the door sensor as the trigger?

Blacky :grinning:

Many thanks for the blueprint, @Blacky :grinning:

I have this scenario: main trigger is a presence sensor, which works fine. However behind the plate for the toilet flush I have a vibration sensor which is triggered what someone flushes. Is there any way to integrate this as well and starting the fan without any wait time?