There are various timers on the market to control your lighting projects. The three main styles of timers are photocell, digital and mechanical.