If you want to use multiple GJD IP detectors to trigger a LILIN PTZ camera to different presets based on which GJD is triggered, please use the codes below. Each code will need to be added to each GJD detector based on which preset you would like the camera to move to once a specific GJD is triggered.
In this scenario we will have 3 GJD detectors linked to one LILIN PTZ camera. Each GJD will trigger the camera to move to a specific preset.
GJD detector 1 will trigger the camera to preset 1, GJD detector 2 will trigger preset 3 and GJD detector 3 will trigger preset 3 on the camera.
If you are using an IPS PTZ Dome, use the codes below:
GJD Detector 1 URL's to trigger PTZ preset 1
Always add the relevant information for the camera at the beginning of the URL:
http://<Username>:<Password>@<IP Address>
Start - /mdmotion?&ALARM_FLAG=1&ALARM_FLAG_NO=0
Stop - /mdmotion?&ALARM_FLAG=2&ALARM_FLAG_NO=1
Alternative Preset 1 Codes
0=disable, 1=enable
Start - /mdmotion?ALARM_FLAG=1
Stop - /mdmotion?ALARM_FLAG=0
Example of a Full URL:
http://admin:pass@192.168.0.200/mdmotion?&ALARM_FLAG=1&ALARM_FLAG_NO=0
GJD Detector 2 URL's to trigger PTZ preset 2
Always add the relevant information for the camera at the beginning of the URL:
http://<Username>:<Password>@<IP Address>
Start - /mdmotion?&ALARM_FLAG_2=1&ALARM_FLAG_NO_2=0
Stop - /mdmotion?&ALARM_FLAG_2=0&ALARM_FLAG_NO_2=0
Example of a Full URL:
http://admin:pass@192.168.0.200/mdmotion?&ALARM_FLAG_2=1&ALARM_FLAG_NO_2=0
GJD Detector 3 URL's to trigger PTZ preset 3
Always add the relevant information for the camera at the beginning of the URL:
http://<Username>:<Password>@<IP Address>
Start - /mdmotion?&ALARM_FLAG_3=1&ALARM_FLAG_NO_3=0
Stop - /mdmotion?&ALARM_FLAG_3=0&ALARM_FLAG_NO_3=0
Example of a Full URL:
http://admin:pass@192.168.0.200/mdmotion?&ALARM_FLAG_3=1&ALARM_FLAG_NO_2=0
Some settings would also need to be adjusted on the PTZ camera to allow the camera to react to an alarm trigger from a GJD detector. Below is a screenshot of the correct 'Alarm' settings for the scenario above.
It would also be possible to get the camera to react in different ways to GJD detector triggers. If you would like the camera to send an email when a GJD trigger is received, you will need to set the motion detection settings as follows.
Please note in the image above the 'Alarm Detection' options are set to 'Disabled'. The code from the GJD will enable and disable this feature upon it triggering.
If you are using an PSR PTZ Dome, use the codes below:
Always add the relevant information for the camera at the beginning of the URL:
http://<Username>:<Password>@<IP Address>
GJD Detector 1 URL's to trigger PTZ preset 1
Start - /mdmotion?&ALARM_FLAG=1&ALARM_FLAG_NO=0
Stop - /mdmotion?&ALARM_FLAG=0&ALARM_FLAG_NO=1
GJD Detector 2 URL's to trigger PTZ preset 2
Start - /mdmotion?&ALARM_FLAG_2=1&ALARM_FLAG_NO_2=0
Stop - /mdmotion?&ALARM_FLAG_2=0&ALARM_FLAG_NO_2=1
GJD Detector 3 URL's to trigger PTZ preset 3
Start - /mdmotion?&ALARM_FLAG_3=1&ALARM_FLAG_NO_3=0
Stop - /mdmotion?&ALARM_FLAG_3=0&ALARM_FLAG_NO_3=1
Example of a Full URL:
http://admin:pass@192.168.0.200/mdmotion?&ALARM_FLAG=1&ALARM_FLAG_NO=0
Ensure you 'Alarm Detection' settings are set as below:
All information above had been taken from the attached SDK document
0 Comments