From aca092f50839ee60fbca6461f9c4e93cb4ce00b4 Mon Sep 17 00:00:00 2001 From: Stephen Kuntz Date: Tue, 24 Sep 2024 11:32:09 -0400 Subject: [PATCH] Working version of the script blueprint --- README.md | 5 ++--- parabolic_alarm_script.yaml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d75052e..2da3f9a 100644 --- a/README.md +++ b/README.md @@ -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. - -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. +## 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. ![image|690x196](images/demo.png) diff --git a/parabolic_alarm_script.yaml b/parabolic_alarm_script.yaml index dd94f3f..38503bc 100644 --- a/parabolic_alarm_script.yaml +++ b/parabolic_alarm_script.yaml @@ -24,7 +24,7 @@ fields: unit: kelvin min: 2500 max: 6500 - default: 6500 + default: 2500 name: Warmest Kelvin max_brightness_pct: description: Maximum brightness in percent to reach by the end of the script