Alerts and Notifications setup tutorial

To set up alerts and notifications you need to have at least one configured pipeline. If you don't know how to do that, refer to the pipelines setup tutorial. This tutorial will walk you through steps to set up a simple rule to generate alerts and a channel to send them.

First we need to set up a rule to generate alerts. We will configure a rule, that creates an alert if there are more than 3 people on the scene. Navigate to device management in the navigation tree, expand the device for which you want to set up the rule and double-click on alerts and notifications. In the top center part click the add alert button, this will open a new window where you set up the rule. Input the name, e.g. "human detection" and leave the category on alert. On the left side click objects on scene and select a pipeline and streams, this specifies which streams are monitored by this rule. Select only person in objects and in quantity, click range, choose > and input the value 3. Click okay.

The first part of creating a rule is done. Next we can configure some additional parameters. We will leave the schedule on always, but will change reacting to repeated events to beginning and end.

Last thing to do is configure the messages. In the second tab (begin), input "There are more than 3 people!" and on the fourth tab (end), input "There are no more than three people anymore." Note that the third tab (continue) is disabled, because of the repeated events mode we chose. That's it! the rule is all set.

Now to receive the message, you need to configure a channel to send them. On the secondary pages navigate to notification channels and click add channel. Choose the channel type you would like to use, input a name and click ok. On the right side in tabs, enable the channel and in alert types to send choose alert. Further settings depend on the channel type you chose, please refer to the channel specifics page. In the third tab (tester) click on RUN. If you received the test message, the setup was successful and you will receive notifications if more than 3 people arrive on the scene.