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

Any specific settings in your DLink config? Have you reserved that IP to your camera?

Is yours working ok on your home WiFi, i.e. camera and your phone on, and screen badly, or phone on 4G?

Thanks

How does the DLink app not require port forwarding for using when my phone is on 4G, is it because of DLink registration and using their server or something?

No special setup on the camera. I use DHCP at home and have setup a DHCP reservation in my router so the camera always gets the same IP address. If you want to access the camera through smartthings while out of the house then yes you do need to setup port forwarding on your router. It also makes life simpler to use a dynamic DNS provider so you can access a URL as opposed to having to find out what your public IP address is when it changes. Most routers support dynamic DNS. My D-Link does not seem to need dynamic DNS. I expect the camera is registering with D-Link (like a dynamic DNS.

@Hernando_Ruiz / @blebson - were you able to get the 960 working? I would love to get one since I too like the large field of view on it.

So you only have internal on WiFi working and happy with that to do what you want? What will it restrict? Thinking about it, won’t it still trigger and send emails etc even if haven’t set up viewing with port forwarding etc? That maybe enough? If I really want to see on 4G I could use the DLink app.

You say you’ve setup a new user for SmartThings. I’m using the admin login at moment, is this easy (and better) to do? Take it that’s fine on the DLink page adding another user?

Thanks

I haven’t heard back but you could always try the DCS-942L or DCS-935L and let me know what works and we can go from there.

@R2D2 The D-Link app goes through their cloud when off the local network. Because this is a direct integration and doesn’t go to their cloud we need to port forward.

@nsm it would be a bit extensive to switch the functionality in the code but you could always create a virtual switch that uses the custom pirOn() and pirOff() commands to control the functionality.

@gebla this should support all hardware revisions as long as they use the same netcam API. Try it out and let me know if you have any issues.

Yes, I only have on Wifi internally. I haven’t found any restrictions and it emails me when it detects motion. Port forwarding is only needed on inbound connections so your router allows an inbound connection and then knows where to send it on the internal network. Email is an outbound service.

The separate login for smartthings is only because I don’t like using admin addresses for apps.

Is anyone having a problem connecting to their camera today in ST? Mine was working fine changed no settings and all I get is a spinning gear and if anything can’t connect to camera feed. It works with MyD-Link app but will not connect with ST. Checked router same address. IP

OK figured this out. My FIOS router which I have set the camera to Port forward all by it’s lonesome changed the port in two places one to 4040 and the other 6060. I deleted both and reset port forwarding to the correct port and all is well. Now to contact FIOS and find out what is going on. I think I will make that IP static which should fix it.

Thanks Ben! Could you point me in a direction possibly where I can find out how to do this?

“create a virtual switch that uses the custom pirOn() and pirOff() commands to control the functionality”

Let me try to throw something together…

i can see the photos in the app, i was testing it so its taken 100 plus photos,how i can delete them?

They will eventually delete themselves. Unfortunately we cannot manually delete the pictures from the cloud.

This looks great.
I bought 2 cameras and will be getting them hooked up this week. Both are on the compatible list (DCS-5020 and DCS-932)

You’ll have to create a virtual switch either manually or by using a community SmartApp like the Virtual Device Manager and then you can try out my new SmartApp:

Amazing! Donation will be forthcoming! All you developers do such an amazing job turning these devices into something that becomes sooo useful. All this time I have been manually switching my cameras PIR on/off…Now I don’t have to. Thanks Ben! You rock.

Just as an FYI, my old Panasonic failed with video when I hacked up the parent & child apps to use a PANCAM device where I just update the URL’s to working ones for image & video. I even logged out the full HTTP URL used for the stream and copying that to Chrome/FF works like a charm. Seems as those old Panasonic cameras are fairly flaky with the ST device. Have inconsistent issues with the image-only driver too where S3 integration works when it feels like it :slight_smile:

There are a bunch of ‘tricks’ to making the video work in ST… let me know if you’re still having issues and I can maybe take a look.

Yep, sadly still got the same issue with the Panasonic and the mjpeg stream to ST. Here’s what the log looks like and as I mentioned pasting that URL to Crome or FF easily streams the device. I’m also pasting Fiddler differences via my Chrome session with Panasonic then D-Link 932L. Thanks for offering the help!!!

4:23:56 PM: trace INHOMEURL—http://user:pwd@192.168.0.253:80/nphMotionJpeg?Resolution=320x240
4:23:56 PM: trace start()


PANASONIC REQUEST:
GET http://192.168.0.253/nphMotionJpeg?Resolution=320x240 HTTP/1.1
Host: 192.168.0.253
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Basic NOBODYSBUS==
DNT: 1
Connection: keep-alive

PANASONIC RESPONSE:
HTTP/1.0 200 OK
Content-type: multipart/x-mixed-replace; boundary=–myboundary

D-LINK REQUEST:
GET http://192.168.0.150/mjpeg.cgi?channel=1.mjpeg HTTP/1.1
Host: 192.168.0.150
Connection: keep-alive
Authorization: Basic NOBODYSBUS==
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8

D-LINK RESPONSE:
HTTP/1.0 200 OK
Server: alphapd
Date: Thu May 5 16:29:01 2016
Pragma: no-cache
Cache-Control: no-cache
Content-Type: multipart/x-mixed-replace;boundary=–video boundary–

I guess the first place to start is to try out the Generic Video Camera SmartApp and try to find a stream that works in that app. Generally anything that can stream in VLC will stream in the SmartThings app, so that’s a good place to try as well. Let me know if you can get a stream working in either of those and we can go from there.

Yep that URL that I provided above does indeed work like a charm in VLC. I’ve also used the Generic driver for a long time before altering it (mostly with your D-Link PTZ controls) to be Panasonic specific in this driver that I released. The image aspect has always worked—very flaky but works. It also pulls up in your new app/drivers — it’s just the video that suffers.