Magnetic sensors are an important part of the security system. A reed switch is a sensor, one part of which is mounted on the door leaf and the other on the door frame. When connected to a LAN controller, it allows remote protection to be extended to doors, windows and other moving parts. When the door is opened, the electrical circuit is disconnected and this is detected by the LAN controller. When an event is detected a predefined action can be performed.