Hikvision DS-2DE4220-AE PTZ Control

Forum for questions and support relating to the 1.30.x releases only.
Locked
apbb2
Posts: 31
Joined: Sun Jun 08, 2008 4:02 pm

Hikvision DS-2DE4220-AE PTZ Control

Post by apbb2 »

Hi all,

I have been using ZM since 1.24 but just started to install PTZ cameras.

Has anyone gotten the a Hikvsion PTZ controlled over IP working on ZM?

Any instructions or wiki I missed? Would love to get them working. Currently testing on 1.30 with ONIVF setup, which is awesome BTW. No typing & remembering strings & it gives the alt streams.

If anyone has PTZ up & running let me know.

Thank you.
Paranoid
Posts: 129
Joined: Thu Feb 05, 2009 10:40 pm

Re: Hikvision DS-2DE4220-AE PTZ Control

Post by Paranoid »

I just bought an HikVision and am working on a module for the PTZ controls.
If I get it working I'll post it
User avatar
iconnor
Posts: 2862
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Hikvision DS-2DE4220-AE PTZ Control

Post by iconnor »

You can always try the onvif ptz script..
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Hikvision DS-2DE4220-AE PTZ Control

Post by knight-of-ni »

The Netcat ptz script sends PTZ commands using the ONVIF standard. Theoretically, the script should work with other ONVIF PTZ cameras if those cameras follow the same ONVIF standard. Note, however, the script currently does not use any form of authentication, mainly because my Netcat camera ignored the credentials I sent to it.

NOTE: The ptz script with the name "ONVIF" currently bundled with zoneminder is not onvif at all. We will replace it once we get a working script known to work with many/most onvif cameras.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Paranoid
Posts: 129
Joined: Thu Feb 05, 2009 10:40 pm

Re: Hikvision DS-2DE4220-AE PTZ Control

Post by Paranoid »

I've posted the control script here
mcgeek
Posts: 3
Joined: Wed Sep 28, 2016 2:45 am

Re: Hikvision DS-2DE4220-AE PTZ Control

Post by mcgeek »

Just thought I would add that I used this thread to and script to get my TRENDnet TV-IP420P camera working. They seem to be the same hardware so I took a shot and it worked. PTZ all work but no iris control or focus. The camera seems to handle auto focus fine so that really isn't an issue.
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Hikvision DS-2DE4220-AE PTZ Control

Post by knight-of-ni »

FYI:
https://github.com/ZoneMinder/ZoneMinder/pull/1674

Note I did make the assumption Paranoid implicitly gave his permission to include his script in ZoneMinder. If this is note the case, then please let us know. It's your script, so tell us if this is ok.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked