Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

You can use message templates in actions that involve sending notifications (see E–mail notification, Push notificationExecuting a Web-query):

  • {cameraNode}Server name (used if the macro start condition is connected to a camera);
  • {eventNode}Server name (used if the macro start condition isn't connected to a camera);

  • {cameraName}name and short name of the camera that initiated the macro;
  • {cameraLabel}just the camera name;

  • {cameraIpAddress}camera IP address;
  • {cameraId}camera ID;
  • {cameraRef}the VIDEOSOURCEID identifier (see Get list of cameras and information about them);
  • {dateTime}—time of macro start in ISO format in the UTC time zone;
  • {serverDateTime}time of macro start in ISO format in the Server time zone;
  • {plate}recognized vehicle license plate;
  • {plateDirection}—the direction of movement of the vehicle in the frame. Possible values: 1—from top to bottom; 2—from bottom to top;
  • {name}name of the recognized person from a list of faces (see Faces);
  • {list}name of a list of faces or a list of LPs (see FacesLPs);

  • {age}age of the recognized person;
  • {gender}gender of the recognized person;

    Attention!

    You can use the {age} and {gender} templates when the following conditions are met:

    1. The Age and gender parameter is enabled in the settings of the Face detection tool (see Configuring the Face detector VA).
    2. The Face Appeared: Specified Triggering event is selected as a start condition for this macro (see Configuring start conditions).
  • {appearedTime}—time of object detection in the UTC time zone;

  • {serverAppearedTime}—time of object detection in the Server time zone;
  • {rectangles}coordinates and size of the object that generated an event from the detection tool;

  • statistical templates (used only when a macro is started when a corresponding statistical condition is met (see Starting the Event rules macros based on statistical data):

    • {cpuUsage}—Server CPU usage;

    • {netUsage}—Server network usage;

    • {memoryUsage}—Server memory usage;

    • {diskUsage}—disk usage;

    • {archiveUsage}—archive usage.

Note

In addition to curly braces {}, you can also use %% in templates. For example, %cameraId%.

The date/time templates (such as dateTime, serverDateTime, appearedTime, serverAppearedTime) offer an extended input option which allows you to specify the date and time in arbitrary format. A format description parameter must be contained within a pair of @ symbols. 

For example: {dateTime@%Y–%m–%d %H:%M:%S@}. In this case, the actual format is presented as 2020–10–04 18:43:23.

Available parameters:

Parameter

Description

%a

Abbreviation for the day of the week

%A

Full name of the day of the week

%b

Abbreviation for the month 

%B

Full name of the month 

%y

Last two digits of the year

%Y

The year in full

%m 

Month of the year 

%d 

Day of the month

%H

Hour in 24h format

%M

Minute as a decimal number 

%S

Second as a decimal number

%F

Fractions of a second

Combined parameters:

Parameter

Description

%D

Equivalent to %m/%d/%y

%T

Equivalent to %H:%M:%S

For example, this macro sends an email of the following format when the Water Level Detection generates an event:

Subject: Notification: Attention, water level detection is triggered.

Server: Server1
Camera: 10.0.11.36 34.Camera
Time: 20190812T085517.926430
  • No labels