Exposure follows the sky, not a clock
Sun altitude from an offline astropy ephemeris classifies the sky into five periods. Each period has its own exposure and gain envelope, and a closed feedback loop drives the camera inside it. The camera's own auto-exposure is always disabled.