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

Hey @blebson,

Very nice improvement over the original/native Dlink camera handler which appears to no longer be available. Was extremely happy to find not only something available, but something with much better support and interface. Thanks so much for contributing this to the community. I am having some issues and would be happy to help troubleshoot and potentially help make further improvements.

SmartThings Mobile Version Number: 2.9.1 (1422)
Phone Make and Model: iPhone 7
Mobile OS Version (Android, iOS, Windows): 11.0.2
Camera Model: DCS-5222LB
Camera Firmware: 2.14
A screenshot or list of your settings: Model - DCS-5222L - Camera/Video IP 10.0.0.12 - Port 80/554 - Camera preset 1
A list of functions that work: Most things
A list of functions that do not work: Described below

Iā€™m presently unable to get the camera to start recording when connected to Security and an intrusion takes place. The alert stream says ā€œCamera is unavailableā€ and there are no errors (or any camera specific logging for that matter) being produced when a security event takes places. The only seemingly applicable log is ā€œcapturing clip, duration: 120000, pre: 9999ā€ and the full log is at the bottom. Additionally, there are no camera logs produced in the Advanced settings section of DLINK as if an attempt to record is not being made. Is an external IP address and port forwarding required to start recording when a security event is triggered?

Unrelated and appears to already be reported, but pressing any button in the SmartApp appears to disconnect the live stream. SD card is installed, 1 preset position is configured as default, nothing else out of the ordinary is configured AFAIK. I originally could not get the live stream working because I used my Dlink username for Admin instead of ā€œadminā€ and wondering if mentioning the default username of ā€œadminā€ in the original post would be beneficial.

I am a programmer, though not particularly familiar with Groovy yet, and would be happy to do any further troubleshooting or code changes. In anticipation of potentially making changes, I have forked the repository (yesterday) and utilized it for my setup so I should be able to try changes pretty easily. It is worth noting that I failed to check ā€œPublishedā€ when I setup the SmartApp and wondering what the fall out of that may be.

Thanks so much in advance.

