Using Time Tasks to switch between Event Based and Continuous Recording

Introduction

It is possible to automate the switching of recording modes between Event Based and Continuous Recording, over regular time periods. To achieve this, Time Task (TT) will trigger IP Notify profiles to make the required change.

Set up two IP Notify profiles

One profile will be for Continuous recording and the one for Event Based Recording.

Go to >Admin >Transfer Profiles, IP Notify Profiles

Create the first profile for continuous recording

Name the profile: (e.g. Continuous Recording)
Destination Address: localhost:80
Data Protocol/Transfer protocol HTTP/1.0 Request
Data Protocol/CGI Path: /control/control
Data Protocol/HTTP Authentication: loginname:password
Data Type/Notification Data: plain text
Data Type/Message: section=recording&recording=streaming&streamframerate100=0&streamaudio=audio

Create the second profile for event recording

Name the profile: (e.g. Event Recording)
Destination Address: localhost:80
Data Protocol/Transfer protocol HTTP/1.0Request
Data Protocol/CGI Path: /control/control
Data Protocol/HTTP Authentication: loginname:password
Data Type/Notification Data: plain text
Data Type/Message: section=recording&recording=streaming_event&streameventframerate100=0&streamaudio=audio&recstartmask=*&streamantetime=2&streamtime=10

Note: The parameters can be changed in the message. These examples are basic settings. For the continuous recording I used full frame rate with audio. For event recording I used full frame rate, audio on, all event triggers, 2 seconds before, and 10 seconds after. The full list of parameters available can be found in the help file of the camera in the HTTP API section.

Set, Close and Ok to save the settings

Set up two Time Tasks

Go to >Admin >General Administration, Time Tasks

The first Time Task is to activate continuous recording

Use the pull down to select the IP notify profile for 'Continuous Recording'
Set the correct time to send

The second Time Task is to activate event recording

Use the pull down to select the IP notify profile for 'Event Recording'
Set the correct time to send

Set, Close and Ok to save the settings