I have a few automations in which I activate the ceiling lights by motion.
At night I have light strips automatically turned on so I donât want the ceiling lights to turn on when motion is detected since the lightstrips emit enough light.
Hi I have a playarea that I want to use this blueprint with but I only want the light to trigger only if there has been presence for 2 minutes. if I make a automation from scratch this can be done by using the âForâ option after selection the motion entity
Hi. First time I check out this blueprint. Looks very nice. However, I have a question. I want to use dynamic lighting only, do I still need a trigger? My plan is to enable the automation when the house âwakesâ and disable it at ânight timeâ. I have a really hard time getting the dynamic lighting to work. I set a flashlight to the sensor to trigger the lowest light settings, but nothing happens, the automation never gets triggered.
In order for dynamic light to work the trigger must be ON.
Looks like you would like trigger points. A state change (ON) when your house wakes up and disable at night time. Have a look at this blueprint Smart Light - Entity - Sun Elevation - Ambient & Time Triggers this triggers on state, sun, ambient and time. Then use dynamic lighting. I will be updating it so you can use the sun triggers for daytime.
@Blacky Hello. I am using âSensor Lightâ + âManual Lightâ for the same light in room.
Sensor Light:
Enable the Bypass - Keep the lights current state
Enable the auto OFF for the bypass switch - Keep The Lights Current State
Bypass - Time Delay: 1 minute. If I set 0, then if there is no movement at the moment of switching the bypass, the light immediately turns off
Manual Light:
Enable the motion sensor option
Enable the timer helper option
Timer delay: 10 minutes
I think the âManual Lightâ script should add a timer pause using a bypass to synchronize automatic and manual light for the same lighting.
I added a simple integration.
Triggers:
Timer changed state to active
Bypass state changes (any)
Actions:
If bypass is on:
timer pause
Otherwise:
start timer
However, after some time, the logic of the light completely breaks down and it starts to turn off after just a few seconds (there is no strict constant)
Thank you for the help. this is my first attempt at a yaml template but i beleave i did got it working. after standing in the middle of the zone for 2 minutes the sensor turned on
Maybe you understand why my simple script breaks the logic of the light after some time. The light starts to turn off without any regularity but literally after 5-10 seconds
Iâm new here with HA, and just stumbled on your automation just a few days ago. I have set it up to control the lights underneath the outside pergola, and in the trigger group I have both a motion sensor and a door sensor that leads to the pergola, and it works great - thank you.
The only problem I have is if I switch the light switch on manually rather than activating the automation by opening the door or the motion sensor, then the light doesnât turn of after the predefined time.
Iâm struggling to figure out how to get this automation to work (ie to turn of the light after the time delay), when the lights have been switched on by the physical light switch?
If you can please point me in the right direction, that would be very much appreciated.
I have another blueprint just for the light switch in Beta, would you like to try it?
What it will do is notice you have turned the light on manually and then you add a input helper into the bypass. You then can use the auto bypass OFF in this BP to turn your light OFF in X amount of time. The lights will stay ON until you turn them OFF or if you have auto off enabled.