how to drive HIK PTZ with Axis P3367 ...?

bickford

Getting comfortable
Joined
Mar 12, 2016
Messages
468
Reaction score
432
Hello everyone

I would like to drive a HIKVISION PTZ camera with curl ...

I explain you my problem :

I have 4 camera ; 1 Axis P3367VE and 1 HIK DS-2DE5220IW-AE and 1 DS-2DF8236I-AELW and 1 other small HIK Exir
I would like to use the axis P3367VE to drive the preset of my HIK DS-2DE5220IW-AE and DS-2DF8236I-AELW
When P3367VE detect a motion she trigger a http command to move the HIK DS-2DE5220IW-AE and DS-2DF8236I-AELW to a determined preset.

I have found in the HIK API this command to recover XML file.
http://admin:password@192.168.1.10/ISAPI/PTZCtrl/channels/1/presets/2/goto

and i obtain this :
<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="2.0" xmlns="Oops:The page you are visiting may have been deleted,renamed or inaccessible.">
<requestURL>/ISAPI/PTZCtrl/channels/1/presets/2/goto</requestURL>
<statusCode>1</statusCode>
<statusString>OK</statusString>
<subStatusCode>ok</subStatusCode>
</ResponseStatus>


But now how can use this XML file to drive my HIK camera ? I have to put this in a php file ?

I dont understand , my P3367 cant use CURL command , only TCP and HTTP ...

But i can store php file on the P3367 i have a Synology too that i can use for HTTP server ...

Thanks very much

BICK
 

Attachments

Last edited:

bickford

Getting comfortable
Joined
Mar 12, 2016
Messages
468
Reaction score
432
Found the answer

thanks to all ... :)

BICK
 
Top