xanderfrangos / twinkle-tray

Easily manage the brightness of your monitors in Windows from the system tray
https://twinkletray.com
MIT License
5.43k stars 178 forks source link

[Feature Request]consider the sunrise/sunset time of current time zone #374

Open kaykouo opened 2 years ago

kaykouo commented 2 years ago

if twinkle-tray could consider the sunrise/sunset time of current time zone would be awesome! that means the monitor could be slowly dimmed to 0 within 60 min after sunset and turn to 50 within 60min after sunrise.

btw. does auto dark mode in the same app also possible?

wywywywy commented 2 years ago

Sunrise time can be calculated with a formula from a provided date & latitude. Example: https://www.omnicalculator.com/physics/sunrise-sunset

There are also free APIs available. Example: https://sunrise-sunset.org/api

Someone has already done the hard work producing an Auto Dark Mode app. https://github.com/AutoDarkMode/Windows-Auto-Night-Mode But it's logic cannot simply be copied to Twinkle Tray because it's GPL-3 licenced.

SiTWulf commented 2 years ago

Any new to this fantastic feature?

Dragonisser commented 1 year ago

Any news indeed? Would be really lovely to have.

xanderfrangos commented 1 year ago

@Dragonisser It's being worked on for v1.16.0