A system and method for controlling movement of a door or other apparatus, such as to provide and restrict access to a chicken coop, including a plurality of input devices, a plurality of output devices, and a microprocessor configured on a circuit board to detect signals from the input devices, process the signals, and based upon predetermined logic generate and transmit output signals to the output devices. One of the input devices is a wireless smart switch remotely controlled by a user, which transmits electric current based upon user input such that when the user input indicates an intention that the apparatus move in a first direction, the switch will transmit electric current, and when the user input indicates an intention that the apparatus move in a second direction, the switch will stop transmitting electric current.