*Plugin – Sense Calendar

Configuration Article | CA-20200930-TP-23

VDG Sense | Setup | Plugins | Sense Calendar

Introduction

The Sense Calendar is used to periodically execute server or viewer macros. For instance to switch a screen layout called ‘Day Shift’ at 09:00 o’clock and switch it to the layout ‘Night Shift’ at 17:00 o’clock every workday of the week. In this example the layout ‘Day Shift’ and ‘Night Shift’ can contain different cameras which are important during the day or during the night.

Another example is to enable or disable server macros in which actions are defined to open a barrier if a license plate is recognized based on a time schedule. 

Setup

To activate the Sense Calender the ‘Sense Calender’ checkbox should be checked:

After activation the calendar screen will appear:

To create an event or macro schedule, double-click on the day on which the schedule should start. A dialog appears in which the parameters of the schedule can be configured.

Event Configuration

General

  • Summary
    The name of the schedule event

  • Start
    Start date and time of the schedule event

  • End
    End date and time of the schedule event

Pattern

  • Frequency
    The type of schedule; Daily, Weekly, Monthly, Yearly. If Weekly is chosen the days of the week can be chosen

  • Interval
    How often should the schedule be executed; ‘0’ is execute once, ‘1’ is execute event every time, ‘2’ is skip every second event, and so on

Range

  • End never
    Schedule never ends

  • End by
    End schedule on a specific date

  • End after
    End schedule after x times

Macros

To define the start and end actions of the server and or viewer macros press the corresponding button in the ‘Edit Event’ dialog.

Event dialog

Example

A real world example on how to the calendar could be used is based on the weekly schedule which is explained above. Assuming the installation has CarR activated to scan for known license plates to open a barrier (using I/O module) during working hours. The installation also has layouts which are used for the ‘Day Shift’ and ‘Night Shift’ which have a different sets of cameras important for that time of day.

See below for the schedule, every working at 09:00 o’clock and 17:00 o’clock the calendar is triggering an event which will execute a macro.

Server Macro

The server macro to open the barrier (trigger output contact) is called ‘Open Barrier’. To define the macro to be executed when the ‘Day Shift’ starts, press ‘Start’ on the right side of ‘Server Macro’. The following dialog will appear:

The signal conditions should not be changed as they are essentials for the calendar. 

Assuming there is a macro wich opens a barrier (called ‘Open Barrier’), this macro is set to ‘active’ when this macro is executed.

To define the macro to be executed when the ‘Day Shift’ starts, press ‘Start’ on the right side of ‘Server Macro’. The following dialog will appear:

The signal conditions should not be changed as they are essentials for the calendar. 

Assuming there is a macro wich opens a barrier (called ‘Open Barrier’), this macro is set to ‘inactive’ when this macro is executed.

Viewer Macro

To define the viewer macro to be executed when the ‘Day Shift’ starts, press ‘Start’ on the right side of ‘Viewer Macro’. The following dialog will appear:

The signal conditions should not be changed as they are essentials for the calendar. 

The only action to execute is to ‘Switch Multilayout’ to ‘Day Shift’.

To define the viewer macro to be executed when the ‘Night Shift’ starts, press ‘End’ on the right side of ‘Viewer Macro’. The following dialog will appear:

The signal conditions should not be changed as they are essentials for the calendar. 

The only action to execute is to ‘Switch Multilayout’ to ‘Night Shift’.

Important: The event triggering these macros is only send once, at 09:00 and at 17:00. This means if the client logs in at 12:00 it will not switch the layout to ‘Day Shift’ automatically.  

Related pages