In this example we are creating an **Alarm Definition** to provide an alarm if one of the panel input states is changed. Note that all monitored states are N/C and will alarm only on N/O. Create a **User-defined Event**, use a descripted name for this as this will show in the XProtect Alarm Definition at the end. ![[z_img/02e1ecacb13ddedeb37e6078768f9941_MD5.jpeg|400]] Create a **Rule** Perform action on [event] - Select [Access Control] - [Access Control Events] - For this example I have used [Tamper Detected], other monitors states are [Door Open], [Power Supply Error]. ![[z_img/53b4d753310e15d1f2f149fd57b04b3f_MD5.jpeg|400]] - Select the panel from the bottom of the tree structure for the relevant door as the **Source**. ![[z_img/28faae8d2770e8381f989d7bc63a13c5_MD5.jpeg|650]] - Select for [Action] **On [site] trigger [user-defined event]** - [site] is the XProtect server - [user-defined event] is the new event we created first Here is an example of the completed **Rule**. ![[z_img/d95e6da97e871d956b4da6d3c0a96506_MD5.jpeg|650]] Create an **Alarm Definition** - For **Triggering event:** select [External Events] ![[z_img/dc25214a7a1ff9e1d1762c620b909c2d_MD5.jpeg|650]] - For the **Sources** select the ![[z_img/99defa82944b4771cf0c6ae74692da22_MD5.jpeg|650]] ### Alarm Manager Generate the alarm, you should now see the alarm be generated. ![[z_img/dad5244060a53a300d364500d6073579_MD5.jpeg]] The door will show on a map with a yellow warning. This will clear once the alarm returns to the N/C state. ![[z_img/ffd2d53bc0398a29ca3ee463f20ba9f5_MD5.jpeg|200]] XProtect Access will show the door state with a tamper. ![[z_img/22e599fcd58550e71de76e546e051ff4_MD5.jpeg]]