koreader / koreader

An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices
http://koreader.rocks/
GNU Affero General Public License v3.0
16.4k stars 1.25k forks source link

FR: more practical auto warthm and night mode plugin #10921

Closed szebrowski closed 11 months ago

szebrowski commented 1 year ago

Does your feature request involve difficulty completing a task? Please describe. I don't get the autowarmth plugin. I don't understand why sunset and sunrise is treated as one time block. I tried many times to configure my simple use case and I failed.

I just want to set 100% warmth at sunset and 0% at sunrise. I belive that currently this is imposible to configure.

Describe the solution you'd like I would like to have separate settings for configuring warmth level for sunset and separate for sunrise.

Describe alternatives you've considered

Additional context On other devices, I use f.lux, Twilight and I am able to configure it the way I want. I think the plugin needs to support the most basic use case for it to be usful for mainstream users.

Frenzie commented 1 year ago

Pinging @zwim

zwim commented 1 year ago

You can use your position on earth to calculate sunset and get something like:

grafik

Between sunset and twilight AutoWarmth changes the warmth smooth.

If you don't need the current sunset, you can use a fixed schedule and you can do something like grafik Here the change of warmth goes fast (within one minute) (If the later solution is enough for you, you can enter a decimal minute in the schedule ((like 59.9)) and you get a really fast warmth ramp.)

Sorry, this is the programmed behavior, and the first picture is the most wanted use case (IMHO). A hard toggle at sun set/rise is crap and hurts our eyes ;-)

So the right approach would be to add the desired behavior to the above mentioned Apps.

BTW: On Linux I use Redshift (https://github.com/jonls/redshift) which does almost what I like. Here a statement from the Redshift's man page:

The color temperature is set according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt over a period of about an hour. (And one hour is approximately the time from sunset to the end of the nautical twilight in middle latitudes.)

zwim commented 11 months ago

Closing as there was no recent activity.