Contact sensors, often known as door or window sensors, use magnets to sense open or closed states. You can use this information and the changing of these states to do all sorts of neat things in your ...