A magnet attached to the drum activates a Reed Switch when the drum position is correct (lid upside), the Reed Switch controls the door lock.
Magnets inside the cylinder activate Reed Switches or Sensors on the outside. The current state and position of the cylinder is detected.
Windows and doors are monitored by Reed Sensors in the windows/doors
frame and magnets attached to the window/door. If the window or door is opened with activated security system and alarm is issued.
Modern energy saving houses or houses with an open fire place need a security system that enables open fires or working kitchen hoods only when a window is open.