lampe
lampe copied to clipboard
alarm clock
Provide an alarm-clock option "(SHIFT) T" based on localtime. The bridge's internal functionallity should be used:
- [ ] set duration from off to full brightness, between 1 and 90 minutes. (default 20)
- [ ] option to configure the maximum brightness (default 222) an minimum saturation (default 192)
- [ ] save last settings of time, duration, brightness and saturation, so that an user could set only a new time and use previous settings for everything else
- [ ] provide a way to disable/enable the alarm clock. With "T", If there is a saved time, it should be possible to enable it with "T" and no further parameters
- [ ] for blind-mode: indicate activated alarm with two flashes of the bridge's built-in "select"-function. If deactivated with just one flash.
Example input to configure an alarm:
# TIME DURATION MAX_BRI MIN_SAT
7:30 20 222 192
questions
- should saturation be increased or decreased? And if decreased, what should be the lowest setting (default 192)? Or should this be configurable? .. Decreasing is better because some colors are very dark.
- could the last hue setting be used as alarm-color? .. I tend to yes
- this seems possible in the cli-version as well; think about it. .. Thought about it, milestone changed.