Go to documentation repository
Page History
You can use message templates in commands (see E-mail notification, SMS notification, Executing a web query) that involve sending notifications:
- {cameraNode} - – Server name;
{eventNode} - – Server name (used if the macro launching condition is not linked is not linked to a particular camera);
- {cameraName} - – name and short name of the camera that initiated the macro;
{cameraLabel} - – just the camera's name;
- {cameraIpAddress} - – camera's IP address;
- {cameraId} - – camera's ID;
- {cameraRef} - – the VIDEOSOURCEID identifier;
- {plate} - recognized – recognized vehicle number;
{name} - – name of the recognized person from Lists of Facial Templates;
{age} - – age of the recognized individual;
{gender} - – gender of the recognized individual;
Note title Attention! The {age} and {gender} templates can be applied when the following conditions are met:
- The Gender and Age parameter is activated in facial detection tool settings (see Configure Facial Recognition).
- The Face Appeared: Specified Triggering event is selected as a launch condition for this macro (s).
{appearedTime} - – UTC time of object detection;
{dateTime} - – date and UTC time of triggering the macro in ISO format;
{serverDateTime} - local Server – local Server time of triggering the macro in ISO format;
{rectangles} - – coordinates and size of the object that triggered the detection tool;
statistics templates:
{cpuUsage} - – percentage of CPU load on a Server;
{netUsage} - – percentage of used network bandwidth on a Server;
{memoryUsage} - – percentage of used RAM on a Server;
{diskUsage} - – percentage of disk usage;
{archiveUsage} - – percentage of Video Footage usage.
Note title Attention! You can apply statistics templates only if you launch a macro by a corresponding statistical condition (see Triggering macros by statistical data).
Info | ||
---|---|---|
| ||
Templates allow allow {} and %%. For example, %cameraId%%cameraId%. |
Info | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||
Date/time templates (such as dateTime, serverDateTime, appearedTime and serverAppearedTime) offer an extended input option which allows you to set date and time in arbitrary format. A format description parameter must be contained within a pair of @ symbols. Here's an example: {dateTime@%Y-%m-%d %H:%M:%S@}. In this case, the actual format is presented as 20202022-1004-04 28 18:43:23. Available parameters:
|
E.g. this macro sends an email of the following format when a water level detection tool triggers:
...