Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Relative Offset Times in Schedules #24

Closed
bryanmahler opened this issue Jan 31, 2018 · 1 comment
Closed

Allow Relative Offset Times in Schedules #24

bryanmahler opened this issue Jan 31, 2018 · 1 comment
Labels

Comments

@bryanmahler
Copy link

Since sunrise and sunset times change throughout the year, it would be great to be able to set relative offset times in schedules for beforeSunrise and afterSunset.

As an example, an afterSunset schedule could include "timeOffset" : "+2:00". If sunset was 6:58, the color and brightness settings would be triggered at 8:58. Later in the year, if sunset was 5:04, it would be triggered at 7:04. beforeSunrise schedules would likely include negative values, though I would find value in negative and positive values for both beforeSunrise and afterSunset. We try to use Kelvin in our home to mimic the circadian rhythm of outdoor light throughout the year.

Thanks! Great bot!

@stefanwichmann
Copy link
Owner

Please see issue #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants