Hi,
This blueprint look great. Can you tell me if the countdown is restarted when the trigger goes ON before the end of the timer?
In other words, I donāt want the scene goes off when a motion is still detected.
Hi,
This blueprint look great. Can you tell me if the countdown is restarted when the trigger goes ON before the end of the timer?
In other words, I donāt want the scene goes off when a motion is still detected.
Hi Blacky,
I saw that @psyko_chewbacca reported an issue that his lights turned on after a HA restart. In 2.3 you fixed some of these bugs, however, for me I still turns on all the connected lights of my automations after a restart/update.
Not 100% but I think it only applies to the Smart Light blueprint, not the Sensor Light.
Stifter
Hi All,
I have a couple different simple automations to turn lights on and off. A weekday schedule and a weekend schedule. Using the sun to turn them on an a time to turn them off with weekday enabled. Iām having trouble figuring out why my weekday automation is triggering on days that itās not enabled for. It shows being triggered last night at 11pm.
alias: Light On/Off - Sun Schedule Weekday
description: ""
use_blueprint:
path: Blackshome/smart-light.yaml
input:
include_sun:
- sun_falling
sun_elevation: 0.5
include_time:
- time_off
before_time: "23:00:00"
light_switch:
entity_id:
- light.lamp
- light.tree
include_weekdays: weekday_enabled
weekday_options:
- mon
- tue
- wed
- thu
- fri
Also, if I want the lights to shut off on the weekend at say 1am for Fri and Sat night do I use Sat and Sun as the days for enabling that or does that carry over from the day the light was switched on?
Thanks, friend. There must be something crazy hanging around in the background from my old manual scripts and automations. Will re-visit all config areas in forensic detail and remove anything which could compete with this incredible blueprint. Cheers, and Merry Christmas to you and yours
Hi Olivier,
Welcome to the community.
In this blueprint it uses triggers to turn entities ON and OFF so there is no countdown. If you are referring to the new Cross Over - Time Delay feature in night lights then the time delay only starts once the motion sensor is cleared. If for some reason the motion sensor is triggered again within your time delay, the dime delay will be canceled and the process will start all over again.
Blacky
I think I have seen that here once, I will need to look into it. Thanks for the heads up.
Blacky
I made it so it will always turn the light OFF (as a safe guard) but I think I should change that. I will have to fix this and release a new update.
Blacky
Hello Blacky and thanks for your amazing blueprints!
One thing I would like to see in this blueprint is support for Dynamic Lighting using time of day. A kind of artificial circadian lighting or sun elevation.
Reasoning behind this is that for us living in the far north using sun elevation makes very little sense during winter as we have only a few hours of daylight if at all. Vice versa during summer time the sun doesnāt set below the horizon at all. So it is better to mimic daylight and circadian rhythm indoors using adaptive / dynamic lighting simply using time of day instead of sun elevation.
Would it be possible to consider adding this kind of functionality as well? To summarize it could include simulated user electable sunrise and sunset times + āsimulated dusk and dawn durationā.
Heikki M
Thanks for your kind words.
I have developed this alreadyā¦ but I have to find were I saved it
So your looking for time control with brightness and colour temp in one option?
Blacky
@Blacky Ideally I would like to have the existing Dynamic Lighting functionality but with āSun Elevationā being replaced by artificial time based sun elevation, meaning e.g.:
Sun Elevation Rising - Start point: 6 am instead of real elevation
Sun Elevation Rising - End point: 9 am ā¦
Sun Elevation Descending - Start point: 5 pm ā¦
Sun Elevation Descending - End point: 7 pm ā¦
Looks like Iām hitting same kind of bug with Smart Light blueprint also:
After adding Bypass entity functionality my Night Light trigger stopped working.
Heikki M
Thanks for your feedback, I have fixed a lot of the bugs toā¦ keep an eye out for the update as I am in the QA stage of it.
Blacky
Smart Lighting: Your Lights, Your Way - Take Control and Customize it to Perfection!
New Feature
Bug Fixes
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky
Hey Blacky, could you add the āDevice Trackerā option to the blueprint?
Smart Lighting: Your Lights, Your Way - Take Control and Customize it to Perfection!
Bug Fixes
Dynamic Lighting - A bug affecting dynamic lighting options 10, 11, 12, and 13 has been fixed. Previously, re-triggering the automation caused a loop that consumed excessive RAM and issued a critical log. This issue was caused by a single condition leading to an unintended loop.
The updated blueprint resolves this problem. Please update your blueprint promptly to apply the fix.
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky
Smart Lighting: Your Lights, Your Way - Take Control and Customize it to Perfection!
New Feature
Dynamic Lighting - State Control Option
You now have an option to enable or disable dynamic lighting based on the state of a specified entity. When the entity is in the selected activation state, dynamic lighting will function as configured. When the entity is not in the activation state, dynamic lighting will be disabled. This allows you to toggle between normal lighting and dynamic lighting based on the entityās state.
Dynamic Lighting - Next Day
With options 10, 11, 12, and 13, you can now set the time for transitioning to a new day.
Bug Fixes
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here
Enjoy
Blacky
Hello Blacky,
Iām a newbie in the Home Assistant universe and have only been working on it for a few days. The trigger for this was my desire for the many Hue lights I have to adapt their color to the time of day. This worked quite well with adaptive light from Apple Home Kit, but unfortunately the brightness is not reduced in the evening and at night. The smart light blueprint, especially in version 2.7 with Dynamic Lighting, promises a lot more.
I followed the explanation of the functions from January 2023 (š Smart Light - Entity - Sun Elevation - Ambient & Time Triggers) as best as I understood it, but unfortunately without the desired success.
In my case, there is a stairwell situation. On dull and cloudy days, dimmed lights must also be switched on during the day. If the Hue motion sensor (SML001) detects movement, the light should get a little brighter and if the brightness is sufficient on sunny days (Hue motion sensor - over 20 lux) the light can be turned off.
The Sun Elevation trigger is certainly good in summer, but in winter the light is dimmed too early in the evening and too late in the morning.
Can all of these requirements be met? I would be delighted to receive an answer that helps me understand the many functions, especially dynamic lighting, and use them correctly.
I am from Germany and of course wrote the text using Google Translate and hope that everything has been translated clearly.
Smart Light seems to be a powerful tool, great work!
best regards, minimac
P.S. Will there be an update to the explanation of the functions from January 2023?
Welcome to the community.
Yes, google is working well.
Because you would like this it is best to use the ambient option. This will turn your light on when it is dull. Then you use the night lights option and use your motion sensor as the night light state condition Enable entity state option. Then in Night Light Control make sure your select If lights are ON, adjust the lights when crossing over and use the Use cross over time delay from night lights to normal lights and set your time delay. What that will do is when motion is detected it will go into night light mode (donāt get hung up on the name of night lights as it is just another light option) and the lights will be what you set in night lights. The time delay is when you motion clears before it will go back to normal lights.
So what will happen is your light will come on to your normal light setting when the lux level is too low (day or night), then when motion is detected it will go to your night light setting and then revert back to normal light when the motion sensor is clear.
Try it out and if you are still having problems then could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on ā</>ā and paste code in there.
Blacky
quick question, must be me missing something because Iāve tested everything but it doesnāt seem to work.
is there a way to delay the off state on the light when the binary sensor goes back to off (for example the door sensor switches from open to close), I would like to have a little delay before the light goes off.
I tried several things but the only thing I was able to +/- use this was adding the transition timer but not all my outdoor lights support transition states soā¦