How to record 5 seconds of video every 30 minutes using Alarm Task Script?

How to record 5 seconds of video every 30 minutes using Alarm Task Script?

Related Products

Bosch encoders


Step-by-step guide


Place this in the alarm task editor and save it.  Please read the comments for more details.  They are noted below by //.

//Define weekly timer from Monday to Sunday from 7am to 9pm
Timer weekly := {TimeBegin(07:00) TimeEnd(21:00) DayBegin(Mo) DayEnd(Su) };

//define what is to be recorded
Recording recording:= { Camera(All) };

// Define Operation Mode to periodic, 1 sec low 30 min high
OperationMode periodic := { Low(10) High(18000) };

TempState(1):=periodic;

//define recording timer
OperationMode monostable := {High(50)};
TempState(2):=monostable;


//Turn on recording timer
if (IsActivated(weekly)) then TempState(1) := true;

if (TempState(1)) then TempState(2) := true;

if (TempState(2)) then recording else Stop(recording);


Loading


͏ ͏ Stay up to date

Get in touch

You are on

͏͏͏ ͏ Newsletter

Contact us
Support
Training

Bosch Building Technologies
Bosch worldwide>

All Bosch Apps
Apps and Tools>



© Bosch Sicherheitssysteme GmbH 2025, all rights reserved