You should now have a motion sensor with four wires coming out of it. The black and the white wires provide power to the sensor and should be connected to 120VAC. The red wire and the new one you added (purple on mine) are connected to the contacts on the relay. When the sensor de...