You could try to do it within HA. Go to settings / automations and scenes / blueprints tab / import blueprint and then paste this code in and preview.
https://gist.github.com/Blackshome/70349658a0c7543dbaa5f2e69e10cce0
It may work.
Blacky
You could try to do it within HA. Go to settings / automations and scenes / blueprints tab / import blueprint and then paste this code in and preview.
https://gist.github.com/Blackshome/70349658a0c7543dbaa5f2e69e10cce0
It may work.
Blacky
YEEEESSA
thank you
No problemā¦ it is probably your browser. Good to know it is not HA and thanks for letting us know
Enjoy
Blacky
Hey @Blacky , I know Iām already stimulating thought in your other Blueprints, just wanted to check in - haha that Iām now dedicating myself to this one.
But actually I just wanted to say āoh shit, what you have a bluprint forā *grin! I probably wonāt use this one as much as I thought, but I think it comes closest to your blueprints. Itās about ventilating or filtering my rooms. I have roller blinds in every room, which are floor-to-ceiling and set so that they are down (at least in the bedroom). There are already sensors on the doors, so I already open the blinds to 40%. Now I wanted to use this bluprint to ensure that the fresh air is also filtered immediately and that there is as little pollen in the air as possible, after closing the air filter should continue to run ā¦ etcā¦
Iām already excited and hope that Iāll leave you in peace
Best regards
Seger
New Features
Manual Fan Switch Option - This feature enables manual control of the fan, allowing you to turn it ON or OFF independently. The auto off option may assist you to never overlook turning the fan OFF or can also serve as a manual timer.
NOTE - Please note that the manual fan switch entity cannot be connected to either your actual fan switch or the trigger. It must function as a completely independent switch; otherwise, the automation will not operate.
Global Conditions - You can now enter any global conditions you would like to apply to the automation.
Maintenance
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
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