Page 1 of 1

Dericam configuration

Posted: Sun May 14, 2017 5:19 am
by computer_freak_8
Hello!

I recently got a Dericam, and managed to get video working, but not control.

After some digging, I discovered that I can control the camera by making an HTTP GET request to the camera's URL, in the form of:

Code: Select all

http://ip-address/cgi-bin/hi3510/param.cgi?cmd=ptzctrl&-step=1&-act=up&-speed=45&-authorize=KEY
where "KEY" is simply "username:password" that's been Base64-encoded.

Any thoughts as to how I could incorporate this with Zoneminder, whether as a patch to the source code, and/or just in my own system? I know how to make GET requests from Perl/Bash, if that helps at all; I just don't know how to integrate it with Zoneminder.

Re: Dericam configuration

Posted: Thu Jun 22, 2017 9:00 am
by jerrynavarete
What kind of configuration is this?

Re: Dericam configuration

Posted: Tue Jul 04, 2017 7:09 pm
by computer_freak_8
jerrynavarete wrote: Thu Jun 22, 2017 9:00 am What kind of configuration is this?
I'm not sure I understand the question?

Re: Dericam configuration

Posted: Sat Aug 19, 2017 12:20 am
by computer_freak_8
Look, I'm fine to write the module or whatever if someone wants to give some pointers on where to start. I'll even contribute it back to the codebase. I just need to know where to look/requirements for my code.

Re: Dericam configuration

Posted: Fri Aug 25, 2017 2:07 pm
by Baylink
Cool. :-)

Have you seen this page in the manual yet?

http://zoneminder.readthedocs.io/en/sta ... ntrol.html

I haven't done that work myself, but it appears to answer your question....

Re: Dericam configuration

Posted: Sat Jun 23, 2018 8:01 pm
by WayneD
Maybe this will help - HARD TO FIND THIS!:

https://www.johnlose.de/wp-content/uplo ... v1.0.2.pdf

Dericam Camera CGI & RTSP User Guide

I know enough to be dangerous. If someone could put together a zoneminder control profile for Dericam, it would be AWESOME! :D

Re: Dericam configuration

Posted: Mon Nov 05, 2018 2:34 am
by computer_freak_8
Apparently I need to make sure my notifications are enabled!
Baylink wrote: Fri Aug 25, 2017 2:07 pm Have you seen this page in the manual yet?

http://zoneminder.readthedocs.io/en/sta ... ntrol.html
No, I hadn't seen this, but it doesn't seem to address my needs; I need the "developer" guide, not the user guide. :-) I'm not quite good enough to decipher the existing scripts in such a way I'm confident they'll work with Zoneminder. Maybe I need to just try and see what I break.
WayneD wrote: Sat Jun 23, 2018 8:01 pm Maybe this will help - HARD TO FIND THIS!:

https://www.johnlose.de/wp-content/uplo ... v1.0.2.pdf
Nice! This might simplify things when I start writing the code. Rather than having to reverse-engineer the webpage, it looks like they include pretty much everything I need right here.

Re: Dericam configuration

Posted: Tue Nov 06, 2018 12:04 am
by snake
I added the cgi rtsp guide to the archive, in case the original link dies.

http://web.archive.org/web/201811052357 ... v1.0.2.pdf