Maintenance
- Update logic on manual fan switch.
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky
Maintenance
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky
Added Logic
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky
Your blueprints are EXCELLENT - thanks so much for the huge amount of time that it takes to write and maintain these, I know itâs a lot of effort. MUCH appreciated!
I came here to ask if this blueprint could be used with the Bathroom Humidity Exhaust Fan and I see you have already addressed that I will have a look and see if I can get both working together.
I did actually start out configuring the Bathroom Humidity Exhaust Fan blueprint but as my lights and the fan I use are all on a Philips Hue network, I couldnât see the devices needed. Maybe thatâs a config option on the Hue integration that I still need to do? I used to use HA for a few years but since moving have only just re-built and installed it on a Pi 4.
Thanks.
You can use all three, toilet, bathroom and sensor light⌠they will all work together and I can recall helping another community member. Click here and follow this conversation.
Blacky
Bugs Fixes
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky
FAQ - How to link the Toilet Exhaust Fan Blueprint With Bathroom Humidity Exhaust Fan Blueprint
First you must create a toggle helper. Go to Settings / Devices & Services / click on the Helpers tab / click Create Helper / and select Toggle
Then input the name you would like to call the toggle helper and select an icon if you like and click create.
Now you have a toggle helper that we can use in both automations. Once you created both automations using the blueprints we then can add the link between the two.
Go into the Bathroom Humidity Exhaust Fan automation. In the âFan Switchâ we will add the toggle helper we just created. Then click save.
Go into the Toilet Exhaust Fan automation. In the by-pass section we will enable option 3 and add the toggle helper into âBy-pass Switch - Keep The Fan Current Stateâ. When using this option we canât enable the auto OFF feature as the Bathroom Humidity Exhaust Fan automation will be controlling it.
Then down the bottom make sure the HA Restart Option is disabled as the Bathroom Humidity Exhaust Fan automation already has a built in HA restart option and is why this one is optional so we can disable it when linking the two. Once done click save.
Your automations will now be linked giving priority to the Bathroom Humidity Exhaust Fan automation.
Enjoy
Blacky
Back to the FAQ Click Here
Hi, Apologies for basic questions (HA noob here). I have a bathroom light and bathroom fan that Iâm using this blueprint on. Iâd like to add the manual fan switch option but am confused on how to set it up. How do I make a manual fan switch entity thatâs not connected ot the actual fan but will also trigger the fan?
Thanks
Welcome to the community.
You can create a toggle hepper if you like or there are many different ways to add a manual wall switch so I will show you the toggle helper and if you would like a manual wall switch is is just like any other switch into HA but connected to nothing⌠just need the state change.
Go to Settings > Devices & Services > click on the âHelpersâ tab / click â+ CREATE HELPERâ and select âToggleâ.
Add your name. You can also add an icon if you like and click create.
Add it into the âManual Fan Switchâ.
Blacky
Thanks for the reply. Iâm not sure if Iâm doing something wrong. Hereâs what I want to happen. I have two physical swtiches (each for the fan and the light). The light automation works perfect. What Iâd like is to be able to turn on the fan switch and have it run for a bit and turn off automatically. Would that scenario work with the manual fan switch feature?
Yes but the switch can be the same switch that controls the fan. Try it will a toggle helper and you can see how it works. Setting below shows the fan to run for 5 min.
Blacky
I tried adding the Helper as the Manual Fan Switch and turning on the actual fan switch does not seem to trigger the auto off. To be explicit here are my settings
Downstairs Bathroom lights is the switch that turns on the lights. Downstairs Bathroom Fan is the switch that turns on the fan. And Down Bathroom Helper is the Toggle Helper. In this case, turning on the fan using the Downstairs Bathroom Fan does not trigger the auto off.
Just tested it here and all is working. Note your bathroom light must be OFF. You donât turn the fan ON you turn the toggle helper ON. When you turn the toggle helper ON it will turn the fan ON and then OFF in the auto OFF time delay.
Blacky
Yeah. Thatâs the problem. I wanted the fan to turn on using the switch because thatâs what all the rest of the family uses. It does work with turning it on via the toggle helper.
The problem you have is if the automation turns ON the fan it is the same as turning ON the switch. It is the same entity. So if you use the switch for the manual fan then every time the fan is turned ON with the automation it turns ON the manual switch. Hope you can see the conflict. So the manual switch must be totally independent.
So what you can do is get a Shelly 2PM and use one contact for the fan and the other for the manual switch. Wire the manual switch to the switch on the wall not the fan.
Blacky
Ok. So my switches are from hubitat and it added a switch to fan helper âChange device type of switchâ). I can use that for the automation and it works as now there are two entities that control the fan. Havenât figured out how to make such a helper myself but that sounds like a possible workaround
Great automation - thank you so much. Iâm seeing a weird edge case. Iâve got two switches, both wired separately to Shellys - light, fan. Also have a zigbee motion sensor.
If I just set up the motion sensor â fan, it all works fine, turns on, turns off. What Iâd like to do is add the light switch as the âmanual fan switchâ. First problem - itâs a light, not a switch - so I added a template switch that is just based on the value of the light.
I add that into the âmanual fan switchâ and it works if I donât trigger the motion sensor. I can turn on the light, the fan turns on, I can turn off the light, the fan turns off. However, if the light is off, and I enter the bathroom, triggering the motion sensor, then I turn the light on manually, then turn it off again, the fan remain on - and never turns off.
Any tips?
Thanks,
Cemil
I have just tested it here again and it works perfectly. I Had
Could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on â</>â and paste code in there.
Blacky
Hi @blacky,
alias: Downstairs Bathroom Exhaust Fan
description: ""
use_blueprint:
path: Blackshome/toilet-exhaust-fan.yaml
input:
entity_trigger: binary_sensor.lumi_lumi_sensor_motion_aq2_motion
fan_switch: switch.downstairs_bathroom_fan
time_delay: 1
include_manual_fan_switch: enable_manual_fan_switch
manual_fan_switch: switch.downstairs_bathroom_light_fake_switch
manual_fan_switch_time_delay: 0
YAML there. Also failure condition.
Thank you for helping debug! How can I help?
The âswitch.downstairs_bathroom_light_fake_switchâ, I canât see if this is set up correctly. Can you copy your light entity ID and replace it with your âswitch.downstairs_bathroom_light_fake_switchâ in the YAML. Like this.
alias: Downstairs Bathroom Exhaust Fan
description: ""
use_blueprint:
path: Blackshome/toilet-exhaust-fan.yaml
input:
entity_trigger: binary_sensor.lumi_lumi_sensor_motion_aq2_motion
fan_switch: switch.downstairs_bathroom_fan
time_delay: 1
include_manual_fan_switch: enable_manual_fan_switch
manual_fan_switch: your.light_entity_id_here
manual_fan_switch_time_delay: 0
Donât be confused with this trace line as it is the inverted trigger being stopped. When you go into your traces at the top you will see the date and a back / forward arrow. Click on the back arrow to get the correct trace.
Blacky