d‘link dsc 5222l ptz

Forum for questions and support relating to the 1.30.x releases only.
Locked
giantskorpion
Posts: 3
Joined: Tue Oct 17, 2017 9:00 pm

d‘link dsc 5222l ptz

Post by giantskorpion »

hello

someone has a working dsc-5222l with ptz in zoneminder?

what do i have to do? where do i get the script? how do i have to install it?

thx
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: d‘link dsc 5222l ptz

Post by rockedge »

I have had success with various cameras and PTZ control using a generic script.
download and then remove the fake .gz extension and place the IPCAM.pm into /usr/share/perl5/zoneminder/control
then open the camera settings window and open the Control tab (make sure in Options->System->OPT_CONTROL is checked and selected).
check the Controllable box and on the next line Control Type click "edit"
here select add new control and for "name" and "protocol" type "IPCAM"
open the movement tabs and select can move can tilt can pan then "SAVE"
then in the camera settings window pick the new IPCAM and fill in the URL for the camera.
I had to fiddle around with it but along these lines is how I got it to work. There may be a d-link specific control script but I have not found one and have not looked in awhile.
let us know how you make out!
Attachments
IPCAM.pm.gz
(11.45 KiB) Downloaded 91 times
giantskorpion
Posts: 3
Joined: Tue Oct 17, 2017 9:00 pm

Re: d‘link dsc 5222l ptz

Post by giantskorpion »

many heartfelt thanks for your reply

unfortunately it did not work, but I have found a solution

if someone else is looking for a solution, i used the attached script:
DCS_5222LB.pm.gz
(8.31 KiB) Downloaded 207 times
and this settings:
controll adress.JPG
controll adress.JPG (41.96 KiB) Viewed 1987 times

Main
Name: Dlink DCS-5222LB
Type: Local
Protocol: DCS_5222LB

Move
Can Move: yes
Can Move Diagonally: yes
Can Move Mapped: yes
Can Move Absolute: no
Can Move Relative: yes
Can Move Continuous: no

Pan also Tilt
Can Pan/Tilt: yes
Min Pan/Tilt Range: 0
Max Pan/Tilt Range: 0
Min Pan/Tilt Step: 1
Max Pan/Tilt Step: 30
Has Pan/Tilt Speed: no
Min Pan/Tilt Speed: 0
Max Pan/Tilt Speed: 0
Has Turbo Pan/Tilt: No
Turbo Pan/Tilt Speed: 0


maybe that can help someone


thanks and greetings
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: d‘link dsc 5222l ptz

Post by rockedge »

yes that does help! Definitely increasing the available control scripts is also a plus and configuration info with working examples is valuable :D
giantskorpion
Posts: 3
Joined: Tue Oct 17, 2017 9:00 pm

Re: d‘link dsc 5222l ptz

Post by giantskorpion »

:wink: :lol:
Locked