Usually, the alarm is triggered by opening a window while the system is armed. However, there are window alarms that allow you to open your window narrowly without activating the alarm so that you can get fresh air from outside without sacrificing safety.