The easy-to-install surface-mounted magnetic contacts are used to signal the status of the door or other application. The two parts are placed opposite each other with the magnet in one part and the switch in the other part. The switch is potential-free.