You will need some type of controller that is triggered by a PIR or switch. That way you have control of the on/off time. Pete