Dericam configuration

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
computer_freak_8
Posts: 7
Joined: Sun May 14, 2017 5:13 am

Dericam configuration

Post 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.
jerrynavarete
Posts: 12
Joined: Wed Jun 21, 2017 9:55 am
Location: Upper Coomera, Queensland, Australia

Re: Dericam configuration

Post by jerrynavarete »

What kind of configuration is this?
computer_freak_8
Posts: 7
Joined: Sun May 14, 2017 5:13 am

Re: Dericam configuration

Post 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?
computer_freak_8
Posts: 7
Joined: Sun May 14, 2017 5:13 am

Re: Dericam configuration

Post 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.
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Dericam configuration

Post 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....
User avatar
WayneD
Posts: 2
Joined: Sat Jun 23, 2018 6:38 pm

Re: Dericam configuration

Post 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
computer_freak_8
Posts: 7
Joined: Sun May 14, 2017 5:13 am

Re: Dericam configuration

Post 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.
User avatar
snake
Posts: 337
Joined: Sat May 21, 2016 2:20 am

Re: Dericam configuration

Post 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
Post Reply