General information about macros

Configuring macros


If you don't have the Wait command in a Cycle rules macro, there is a delay of one second between cycles.

Example 1. This macro runs continuously, starting from the moment that you saved it.

Cycle consists of alternating layouts with alarmed cameras and layouts with marked cameras. interval is five seconds.

Open layout

Wait for timeout

Example 2. This macro runs continuously within a time schedule.


Every hour video from camera 1 is exported. After export is completed, a voice notification is played.

Start export

Wait till previous action finishes

Voice notification from сlient

Wait for timeout

Example 3. This macro checks if there are recording intervals in the archive from a camera for the last two minutes.

If there are archive records in the camera, the macro stops its execution. If there are no archive records in the camera for the last two minutes, an email notification with the server and camera specified is sent.

Check that archive record exists

Break execution

E-mail notification