added timer to lightcontroller

runs every 30 seconds by default
Merge pull request #9 from sboles/timer

added timer to lightcontroller