šŸ’” Sensor Light - Motion Sensor - Door Sensor - Sun Elevation - LUX Value - Scenes - Time - Light Control - Device Tracker - Night Lights

Is there any way to have the time delay be less than 30 seconds?

Hey All,

I’m sure this has been covered, but the thread is so long now, so apologies if I’m repeating.

I’m trying to do a pretty standard set up using dynamic lighting, but I cant seem to figure out what section in dynamic lighting you select the actual light to dim?
Where is this?

Just for full scope,
I have a set of outside strip lights, 3 sets in total.
2 of the sets are on a simple ON/OFF Zwave plug, and 1 set is on a Fibaro RGBW controller (NOTE: All strips are warm white, so I do not use the RGB channels)

I want all the LED strips to turn on at a certain LUX value (Lets call is 400), but I want the RGBW controller to then be brightness controlled depending on Lux value of an Aeotec Multi Sensor.
Then in the morning once the Lux goes above 400, they all turn off.
NOTE: I also want these to action if its day time but over cast, so hence reason of using Lux rather than sunset/sunrise.

So,
Lux <400
Then
Turn on Fibaro RGBW (LED strip 3) at 85% brightness AND TP Link P110 Plug (LED Strips 1 & 2)
Then also Fibaro RGBW brightness to between 85% and 30% depending on Lux value (down to 0 Lux)

If Lux >400, turn all off

Many thanks for your help in advance

Russ

Hi Blacky,
I use your automation blueprint for all the lights in my house. However, almost every morning i go out to my bathroom and the lights only flicker on and then straight off again. Do you know why?
The sensor (and thereby the automation) knows there is presence, so i can’t just wave my hand to turn it on again or something like that. I have to either go out and wait until the timer (3 minutes) has passed or pull out my phone and turn it on manually.
This also happens with one other light group i have. Both light groups has LED strip and same Zigbee LED strip controller. Do you have any idea how i can do some troubleshooting on this?
5 second video showing the lights turning on and then off: https://youtube.com/shorts/Xwb1HzSdT9o

Thanks for all your help

I am interested in this feature as well. With dimmers, it would be great to have the lights dim for a couple of seconds about a minute before switching off.

In my kitchen, I don’t have dimmers but multiple lights. For now, I put a different timer on the two lights so that when the first ones switch off, I know I need to move not to be in the dark.

1 Like

@arne.conrad

Thank you for your support!

Have a look at the :door: Closet, Pantry, and Cupboard Lighting blueprint. It’s designed specifically for closets:

  • When you open the door, the light turns on and will automatically turn off after a set delay, so it’s never left on for hours.
  • If you pair it with a motion sensor, the light will stay on while you’re in the room and turn off when you leave, but only if the closet is open.
  • When you return to the room with the closet open, the light will come back on automatically.
  • It also includes a night mode, letting you set lower brightness levels during nighttime.

Blacky :grinning:

1 Like

@Hugobosss

Yeah, working with ID’s can be a bit tricky. I actually have a blueprint that handles this. I also realized I forgot to update this blueprint :thinking: … not sure why, but anyway…

  • Once the light is ON, you should be able to adjust its brightness, and it will stay at that level until the light turns OFF.
  • If you’re using scenes, make sure to use the Scenes & Scripts - Toggle Helper.
  • You can also skip setting brightness altogether. In that case, the light will just turn ON at the last brightness level (assuming your lights support this).

Blacky :grinning:

@draxula61

Yes you just type the value you would like, so

0.1 = 6 seconds
0.25 = 15 seconds
0.5 = 30 seconds
0.75 = 45 seconds

The math to work it out is the seconds you would like divided by 60 (60 seconds in a minute) so if I would like 10 seconds it would be 10 divided by 60 = 0.16 close enough.

Blacky :grinning:

1 Like

@rustyh

Lets break it down.

Turn the light ON when the value drops below 400, and OFF when it rises above 500. It’s a good idea to keep a buffer between ON and OFF so your lights don’t flicker. These numbers are just examples — you might prefer OFF at 450, 550, or even 600. It’s up to you. You can set this up with my :high_brightness: Smart Light blueprint using Trigger - Ambient for this.

