SEDANGHOKI RTP SLOT The magnet part goes on the door or window, while the switch part goes on the window frame or doorjamb. Use the mounting screws in the kit to attach the parts. Try to position the two parts of the switch so that they are close together -- almost touching -- when the window or door is closed, and widely separated when the door or window starts to open.|Need to Rewire a Lamp?