HTTP SDK Commands

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Post Reply
dro
Posts: 3
Joined: Sun May 23, 2021 10:12 am

HTTP SDK Commands

Post by dro »

Hi,
I have added my amcrest ip cam to my obs using rtsp. I'm a livestreamer so I gave chat the ability to change the cameras at my house using chat commands. One of the commands I added was to change the PTZ presets so they can move the ptz from location to location. another feature I added was to turn the day mode and night mode on/off. however, every time i turn on the day mode again it defaults to General mode instead of DAY>Auto which i want.

I tried different variations of the http commands but for some reason just cant figure it out and there's not much info on this in the api doc im using: [https://drive.google.com/file/d/1VM2Tb- ... UuTR-/view]

So here's the http command, can someone pls let me know what im doing wrong?
http://user:pass@192.168.1.5/cgi-bin/co ... Mode=Color

I also tried mode=photoresistor and others as seen on and after the doc page 124. Should I be using a different command instead? I tried the "devvideoin" stuff too [on page 35] but had no luck. cam is the 4k:1051 ip cam [https://amcrest.com/amcrest-ultrahd-4mp ... 1051b.html]

Software VersionV2.620.00AC000.3.R, Build Date: 2019-09-19
WEB Version3.2.1.619604
ONVIF Version16.12(V2.4.1.513183)
jack7
Posts: 904
Joined: Tue May 29, 2018 7:46 pm

Re: HTTP SDK Commands

Post by jack7 »

dro
Posts: 3
Joined: Sun May 23, 2021 10:12 am

Re: HTTP SDK Commands

Post by dro »

thanks, at first i had some issues trying this but it looks like i may have gotten it working now. Are there any other places I can find more about these commands?
jack7
Posts: 904
Joined: Tue May 29, 2018 7:46 pm

Re: HTTP SDK Commands

Post by jack7 »

See the first jack7 post in this thread:
https://amcrest.com/forum/ip-cameras-f1 ... html#p2647
Also, you might find something useful in the code available here:
https://github.com/bp2008/DahuaSunriseSunset
Post Reply