• July 05, 2025, 07:24:11 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: URL API Commands?  (Read 45510 times)

HQ2

  • Level 1 Member
  • *
  • Posts: 3
URL API Commands?
« on: June 18, 2013, 10:39:04 AM »

Hey guys,

I can't find any documentation on url commands to control the DCS-5222L.

I have however found documentations for several other models at:
ftp://ftp.dlink.com/Multimedia/URL%20Commands/
(Theese commands do not work on my camera.)

At least I have figured out how to control p/t movement for my model:
http://[camera ip]/cgi/ptdc.cgi?command=set_relative_pos&posX=-10&posY=0

I need to be able to get/set camera parameters too, not just move the camera.

Can anyone point me to any documentation? Is it even possible for the 5222L?

Thanks in advance
Logged

HQ2

  • Level 1 Member
  • *
  • Posts: 3
Re: URL API Commands?
« Reply #1 on: June 20, 2013, 06:21:19 PM »

Okey, so I am developing my own program to control, view and record my camera(s).
This is why I need to be able to retrieve information from the camera.

Main things I need to be able to do is:
* Set IR-LED on/off.
* Retrieve camera model & name.
* Set camera absolute position.
* Enable/Disable motion detection.

Right now my program can:
* Connect to the camera.
* View the camera.
* Pan/Tilt by user specified values.
* Start/Stop recording.
* Change video streaming profiles.

Here is a preview of what I am doing:


Now, do anyone know of any 'URL Command documentation' Or any tricks to achieve the things from my wish list?

Best regards
Logged

RYAT3

  • Level 10 Member
  • *****
  • Posts: 2254
Re: URL API Commands?
« Reply #2 on: June 20, 2013, 08:36:48 PM »

Have you downloaded the open source?    ???  ::)

The 5222L is a different beast f/w than the others in the dlink lineup.

Most hacks are just right clicking on the links and playing with the URLs... which is probably what you have done.
Logged

Robertsche

  • Level 1 Member
  • *
  • Posts: 7
Re: URL API Commands?
« Reply #3 on: June 21, 2013, 05:31:46 AM »

@HQ2

hello, what is this a software and where to get the forth?  ::)

regards
Logged

Lionel95

  • Level 1 Member
  • *
  • Posts: 4
Re: URL API Commands?
« Reply #4 on: June 21, 2013, 08:56:40 AM »

Hi HQ2,

As you, I have experienced hard to find docs about DCS5222 protocol so what I have done was to use Wireshark to spy the dialog between my navigator and the cam.

It's a hard work to check each packet and find interresting ones but it's very very helpfull (what i was looking for was how to check if privacy is on and how to put it off or on).

If you need some informations, feel free to contact me at [email protected]

Lionel
Logged

HQ2

  • Level 1 Member
  • *
  • Posts: 3
Re: URL API Commands?
« Reply #5 on: June 22, 2013, 07:51:37 AM »

@RYAT3:
Yes I have actually tried to download it. But there is something wrong with their download server so I could not get it downloaded ;/

@Robertsche:
This is a software I am developing myself, to view and control my camera.

@Lionel95:
Very good idea! Thank you very much. I was trying that with Cain & Able but could not get it to work. Now when using Wireshark I have figured out how to set IR-led on/off :)

I think using this method, I will find out most things I need.
Did you find out how to check/control privacy?
Logged

Lionel95

  • Level 1 Member
  • *
  • Posts: 4
Re: URL API Commands?
« Reply #6 on: June 23, 2013, 02:52:40 AM »

@Lionel95:
Very good idea! Thank you very much. I was trying that with Cain & Able but could not get it to work. Now when using Wireshark I have figured out how to set IR-led on/off :)

I think using this method, I will find out most things I need.
Did you find out how to check/control privacy?

Hi, HQ2

 :) Yes, I've found what I'm looking for, thanks.

Lionel
Logged

ropske

  • Level 1 Member
  • *
  • Posts: 12
Re: URL API Commands?
« Reply #7 on: January 07, 2014, 12:34:01 PM »

hello,
in wich language have you written this software mate?
looks awesome!
Logged

ropske

  • Level 1 Member
  • *
  • Posts: 12
Re: URL API Commands?
« Reply #8 on: January 07, 2014, 01:15:11 PM »

please email me at [email protected]

i have some questions about your program, also developing a kind of this
Logged

adox

  • Level 1 Member
  • *
  • Posts: 1
Re: URL API Commands?
« Reply #9 on: May 09, 2014, 03:32:57 AM »

@Lionel95,
 Hi, How did you solve to control the privacy mode? Thanks




Logged

ropske

  • Level 1 Member
  • *
  • Posts: 12
Re: URL API Commands?
« Reply #10 on: August 11, 2014, 11:14:05 AM »

hi,

to retrieve camera name:

http://username:password@ip:portnumber/system.cgi
Logged