A person is using a magnetic door sensor connected to the digital input of an ip camera to trigger a siren and send an email alert.