Skip to main content

Module auto

Module auto 

Source
Expand description

Automatic frontlight calculations based on sunrise and sunset. Automatic frontlight calculations based on sunrise and sunset.

The logic in this module keeps brightness and warmth aligned with the current solar day for a given location.

Constantsยง

MINUTES_PER_DAY ๐Ÿ”’
WARMTH_TRANSITION_HOURS ๐Ÿ”’

Functionsยง

compute_auto_frontlight_levels
Computes the frontlight levels that should be active at the given time.