What can I say - thanks for all your effort put into this.
Now I understand why someone would want to mimic the sun rising like in a dark bed room and so onâŠ
One more thing you might find the time to sort out is the last part to dim down slowly at a fixed time also doesnât dim down - it jumps to the set brightness level and stays until the set off setting - at that time the light comes on full - does not go out.
I thought that if we/you can get the Dynamic part working to brighten the lights at Sunset then I could perhaps use the same Dynamic option to dim the lights down and then finally off at a set time or whenever.
Before I found this Blueprint I was toying with the idea of trying to write my own YAML file but I couldnât find a âWhileâ statement to do the dimmingâŠ
Again thanks for all this help and work you are putting into this Blueprint.
The light came on at 1% and within an hr or so was at 100% way cool.
Last problem to solve is the dimming down at a set time, after the main 100%, and then going off at a set time.
The going off can be done I guess by the timer Helper?
But it seems the last part, The Night Light section, didnât work - the light stayed on way past the OFF Night Light Setting. However: it might have been the time and the angle set at -1.5 causing it so I have set the angle to be -2 and the time to 9.00pm and 9.30pm respectively.
I am new to HA and coming from a Homematic setup. So the way HA works with automations is very different then in Homematic.
I got motion sensors in every room at home and would like to use your blueprint. But I have some scenarios, childrens room, where I donât get it how to configure.
The scenario is easy. The light is normally switched on by a switch, long for âonâ (5 minutes) and short for âoffâ. The motions sensor only extends the âonâ state by 5 minutes, but only when its switched on by the switch. When the lights are off, the motion sensor should not turn on the lights.
With Homematic itâs easy to do, but I donât get it to work with your blueprint. Do you have any hint for me?
Looking at night lights. You will need to work from your trigger schedule. If your schedule ends at 9pm just set your nightlights to 10pm much later than your schedule. This will make sure it will not revert back to normal lights. Setting your âNight Lights - End Timeâ latter than your schedule wont matter because your schedule will turn OFF before then.
No it will not be that and the sun is not enabled in night lights so no need to worry there. Best to work with time as you are doing.
I have tested light âtransitionâ here and it looks like there may be a bug or a limitation in HA. If I set it to 600 then it takes about 5 seconds. If I set it to 60 it takes 60 sec. I sure this was not the case before when I did a lot of testing during development of this blueprint. I normally only use about 5 sec max so everything works here and havenât noticed. Maybe others can test it and provide some feedback. So maybe try a shorter time than 600. Start at 60 and work your way up.
Have a look at this blueprint Manual light control with auto OFF I think this is what you are after. You will need to enable the âUse The Motion Sensor Optionâ.
But, I had read a lot about how to best deal with âdelayâ and âtimerâ functions. The deeper I get, the more I read that both are not the best options when it comes to reboots of HA or maybe also other problems.
Many of the other users recommend âday/timeâ input function to be reboot safe for the most scenarios.
Is this right or did something change in HA so that is not needed anymore?
As a coder of many years, Iâm grateful for your work on the âSensor Lightâ blueprint. Youâve wrangled a very complex decision tree expertly in YAML. Iâm here because I couldnât do it myself. Thank you.
My ideal use case for nightlights is for them to brighten a bit when I walk in. Then, a few minutes after I leave the room, they dim back. But the fact that regular and nightlight modes share âturn offâ scenes makes this hard to do.
Could night lights their own âturn offâ scenes? I have done this myself, but I have to fork every new version you release and reimplement on top.
Haha well, I guess itâs a really common use case. I am glad to have the option outlined in your FAQâI may use it, thank you.
I still think there may be merit to separating âturn offâ scenes. For example, I have âNightlightâ and âNightlight Brightâ scenes set up in my Philips Hue systemâwhich is bridged to Home Assistant. This allows for me to have my overhead lights come on at 10%, but keep my end table lamps off. And itâs âjust a scene.â
I could do this via script, but thatâs true of everything in Sensor Light. A separate scene list would keep things declarative for me (which is already the benefit of the automation in many other ways).
That said, I donât know what I donât know. There may be a lot of logic for having two lists. Is this too exotic a use case for the blueprint to support?
Iâll probably take a stab at it if itâs something you donât think adds much value.
Believe it or not I try hard to reduce as many inputs as I can. This is on my list to do but it is slightly different in the way I am thinking. It is the same but different and I am try hard not to say anything.
Hi, thank you for this blueprint
I would like to know if it is possible to have different brightness levels based on distance.
I am using an LD2410 sensor to define different zones.
I would like that when a person is detected in zone 1, which is more convenient near the sink, to have the brightness at 100%. And when I return to zone 2, I would like to resume what was defined in the blueprint, which is to have the light power based on the ambient light.d
Maybe try using night lights and the state condition. Use zone 1 in your state condition and set your brightness to 100%. Make sure you tick âIf lights are ON, adjust the lights when crossing overâ in night lights control options.
Then in normal lights group zone 1 & 2 and use this as the trigger. Set your lights up as required.
Now when zone 1 is detected it will activate night lights and go to 100%. Then we deactivated it will turn OFF or if zone 2 is detected it go to normal lights.
I saw something someone had made and shared on Github but it was a fairly complex install. I can do that but didnât want something thatâs likely to break over time as it was very hacky it seems.
Yeah, best to wait for HA to implement this. For now it easy to check in every now and then to see if it is updated. The link is in the blueprint back to this topic for ease.
Hi experts! I need some guidance. I am using this blueprint and itâs awesome, but cannot figure out what values to use with Ambient Options. The setting is between 0 and 1000, with an example of 20 lx for dusk and 80 lx for dawn. When I check my sensor, it goes between 0 and 3000⊠Right now, as in the screenshot, itâs at almost 3000 lx.
what should I use in this automation as the high value to prevent it to turn on the lights if my light sensor senses 1500 lx?
This is really easy to do. It normal to see the values you are getting. There are many factors to what setting you should use and ultimately it is really up to you and what you would like. Everyoneâs sensor will be different because it all depends where it is and the effects of your site may have on it. You can also have different values just based on the sensor.
The best way to do this is to wait until sunset and monitor your lux sensor, or open and close your blinds slowly. You then can decide at what value you would like the light to come ON. Then turn your light ON and see if it effects the lux sensor. If the value goes up you have 2 options.
You can opt to select yes or no in the site conditions. This is good if you are using the lux sensor to turn the light ON at sunset and it just keeps getting darker. If that is your use case and the lux sensor is effected when the light turns ON then select âYesâ and set your âHigh Lux Valueâ the same as your âLow Lux Valueâ.
If your lux sensor goes up in value when the light is ON and you are using it for daytime use, example clouds cover making it darker then you will probably chose âNoâ in your site conditions and then use the âHigh Lux Valueâ. So your âLow Lux Valueâ with be the value to allow the light to be turn ON. Then when the light turns âONâ and your lux sensor value goes up just decide at what value higher then when the light is ON to then set your âHigh Lux Valueâ so the light will turn OFF.
If your lux sensor is not effected then you can just decide what value you would like to use in the âLow Lux Valueâ & âHigh Lux Valueâ.
Low Lux Value will allow your light to be turned on by the trigger.
High Lux Value will turn your light OFF if it is ON.
The difference between the âLow Lux Valueâ & âHigh Lux Valueâ servers as a buffer so when your light turns ON it is not turned OFF instantly.