The sensor is just a magnetic switch, when its magnetized the two wires short, when it isn't they disconnect. Doesn't matter which way you wire them. Check the security panel on the other end of the ...