PTZ Controls can be used from within ZoneMinder using the control script linked below. Copy the script contents into a file alongside of the other ZM Control Scripts.
Main: Type: Remote, Protocol: DCS5020L, Name: DCS5020L, Can Wake, Can Sleep, Can Reset Move: Can Move, Can Move Diagonally, Can Move Mapped, Can Move Relative Pan: Can Pan, Min Pan Step 1, Max Pan Step 30 Tilt: Can Tilt, Min Tilt Step 1, Max Pan Step 30 Presets: Has Presets, Number: 24, Has Home Preset
Note: Wake turns IR on, Sleep turns IR off, Reset turns IR to auto.
Settings for Control Tab:
Controllable, Control Type: DCS5020L, Control address: user:pass@ipaddress
- For PTZ control, the user/pass combination must be an administrator on the camera. A regular view-only user will not work.
- An unknown-quality H.264 stream available at http://user:firstname.lastname@example.org/dgh264.raw . Haven’t worked out how to get it working in zoneminder yet.
- Audio is available from http://user:email@example.com/dgaudio.cgi while the accompanying video is at http://user:firstname.lastname@example.org/dgvideo.cgi
- The DCS-5020L script was based on the Trendnet TV-IP400W control script, available at http://www.sfpeter.com/2008/07/new-trendnet-tv-ip400w-controller-for-zoneminder-123x/ . “use ZoneMinder::Debug qw(:all);” was replaced with “use ZoneMinder::Logger qw(:all);” for zoneminder 1.25 compatibility.