Magnetic Door Sensor/Switch A magnetic sensor used in protection systems, senses whether the truck or cabin door is open or closed, sending alerts if someone opens the door and determining his location, time, date and period of opening the door through the tracking system with complete accuracy.