Wired Magnetic sensor for Security system