For windows you want secured at night, such as your downstairs windows which are easier for crimminals to access, use these settings:
Device type: Window Alarm
Zone Attribute: Out Arm Active
For windows you may want to have open in the middle of the night, such as upstairs bedroom windows where its safer to keep open as it is more difficult for crimminals to access, use these settings:
Device type: Window Alarm
Zone Attribute: Stay Arm Active
OSI Wi-Fi Alarm: Recommended settings to use for contact sensors used on windows - Click here