added timer to lightcontroller

runs every 30 seconds by default