From Alertme
If you'd like to view the movie of this, click here.
You might also want to bear in mind that if your doors or windows have angled edges, you might need to do something a bit different, such as putting the sticky pad on the side of the small magnet part of the sensor.