Even though we call the second set of lights Night Lights, you can also use them to set a different Time Delay. To do this, incorporate the state condition in the Night Lights and add the āGuestā mode. When āGuestā mode is ON, the system will use the night light settings, allowing you to adjust the Time Delay accordingly.
Just a quick one, cant seem to select a ālux entityā. See screenshots. Using an ldr to measure voltage and coverting to
Lux. Is it my unit of measure or maybe do i need a unique id?
Hi @Blacky,
first I like to thank you for the outstanding blueprint. It really solves almost all conditions I have in my house.
However there is one condition I canāt solve so far:
I have 1 light and 1 LED in my bathroom.
A motion sensor to trigger the lights.
Daymode = both lights are turned on with a turn off delay of 20 min
Night mode = only LED is turned on
Night mode is triggered between 23:00 - 6:30.
Now the problem:
I go into the bathroom at 22:55 (to take a shower). => Both Lights are turned on.
At 23:00 the lights are turned off hard (before the 20 min delay). Poor feedback from the family on that condition!
=>I need the lights to stay on until the last delay ends (20 min) when the motion sensor triggered the light on. Once after this ālastā delay I would expect the night mode LED to be triggerd on motion detection.
Thanks for the info! A 20-minute delay does seem like a long time to keep the lights on. Is the goal to keep them on while showering? If the motion sensor isnāt detecting movement in the shower.
One approach you could consider is reducing the delay and using another method to keep the lights on, like a door sensor or even a fan trigger. If youāre controlling a bathroom fan with Home Assistant, Iād recommend checking out my Bathroom Humidity Exhaust Fan blueprint, which includes an Automation Link for keeping lights on during a shower.
Also, if the lights still turn off too soon, you could try using my Bee In The Hive Sensor, which combines multiple sensors for smarter room control. That might help better detect when someone is in the bathroom even if the motion sensor misses them.
It was a bit of a pain to add to HA but now itās working.
So replace your motion sensor with one of these, it uses PIR to detect first movement and radar to stay detected. So whilst you are in the shower it should just stay on.
Thatās my goal now, Iāve been holding off an auto light in the bathroom until I had got around the having to wave at it every few mins. And as this is battery thereās no wires to run.
Hi, Iāve been using your blueprint for a while and love seeing how much hard work has been pit into it.
Over the past few weeks a few of my Automations with the blueprint hadnāt been triggering at night. Yesterday I moved to zigbee2mqtt and took the plunge updating the blueprint and recreating all my Automations.
None of my night timers are working. Could somebody please cast an eye over this and help me out?
First of all, I wanted to thank you for the incredible work youāve done on the light automation system. Itās really impressive!
I have a question about a specific scenario. There is a time restriction set for the lights, and within that time frame, the light can turn on by switch (also used in light section, so i canāt use bypass). However, I want to ensure that the light always turns off, regardless of the time or other conditions, if thereās no presence detected by the presence sensor (used as triger). How can I set it up so that the light will automatically switch off when thereās no presence, even if it was triggered within the not allowed time frame?
Hi - I am enjoying this for my motion sensor automation. I tried to add an email notification but am unable to get it working properly. Is there something i might be missing to get it to send an email when the motion sensor triggers?
Thanks for you YAML. Everything looks good. The only thing I can think of is if your ON bypass goes ON and OFF it will turn your light ON and OFF. To confrim this in your Bypass - Time Delay rather than setting it to 0 try putting in a time of 1. If it stops the light turning ON and then OFF and the light stays ON for a minute then it could be the bypass. You could also look at the trace to see what triggered the light ON and OFF.
In Time you have 7am to 10pm. This is a global condition, so the automation will only run between these times and your night light will not work. Since you would like the automation to run 24/7 just disable the Time and keep the night light time and it should all work.
You can set up an automation in Home Assistant for this. For example, if the time delay in your blueprint is 5 minutes, you can create a custom automation that triggers when your presence is set to āclearā and the light is still ON after 6 minutes. This way, the light will turn OFF automatically. The blueprint will take priority, but outside of the defined hours, your custom automation ensures the light turns OFF if it remains ON after 6 minutes.
Your probably best to set up a custom automation that send you an email when your motion sensor is triggered and then use this blueprint to control the light.