Working version of the script blueprint

This commit is contained in:
Stephen Kuntz 2024-09-24 11:32:09 -04:00
parent ff5b049336
commit aca092f508
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,5 @@
I wanted to try the sunrise effect for waking up in the morning and found the [blueprint](https://community.home-assistant.io/t/wake-up-light-alarm-with-sunrise-effect/255193/145) that would do this for me. However, this didn't work and was overly difficult to troubleshoot. It triggers every minute, and as I used to be a Systems Adminitrator, this unnecessary use of resources also bugged me. If you didn't catch the errors in the automation with in the number of available traces, it was gone. If you did manage to catch the trace, it was so convoluted that it was nearly impossible to troubleshoot unless you are intimately aware of the execution steps. Not to mention the issues trying to trigger it with a date/time helper other then the the one integrated with the HA phone app. ## Sunrise alarm with parabolic sunrise effect
This package contains 2 components. The first component is a script that can be executed many times in series to change the rates of the 2 main settings, color temperature in kelvin and brightness. By running it many times in series you get get a more parabolic effect. I added this feature because I could visually detect changes in brightness more at lower values. Below is an example of this. You can see the points of which the values change.
I created my own script and automation to bypass the frustations above. It is not nearly as full featured as the blueprint but it is highly configureable. Basically it contains 2 components. The first component is a script that can be executed many times in series to change the rates of the 2 main settings, color temperature in kelvin and brightness. By running it many times in series you get get a more parabolic effect. I added this feature because I could visually detect changes in brightness more at lower values. Below is an example of this. You can see the points of which the values change.
![image|690x196](images/demo.png) ![image|690x196](images/demo.png)

View File

@ -24,7 +24,7 @@ fields:
unit: kelvin unit: kelvin
min: 2500 min: 2500
max: 6500 max: 6500
default: 6500 default: 2500
name: Warmest Kelvin name: Warmest Kelvin
max_brightness_pct: max_brightness_pct:
description: Maximum brightness in percent to reach by the end of the script description: Maximum brightness in percent to reach by the end of the script