Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

General information about macros

Configuring macros


Note
titleAttention!

If you do not have the don't have the Wait command in a cyclic Cycle rules macro, the time-out there is a delay of one second between cycles is 1 second.

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

Image Modified

The cycle Cycle consists of alternating layouts with marked cameras (2) and alarmed cameras and layouts with alarmed marked cameras (4). interval − 1 minute (3, 5).is five seconds.

Tip

Open layout

Wait for timeout

Example 2. This macro runs continuously within the a time schedule 1 (1).


Image Modified

Every hour (5) video from camera 1 is exported (2). After the export is completed (3), an audio alert is sounded (4), a voice notification is played.

Tip

Wait for timeoutStart 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.

Image Added

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.

Tip

Check that archive record exists

Break execution

E-mail notification