Microcontroller such as Arduino, push button as input, speed/movement input sensor for pits operation, sensor to detect whether lights are currently on or off also as an input. Output elements to control the switching of the lights and finally knowledge on how to connect everything together and...