d8a68905-662d-462c-aaa7-bdd43df9ccc5 7:31:17 AM: debug motionOrContactHandler(Sensor Backdoor contact:closed)
7156e7a6-983d-4f4f-b0a3-f31e16e64478 7:31:15 AM: info SHM getInitialData 0.081 (00) incidents:01, locationId:03313a1e-561e-4c78-bc19-af4a96abacfd
7156e7a6-983d-4f4f-b0a3-f31e16e64478 7:31:15 AM: debug summaryData: [[icon:indicator-dot-red, iconColor:#ea5462, value:Intrusion Detected!, heroInfo:[heroStatus:incident, heroMessage:Intrusion Detected!]]] - [[icon:indicator-dot-red, heroInfo:[heroStatus:incident, heroMessage:Intrusion Detected!], value:Intrusion Detected!, iconColor:#ea5462]]
7156e7a6-983d-4f4f-b0a3-f31e16e64478 7:31:14 AM: info SHM getInitialData 0.093 (00) incidents:01, locationId:03313a1e-561e-4c78-bc19-af4a96abacfd
7156e7a6-983d-4f4f-b0a3-f31e16e64478 7:31:14 AM: debug summaryData: [[icon:indicator-dot-red, iconColor:#ea5462, value:Intrusion Detected!, heroInfo:[heroStatus:incident, heroMessage:Intrusion Detected!]]] - [[icon:indicator-dot-red, heroInfo:[heroStatus:incident, heroMessage:Intrusion Detected!], value:Intrusion Detected!, iconColor:#ea5462]]
7156e7a6-983d-4f4f-b0a3-f31e16e64478 7:31:13 AM: trace onSecurityReact([753912fe-0202-48e8-90f1-e0ba099559a9:[[attribute:contact, value:open, timestamp:1509982273193]]])
d8a68905-662d-462c-aaa7-bdd43df9ccc5 7:31:13 AM: trace capturing clip, duration: 120000, pre: 9999
7156e7a6-983d-4f4f-b0a3-f31e16e64478 7:31:13 AM: debug summaryData: [[icon:indicator-dot-red, iconColor:#ea5462, value:Intrusion Detected!, heroInfo:[heroStatus:incident, heroMessage:Intrusion Detected!]]] - [[icon:indicator-dot-green, value:Armed (Stay), iconColor:#79b821], [icon:indicator-dot-green, heroInfo:[heroStatus:ok, heroMessage:Everything OK], value:Everything OK, iconColor:#79b821]]
d8a68905-662d-462c-aaa7-bdd43df9ccc5 7:31:13 AM: info SHM-INCIDENT SECURITY ISA: d8a68905-662d-462c-aaa7-bdd43df9ccc5
d8a68905-662d-462c-aaa7-bdd43df9ccc5 7:31:13 AM: trace No delay
d8a68905-662d-462c-aaa7-bdd43df9ccc5 7:31:13 AM: info SHM intrusionHandler(contact:open) - stay, locationId: 03313a1e-561e-4c78-bc19-af4a96abacfd, ISA: d8a68905-662d-462c-aaa7-bdd43df9ccc5
d8a68905-662d-462c-aaa7-bdd43df9ccc5 7:31:13 AM: info SHM isActiveSensor(contact:open, app: stay, location: stay) = true, locationId: 03313a1e-561e-4c78-bc19-af4a96abacfd, ISA: d8a68905-662d-462c-aaa7-bdd43df9ccc5
d8a68905-662d-462c-aaa7-bdd43df9ccc5 7:31:13 AM: trace devices=[Sensor Backdoor, Sensor Garage Door, Sensor Front Door]
d8a68905-662d-462c-aaa7-bdd43df9ccc5 7:31:13 AM: trace isStayModeSensor(contact: open)
d8a68905-662d-462c-aaa7-bdd43df9ccc5 7:31:13 AM: debug motionOrContactHandler(Sensor Backdoor contact:open)

Unfortunately video recording through SHM is not supported for third party SmartApps and devices. The only way to get that to work is to use the SmartThings labs D-link integration. As far as the live stream dropping when using a button, thatā€™s an intermittent issue based on your network/camera. When a camera is streaming and a separate command it sent it can sometimes create a momentary ā€˜hiccupā€™ in the steam which is enough for SmartThings to disconnect it. You should be able to restart the steam with no issues.

Ah, good to know, thanks very much for the information.

I am new to smartthings and looking for camera integration. Do I need to buy just D-Link cameras? Or any additional hub/device is required for streaming and recording videos? I am planning to buy DCS-5222L. Thx

This SmartApp will work with any of the cameras listed on the compatibility list in the first post.

The DLink support is hidden in the ā€œSmartthings Labsā€ section of the Add manually the devices. It supports the DCS-5222L.
)

Hello - Iā€™m trying to use the motion detect of my 2132L but I cannot get it to work with the blebson driver. My camera does not not show up as a motion device in WebCore. And the switch capability of the camera in WebCore is not toggling on motion from the camera. I have a motion window defined, and motion detect is enabled in the camera. What else do I need to do?

Unfortunately the motion detection cannot be fed back into SmartThings. You can only toggle it on/off with SmartThings and have to set up the camera to either record locally or email pictures/video.

RE: SUPPORT FOR D-Link DCS-4701E / hi there, was this ever resolved? many thanks

I have a couple of D-LINK cameras that I can not get the video stream to pull up using this app / DH. It will take a still photo and show that in the smart app, but the live video wonā€™t show. All I get is ā€œCamera cannot be found. We are trying to connect.ā€

Camera models tried are:

  • DCS-5020L
  • DCS-932LB1
  • DCS-2330L
  • DCS-930L

If anyone can please let me know the ā€œtrickā€ to get this to work that would be great! Thanks for the help!

Update: If I connect to my local wifi I get the above error. If I disconnect and only connect to LTE on my mobile phone I can pull up the video feedsā€¦assuming that in the Video IP I used my public internet IP address. My internet provider (Comcast) (or maybe it is their router that doesnā€™t allow) doesnā€™t allow me to be inside my local network and access items inside the network via my public IP address. Is there anyway around this?

Sounds like itā€™s all set up properly but you have something blocking your connection. I would look into your router to see if there is something there. I have Comcast Xfinity and have no issues accessing video streams both inside and outside of my local network.

As a caveat, i am not a networking expert by any means, but have worked quite a bit with these cameras.

We have connected the 5020, 2330 and 930 successfully. A few notes. First and foremost, I am fairly certain you cannot view local stream from your home network. You can only see it from the outside. Connect your phone/device only to cellular to test this, i.e., not to WiFi or LAN.

Beyond this, the tricks typically involve making sure you are entering the right port and using the right username and password. Finally, you may need to do some port forwarding in your router/modem depending on the structure of your network. I think you can find hints on all these issues within the forum.

As an idea of settings, i have used the following - pretty much across all 4 installed cameras:

  • user: admin - could add a smartthings-specific account to the system, but for all to work they need to have all privileges so I donā€™t really see the point other than possibly being able to identify the path of potential compromise and if you create a really obscure name like abcTHE103police, then brute force will be more difficult.
  • password: admin password
  • Video IPAddress: the internet address of your home network - google ā€œwhat is my IPā€ while on your local network (not cellular obviously) to find this address out. I donā€™t believe Camera IP or port are used, just video, at least thatā€™s what iā€™ve found.
  • port (these cameras use RTSP to stream video): in my firewall rules, I have mapped (NATā€™d) 554 to create a unique external port on each of my cameras (i.e., mapped 554 on camera 1 to 1051, 554 on camera 2 to 1052, etc.)

I hope some of this sheds light on your situation.

I have found that i cannot consistently connect to streaming using your D-Link app on my local network. My 2330ā€™s connect just fine; my 2132 connects slowly, my 932 doesnā€™t connect at all and when I had the 5020, it had some troubles in general, so i returned it.

It can definitely be wonky at times but I have a DCS-942L, a DCS-5020L and a DCS-5222L that all connect to the stream fine both locally and outside my network. Sometimes it takes a few seconds to load but they always load. Not sure if there are other network considerations that cause trouble with streaming.

Do you have compatibility with the D-Link DCS-8000HL?

I do not, could you try installing it with one of the existing types.

i have just installed the Dlink Camera manager. I believe i have followed the directions correctlyā€¦But i guess not, since it is not working. I go to add my 930L camera, and it sits and spins (See pic). It eventually stops and i cannot add the camera. I can view the camera using the dlink lite app and the ipaddress of the camera.

Not sure what i am doing wrongā€¦

Any Assistance is appreciated!

TIA

Jeff

Are you getting any errors in the SmartThings IDE live log?

nopeā€¦nothing from the d-link camera manager shows up in the live logging when i try to add a camera

I figured it out. I did miss a step. Working now!

Thanks for getting back to me so quickly

1 Like