Once the light is ON, you also want to control its brightness. For that, set up Dynamic Lighting (option 1 or 2, depending on your needs). Note that Dynamic Lighting only works with entities in the light domain, not switches. The light must support brightness adjustment. If you can adjust it in the Home Assistant UI, then the automation will be able to adjust it too.

Blacky :grinning:

@Strux

I recently went through this with someone in the community, and @smartlightenthusiast figured it out for all of us. It may actually be a Zigbee related bug in Home Assistant. Someone should report it (I can’t since I don’t use Zigbee) so it can get resolved. You could also show your video in the bug report. If the below fixes it then you can be sure the bug is in HA with Zigbee.

Here’s the post… try disabling Transition and see if that fixes it for you as well.

If you can let us know if this worked.

Blacky :grinning:

@Patrick4

Thanks for reaching out. I get many requests for this. I bump it up to the list to do.

Blacky :grinning:

1 Like

I spent time today trying to get this Blueprint to work with 2 of my lights and it would not turn them on.
I tried creating my own automation and had similar problems with the lights not turning on even though they had been turned on.
Copilot found the problem that some Jasco switches need a brightness argument that is less than zero for the lights to actually turn on. It the switch is turned on without a brightness argument and the last value was zero the light will not turn on. These switches are old so this issue may not come up very often.

Hi,

Yes I can change brightness but the light turns off as it should when there is no motion. I have to override it (bypass Keep current) and i want to do that by using the physical dimmer.

I do not use scenes.

So what are you saying, is there another blueprint i should be looking for to use for the bypass, or this blueprint will be updated? Sorry but that part wasn’t clear.

Thanks for the reply Blacky,

I gave it ago per the below images, but the lights didnt turn on?

Any idea whats going wrong?

@rustyh

Your using a device in Lights - Switches - Scenes - Scripts and you can only us entities. See this FAQ click here

Blacky :grinning:

@Blacky Thanks for your reply!

Here’s a challenge for you:
Right now im using your automation for our bathroom lights with a presence sensor as the trigger.
My wife is not an A or a B person, she’s more like an N person. N as in ā€œNEVER!ā€. She is very difficult to get out of bed in the morning and also very unpredictable.
She wants me to ā€œfixā€ the lights in the bathroom so that when she gets up and out to the bathroom, and the presence sensor turns the lights on, they are very dim, but after 5-10 minutes, when she needs to put on makeup, they should be more bright. Easy, right?
We have a bed sensor with entities for each side of the bed and it works wonders. I can use that to track exactly when she gets out of bed. Im thinking of creating a helper that will be true when the bed sensor says someone has gotten out of bed - and it should stay true for about 10 mins.
But, i don’t want to use it as a trigger, because then the lights will be on for 10 minutes for no reason, if one of us just get’s up to pee at night. So i guess what i need is for the helper to temporarily change the brightness of the lights, in case they get activated.

Can your automation do something like that? Or do you have a better idea of how to achieve something like this?

As always, thank you for your time

Thanks Blacky,

Ive changed this as below, but its still does not seem to be working

Is it possible to use night glow combined with Dynamic Lighting?

@Strux

There are many ways to achieve this, but I’ll stick with your approach.

You could use a helper (triggered when she gets out of bed) in the night lights state condition to set your desired brightness. When activated, the helper will turn ON for 5–10 minutes, enabling the night lights at a lower brightness level. After that time, it will automatically turn OFF, deactivating the night lights and restoring the normal brightness level.

If you set it up this way, make sure in Night Light Control you enable If lights are ON, adjust the lights when crossing over.

Blacky :grinning:

@rustyh

:thinking: White channel.

Are you using the correct entity? Can you adjust the brightness of this entity? Is this a Shelly and been set up correctly.

Blacky :grinning:

@fbloemhof

No.

Dynamic lighting works with normal lights and night glow works with night lights.

Blacky :grinning:

1 Like