Thanks for a great blueprint:)
I have one question, is it possible to add a function for triggering the lights on with a door sensor? Now I can only use it in livingrooms and not bedroom, toilet since i have to walk in the room for motion to trigger, then the childern allready have pushed the wall button and everything is back the manual control:P
It is already there. Have a look at my templates Click Here . Bee In The Hive Sensor is a good one and you many need to look at Inverted Sensor. Make sure you group your motion and door sensor together and add the group to the trigger.
For more information on how to set up group sensors please Click Here.
Blacky
@Blacky Thanks for this automation. I made a almost similar functionality in node-red. I currently thinking about switching to this automation but to do so i mis one thing.
In my node-red flow i also dynamically influence the color temperature. It would be nice to be able to configure a entity where the color temperature is read from instead of a static value.
@Blacky thanks for this blueprint, love the level of customisation provided here.
I have a use case where lights are turned on manually but I want to turn them off automatically when the occupancy binary sensor turns to off. So I tried to:
- Create a virtual switch that turns on/off as the occupancy sensor goes on/off
- Use the above switch for the âEnable the By-pass - Turn lights OFFâ
However this will turn the lights off if they are already on and a person enters the room. The ideal behaviour should be the lights stay on. How should I go about fixing this?
Hello, first off all, thank you for this bluebrint.
i have this automation in my bath, someone goes in the light turn on for 5 minutes.
but when i take a shower the light turn off, and i cant it turn on agian.
so i want to keep the light on, if the huninity comes over 60% the light will be longer on for 10 Minutes. How can i make this. Thank you
Thanks for your kind words.
One way would be to have an binary sensor switch that is a toggle. Then enter that switch into a group with your motion sensor. When you toggle the switch the automation is triggered and the time delay starts. If motion is detected in that time the automation runs as per normal. If not the light will turn OFF.
I think the is what you are asking.
Blacky
Looks like you need my Bathroom Humidity Exhaust Fan blueprint. It will also control the fan and keep the light on. It also has a automation link so you can use this blueprint and the other one.
The other way is to use a template sensor (REF - TS-3 in the link below for template sensors) so when your bathroom is above 60% it turns the bypass on. Probably use option 3 in the by-pass and maybe an auto off.
A better way that I would recommend is to get a door contact sensor and use Bee In The Hive Sensor template sensor. You will love it. The how to and all my examples of template sensors Click Here.
Blacky
Hey,
I would like to turn on a scene after the dime delay has passed is this possible?
the use case is:
I have my lights in front of the house turned on with scene after susnet, now when my doorbel detects motion I want to increase the brigthness of the ligths and after the delay turn the scene back onâŚ
Thanks!
Yep just put it in the scenes to turn OFF input.
Blacky
I do the following. and some parts of this is some personal preference. In the morning its just cool white to give a little more energie to the morgings. From midday and the rest i use the solar altitudePercent that i have from a node-red module and i remap the -80 to 60 altitudePercent to the kelvin values 2000 to 5500. doing this the light slowly progressen to a warmer light the further the evening progresses.
I really love this behaviour.
hehe thanks, I have seen it and very sceptical:P But I can give it a try. How about if the door stays open? Will the light be on forever?
Example:
- Step in the room and lights on.
- leaving the room and left the door open
- leaving the house(Turn off all lights)
- coming home and going to the room again(with door still open)
And how is it if the room has any type of input like humidity or TV on, that deactived the automation?
Letâs say I use the nightlights option to have soft lights at night (e.g. next to the house door). However, if I come in at night or want to leave the house I need the full brightnesss. Is there some kind of âbypass nightlightâ option so that it uses the day light brightness on requests? (e.g. by pushing a switch/button)
You have to set it up correctly, but no Bee In The Hive Sensor works when the door is closed an motion is detected. If the door is open the just you motion sensor is in use. But make sure you group them together.
Not sure what you are tying to say.
Blacky
The best way would be to use the state option in night lights. Then create a toggle helper. The toggle helper must be ON at all time except when you would like to change the lights to 100%. Then you must also use another night light condition.
Then select âIf lights are ON, adjust the lights when crossing overâ
If you would like the toggle helper to automaticity come back ON when you turn it OFF, use this blueprint Entity - Run ON Timer if you are unsure how to do this. You can have it OFF for X amount of time for when you leave or enter to then return to night light mode if all night light conditions are met. In the âEntity - Run ON Timerâ Select OFF state option for the trigger and enter the time you would like.
Now when you turn the toggle helper OFF it will go to normal lights. If you used âEntity - Run ON Timerâ blueprint the toggle helper will be turn back ON in X amount of time and resume night lights mode. When your other night lights condition is false then normal mode will be activated.
Hope this helps, and let us know how you go.
Blacky
Yes, I had something like that in mind. However it would be implemented.
Itâs strange that no one has thought of such a feature to record the current lighting settings, because I think it could be very useful for this particular type of occupancy-based lighting control.
This is all possible and you will see this type of feature in my Sensor Light Add On . It is called âSnapshotâ.
Like @spartan suggested, what you can do is create a small automation that will create a snapshot of your light settings. What I would do is every time your motion sensor goes OFF and your light are ON you create a snapshot. This is a nice trigger to use just before your lights turn OFF. This snapshot will create a scene and once created update the scene as per your instructions. Then use that scene in this automation and you will achieve what you are trying to do.
I not sure why you would like to do this but hay it is HA and you can do anything you like.
If you are not sure how to do this then maybe create a post (separate topic) and ask;
Q: How do I create an automation that will create a snapshot scene of my selected lights when my motion sensor goes OFF and only when the lights are ON?
There are heaps of community members that will help you do this.
Hope this helps you.
Blacky
I try first the bypass option, I have a helper for the huminity.
And have the option enable the bypass turn lights on and auto off with delay off 15 minutes.
The bypass will only start when when the lights are on trigger by the moving sensor ?
Thx
Really love the auomation, amazing work, the amount of options is crazy! I was super happy I found this.
I was wondering if you could add script support (for turning lights on, maybe even off). I am currently trying to hack it in, but would love for it to be supported officially ^^
I have a script to turn on my lights.
And if somebody wants to know why a script and not a scene:
- I have scenes for different rooms and daytimes/occasions
<area>_<daytime>
. - I have one input_select per room, which lets me set the scene I want (day, evening, night, party, etc.).
- My script reads the current input_select value and chooses the appropriate scene to activate