In the following example we will see how to send an IP notify message to another camera with the instructions to play a sound file called “Alarm”. Camera B does not require any configuration because the sound file “Alarm” is pre-loaded in the software from factory.
NOTE: with HTTP CGI commands it is NOT possible to execute multiple actions on the target camera. To do that please refer to Sending a plain text message to trigger an IP Receive event on a remote camera
Configuration on Camera A (sender)
Go to Admin Menu >> IP Notify Profiles and create a new profile as shown in the picture.
Select “Custom Configuration” as a “Predefined Configuration”, type the IP address of the recipient camera followed by the web server port (i.e. 80), select “HTTP/1.0 Request” as a “Transfer Protocol”. The CGI path contains the path where the script responsible for the action is located (i.e. /control/rcontrol). The HTTP Authentication token contains the user name and the password of a user with sufficient rights to execute the action on the remote camera. Type the command you want to execute in the “Message” text box:
NOTE: When you type the command make sure that there are no white spaces or empty lines before or after the command. Press “Set” to apply the settings.
Go to Setup Menu >> General Event Settings and enable the Arming.
Goto Setup Menu >> Events Overview and click on the “Edit” button in the “Image Analysis Event” section. Create a new Video Motion profile or modify one of the pre-configured profiles.
Go to Setup Menu >> Action Group Overview and create a new Action Group.
The Action Group will be activated by Video Motion events and it will trigger the IP Notify profile called “PlaySound”.