If you have wiring then:
[Link: grisk.com]Or use the interlogix transmitter which I've used hundreds of time:
[Link: interlogix.com]with a 2 channel reciever: 60-760-95R . Since I use DSC mainly, I can sometimes use the DSC sensor with built-in tilt switch or the sensor with screw terminals so I can use the GRI switch above.