Amcrest CGI Commands

Discussion for all types of camera
jeremy.mathis
Posts: 8
Joined: Thu Feb 21, 2019 11:50 am

Amcrest CGI Commands

Postby jeremy.mathis » Sat Mar 09, 2019 1:27 pm

Hello,
I came across this document, https://s3.amazonaws.com/amcrest-files/ ... DK_API.pdf and for most of what I have tried, it seems to work ok. There is one command I am interested in and can't seem to get anything but "ERROR" in response.

The command is under the PTZ section. The Code is "PostionReset" and it looks like it is supposed to reset the Position Reference for PostionABS. Here is the command I send to the camera, it looks right but only gives me "Error".

Code: Select all

http://10.10.10.162/cgi-bin/ptz.cgi?action=start&channel=PTZ&code=PositionReset&arg1=0&arg2=0&arg3=0&arg4=0

Any ideas?

Ynot
Posts: 8
Joined: Sun Mar 17, 2019 6:32 pm

Re: Amcrest CGI Commands

Postby Ynot » Fri Mar 22, 2019 10:46 am

I was hoping for just such a cgi command, but apparently it has been removed from the most recent firmware. The HTTP API link you provided is v1.51, but the most recent for my camera at least, is v2.12 with no such entry for PositionReset, and I also get the returned:

Code: Select all

Error
Bad Request!


Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 14 guests