try placing a 5150 glass shock sensor and
attaching to x10 door/window magnetic
sensor. you can test this setup by hitting
the window glass or (better and safer) by
flicking firmly with your fingers against
the side of the sensor away from the glass
surface.