Sun-position-dependent control