[OBSOLETE] D-Link Camera Manager (Connect) [Requires Classic App]

I have a couple of the DCS-4701E cameras. These are pretty awesome outdoor entry cameras, best night vision I’ve seen in a camera, albeit rather short range. Adding thse to D-Link Camera Manager would be awesome!

Using VLC can you try getting a video feed using the following URL: rtsp://username:password@IP:554/live1.sdp

Also, I looked into adding the privacy mode feature but it looks like that command doesn’t work with my DCS-5222LB so I won’t be able to add it to the DTH.

Can you try using these commands and tell me if either of them returns a webpage? This will go a long way towards allowing me to create a DTH for it:

http://username:password@IP:Port/motion.cgi

http://username:password@IP:Port/config/motion.cgi

I get this CGI response from the 5222 version A model using the URL provided.

enable=yes
manual=on

However, I tried the same thing on my 5029 model and it doesn’t seem to work. Strange that they would have changed it in the newer models.

As for the URL: rtsp://username:password@IP:554/live1.sdp, it did not work on my 5222 model A camera. I checked the default configuration since I factory reset it, and they put /play1.sdp in as the default instead of /live1.sdp. So, I changed the setting on the camera from /playX.sdp to /liveX/sdp and video streaming from your app is working now. Thanks.

D-Link loves switching standards between models. Play1.sdp is their older standard while live1.sdp is their newer one. Glad you figured it out!

Ben,

Is it possible to chat with you about modifying/using your code to enable Sercomm Icamera’s? D-Link cameras have most of the same functions as the Sercomm, just need to edit the code to match the Icamera’s API. There are a couple of threads about this, but no one seems to want to help out. While I can figure out most your code, I might need a bit of help with inserting the Sercomm API commands and responses.

Thank you.

Feel free to send me a PM. I’m not sure if I’ll have any time to actually do any coding but feel free to pull any of my code and modify it to work. Just be sure to leave some credit to PStuart and myself in the modified code :wink:

I cannot for the life me, get any of these device handlers to update via repo automatically. Can anyone give me some assistance?

When I hit the update from repo button, a I see is smarthings public master… No where to add the info it says here.

I’m order to add a new github repo you need to hit the “settings” button on either your SmartApp or DTH page in IDE. Once in the settings you should see where to add a new repo using the settings in the first post.

I’ve installed this app but can’t use it, it seems. If i go into smart apps, it lets me configure it. I can add the camera to my “things” but I only get the screen, a reload and reboot button. Is there something else I need to do?

It sounds like you installed the actual default D-Link integration, not my custom devicetype. You should install mine by going to the ‘SmartApps’ tab in the marketplace and going down to ‘My Apps’

I am confident that is not correct. I have previously installed the D-Link integration Smart-app. Do I need to remove this before installing/configuring yours?

See screenies of current setup:



I agree. Anyway, I went through your code for the 5222 and modified the NightVision settings to perform the Privacy mode toggle instead and it works great. What’s really FUNNY about DLink is that on the newer model camera (5029L), the /config/led.cgi is available, but the /config/privacy.cgi is not. Who cares if I can turn the LED on an off. I even took a shot at /config/privacy%20control.cgi and still got nothing. Anyway, what I really want DLink to do is put the Privacy mode CGI on the newer model camera too. Come on DLINK!

1 Like

Do you have a device named ‘chicken coop’ in your device list?

##Post Update:

All of the D-Link cameras supported by this SmartApp are now directly compatible with CoRE!

1 Like

I had my own created connection to the camera using the d-link smartapp which had the same name. I have since removed the camera and then added the info in this app. I got the same result. I then tried to install the camera first, then set up your app and I get the same result. Am I looking in the wrong place to access this?

The camera created by this SmartApp should be named “Chicken Coop” and will show up in your ‘Things’ view.

Hi,

Is there any way I can set my camera to store the recordings on my local server?

I notice that there is an optional field for file store, but what variables am I able to use? I would need to insert username & password surely to access file store on the server?

Thanks

I’ve successfully installed a few custom device types & smartapps by the copy/paste method. This is my first attempt at using the Github method. I’m signed up for Github, but I can’t figure out this first step.

Any help would be appreciated, maybe just another link that I could study.

1 Like

That depends what camera you are using. Also, where are you seeing the file store variable?