See Loopix site, there is an "easy day/night" script i believe.