Contrary to what Bnoon and others have been saying.. The resistor goes on the white/purple wire.. Not the brown wire. The brown wire is a sensor ground wire... This will not complete the circuit properly since it has to be in the power side of the circuit.. Not the ground side.
Dom