How Security Alarms Work: The Basics