CredoID

Rules

Create and manage automated system actions

The Interface

Basics

In this section we can create rules which will trigger certain actions, e.g. activate an alarm output when someone force opens door or send an e-mail to manager when one of the devices goes offline.

This feature is licensed and requires purchase of additional module.

Creating a new rule

triggers_buttons.png
Click Add button to start creating a new rule.

Trigger filters

Basically filters are the events or entities in CredoID that will act as a triggers.
A few examples of filters:

Creating a filter for the trigger

Open "New rule" creation dialog by clicking "Add".

1newruletrigger_createfilter.png

Trigger configuration menu can also be opened by selecting one of already created rules.

To create a new trigger filter click Create filter button.
If any filter is selected there will be Edit filter button available instead.

1selectedrule_createfilter.png

Enter filter name and then select events or entitites to act as a trigger.
Select any object from "Available" list and click ‘>’ to move it to Selected field (or double-click any selected object) and click Save.
In this example it's Door forced open event from Event types.

2filter_doorforcedopen.png

Filter is created and can be selected from the list. 

2filter_doorforcedopen_3.png

Selecting an action

Action selection menu is shown at 2nd step of "New rule" creation or after selecting an existing rule and clicking Add button in “Actions” section.

Actions can be selected by using Search function or by navigating through menu.

3select_action.png

Select desired action(s).

Cameras

Devices

CredoID

ASB Security Musdo

Adding an action filter

Action filter can be created at 3rd step of new rule creation.

3newrule_action_filter.png

In this example we will use Turn on output action.
To filter which output or outputs are used in the action, click Create filter button.

action_turnonoutput.png

Enter filter name i.e., "Output 1" and then select output from "Available" list and click ‘>’ to move it to Selected field (or double-click any selected object) and click Save.

action_rulefilter_output.png

Filter for the action is created and can be selected from the list.

Apply your created filter and click Save.

Creating a rule to send e-mail

To create a new rule, click Add.

Create a new trigger filter or select existing one. 

1newruletrigger_createfilter.png

Add action "Send e-mail" - In the “Select actions” section select CredoID → Send e-mail.

action_sendemail.png

E-mail provider should be added in "Settings → General → Notifications". Otherwise, you won't be able to use this feature.

Fill in required fields.

trigger_send_email_2.png

Creating a rule to send a report via e-mail

To create a new rule, click Add.

Create a new trigger filter or select existing one. 

1newruletrigger_createfilter.png

Add action "Send report" - In the “Select actions” section select CredoID → Send report.

action_sendreport.png

E-mail provider should be added in "Settings → General → Notifications". Otherwise, you won't be able to use this feature.

Fill in required fields.

actions_send_report.png

E-mail provider settings

E-mail provider configuration can be done in "Settings → General → Notifications"

notifications_email_provider.png

Outgoing e-mail configuration like SMTP and SSL/TLS is provided by your e-mail provider.

Variables

You can add variables to e-mail template or to a subject line - click icon in bottom right corner of “Send e-mail” section.
Variables are also used in HTTP Triggers.

Variables can be used to pass various information such as device name, timestamp, first&last name, event type etc.

In example, rule where e-mail is sent when doors are forced open - in the e-mail template, using variables, you can specify which doors was it, exact time when it happened etc.

variables_example.png

Using rules to send HTTP request

To send a custom HTTP request when specific event is triggered firstly you need to create a trigger filter.
After creating filter you need to add HTTP Request as an action.
triggers_action_categories.png

Select "CredoID" and then "HTTP request".

trigger_action_blank_http_request.png

Now you need to configure HTTP request that will be sent when specific event is triggered.
Select Method, enter Endpoint URL and add needed Parameter/Header keys(arguments) and their values. Also, Body can be added as well.

Required details for HTTP Requests, if not publicly available, should be obtained through authorized sources.

trigger_action_http_request.png

In this example I'm using GET method to trigger a global event with attached message in "Digifort surveillance client". This HTTP Request will be triggered everytime "Door forced open" event is generated in "CredoID". This request also requires authentication, so I've added "AuthUser" and "AuthPass" keys.

Create a generic event in NX Witness VMS

To create a new rule, click Add.

Create a new trigger filter or select existing one. 

1newruletrigger_createfilter.png

Add action "NX Witness generic event" - In the “Select actions” section select CredoID → NX Witness generic event.

3select_action.png

Select required options, fill in required fields and finalize configuration.

action_nxwevent.png

Camera rules must be created in NX Witness VMS so a Generic event can trigger them.