Presunrise and postsunset authorization