forked from bujna94/MoonClock
-
Notifications
You must be signed in to change notification settings - Fork 2
App: AutoContrast
Jan Dvořák edited this page Jan 3, 2022
·
4 revisions
AutoContrast is an application that adjusts the contrast (brightness) of your MoonClock after sunset so it won't disturb you at night. To detect the sunset in your country or city, enter the GPS coordinates. You can find these e.g. in Google Maps.
Set the values for 'contrast_after_sunrise' and 'contrast_after_sunset' to the desired values. You can choose from 256 values of display contrast(0-255).
Use 0 for minimal contrast and 255 for maximum contrast.
This is a minimum you must specify in your conf.py
{
'name': 'auto_contrast',
'latitude': '50.073611',
'longitude': '14.435664',
'contrast_after_sunrise': 100, # value from 0 to 255
'contrast_after_sunset': 0, # value from 0 to 255
},
Identify the app by its name.
Latitude of your location
Longitude of your location
Contrast value (0-255) at night.
Contrast value (0-255) during a day.