gentle-glow-onyx-boox
gentle-glow-onyx-boox copied to clipboard
schedule
- [x] demand - react with a β€ to this comment to let me know I should work on this feature. Maybe also donate and add a πΉreaction to the β€
- [x] spec ready for first development
- [ ] technical tasks defined
- [ ] first app store release
- [ ] tested and approved in app store
The kindle Oasis might be a source of inspiration: choose a profile to automatically default to at night.
Maybe gradually shift between the day and the night profile around sunset?
Automatically figure out when the sunset given the device's time zone?
Extend this to multiple automatic profile switches throughtout the day?
https://www.youtube.com/watch?v=pM2bLJx7cAg
just created a duplicate issue but a schedule would be amazing !!!!
I love the idea of a schedule as switch back and forth every day (and perfect app for the Boox!)
This would be awesome! It's the only thing I'm missing from my old Kobo Aura One.
The way it works on Kobo is to define the hour at which you go to sleep. It then gradually increases the warm light starting an hour (or so) earlier than defined. What I like about this is that you get the wanted warmth and don't even notice the change while reading.
I'm not sure when it starts dropping the warm light though. I'm assuming 8h after the defined hour? Don't know.
It does have a light sensor though so managing the screen brightness is an easy task for Kobo. For Boox we'll probably need to manage brightness through schedules too.
I'm not saying this is the way to implement it but I thought the info can't hurt.
From my point of view, having 2 schedules (for night & morning) and gradual brightness/warmth change is all I can ask for.
Edit: By the way, I've got a Note Air 2 with FW 3.2 (2021-11-22). If you need to test something on this device let me know.
Spec draft: You will get the possibility of setting a time of day when the current light configuration is auto-selected. ~~A time picker will be available to the right of the name edit box.~~ The scheduled transitions will be smoothed automatically, with a transition speed depending on two factors:
-
difference between brightness and warmth of the light configurations you're transitioning between e.g. going
from (30/100 brightness, 50/100 warmth) to (15/100 brightness, 100/100 warmth)
will be slower than goingfrom (30/100 brightness, 50/100 warmth) to (20/100 brightness, 75/100 warmth)
-
time allowed for the transition. e.g. if you configure
tranition to the Sunset configuration at 18:00 then to the Night profile at 18:05
the transition might happen more quickly than if you configuretransition to the Sunset configuration at 18:00 then to the Night profile at 18:30
Changing the current light configuration will affect all scheduled transitions to this configuration.
There will be an option, though, (edit: and it will be the default while there is any scheduled time!) to just adjust the light without affecting any configuration. For this purpose, plus resetting to the last known onyx slider configuration , a dropdown menu will be added at the right of the profile radio buttons. As a bonus, getting rid of the Onyx Slider radio button will leave space for a fourth configuration - by default Night, Dawn, Day, Sunset
Edit: Any change while there's any schedule, including brightness &warmth changes, and turning the light off from either quick settings or in-dialog switch will take effect only until the next scheduled time.
Edit: Any change made during a transition will not cancel the ongoing transition, but will make it restart from the new brightness & warmth. You'll have to manually disable the schedule if you need to, then re-enable it later - a skip once option would be nice, I know, but it's not top priority to implement.
A new screen will be added, to edit the schedule. The interface will be similar to the alarm clock list view
7:00 (On) Dawn (dropdown)ββ
9:00 (Off) ββ
18:00 (On) Sunset (dropdown)ββ
21:00 (On) Night (dropdown)ββ
β
Off/On switch allows you to turn the light off for the selected time.
If On, you need to choose a configuration from the (dropdown)
β takes you to the
β deletes the time
β adds a new time
Sorry for the delay on this, I'm two months behind schedule :( => earliest possible release date is 1st of May
Can't wait for this feature! It's the only thing I could ask for - I always switch between two presets, one for day and one for night. Thanks for your work on this.
Very much looking forward to this. Thank you!
Someone give this dev a beer! πΊ
Sorry for the delay on this, I'm two months behind schedule :( => earliest possible release date is 1st of May
Did this finish ?
Sorry for the delay on this, I'm two months behind schedule :( => earliest possible release date is 1st of May
I added when the device booted I load all the shedule and find the closet shedule and manually invoke it. I also change to RTC_WAKEUP. Do you want me to create a PR ?
I added when the device booted I load all the shedule and find the closet shedule and manually invoke it. I also change to RTC_WAKEUP. Do you want me to create a PR ?
Hello, sure, I finally have some time again for Gentle Glow so please open a PR. Thanks so much!
Actually @cuong21951 turns out Ii had a small unpushed commit to restore alarms on boot, see https://github.com/calin-darie/gentle-glow-onyx-boox/compare/restore-alarms?expand=1