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

Thank You for the response.

My settings are as follows
Both camera and video have the same IP address
Camera Port: 80
Video Port: 554
The video works, but the buttons will move the camera one time and does not seem to get the status for the buttons change. Example if you press the move right arrow the camera moves, the right arrow changes to moving and after the camera stops moving the moving status does not go away and you cannot move right again. Some of the other buttons do not function at all.

What additional information do you need.

Thanks
Tom

I figured out the issue, I “DLINK Video Camera Child”

All of the functions now seem to work.

1 Like

HI
Have a D-Link 5009L camera that installs fine but when trying to connect to it, says camera unavailable. I can successfully view it in a browser and through the D-Link app. I took a look at the logs and all I get is a start() for the Camera log. However, when viewing the actual device I see in the current states: stream
{
“OutHomeURL”: “http://Admin:http://192.168.1.1/Advanced_DHCP_Content.asp@192.168.1.236:80/mjpeg.cgi?channel=1.mjpeg”,
“InHomeURL”: “http://Admin:http://192.168.1.1/Advanced_DHCP_Content.asp@192.168.1.236:80/mjpeg.cgi?channel=1.mjpeg”,
“ThumbnailURL”: “http://cdn.device-icons.smartthings.com/camera/dlink-indoor@2x.png”,
“cookie”: {
“key”: “key”,
“value”: “value”
}
}

The syntax of this doesn’t seem right. Not sure what other information I can provide to troubleshoot this problem, but any help is appreciated.

Something is going wrong for sure, it’s replacing your password with “http://192.168.1.1/Advanced_DHCP_Content.asp”
 are you using a standard password?

Yes, the password is just 12 characters of upper and lower case alpha and numeric. No special characters are used.
I just tried removing the device (to reinstall it) and it says This device has failed to be removed from Smartthings. Do you have any idea how to remove a device that can’t be uninstalled?
I also tried deleting the device through the IDE and received the following message:

“deleted object would be re-saved by cascade (remove deleted object from associations): [physicalgraph.app.InstalledSmartApp#fa8255f3-e1f3-4138-8e6f-8de2e518b0d0]; nested exception is org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): [physicalgraph.app.InstalledSmartApp#fa8255f3-e1f3-4138-8e6f-8de2e518b0d0]”

Bob

Sorry. Had taken few days off. The settings are:

Mobile: iPhone 6, latest smasung hub
Camera Model: DCS-5222L
Camera IP address: static ip
Camera Port: 554
Video IP: from Whatsmyip
Video Port: ExternalPort
Camera Preset 1: 1
Camera Preset 2: 2
Camera Preset 2: 3

It works with smartthings labs app. Also works with owl for Dlink.

I checked on vlc both on pc and phone and it works both on network and when I am away.
rtsp://user:password@Internal.IP:ExternalPort/live1.sdp
rtsp://user:password@External.IP:ExternalPort/live1.sdp

On the Camera Manager app, the first time I go in the device after I have created it, i get the video and sound, but can’t use any function. After that it does not come back. If I delete and install again, again I get the video and sound the first time I click but can’t get it back again.

The below is from current state:
{
“OutHomeURL”: “rtsp://user:password@External.IP:ExternalPort/live1.sdp”,
“InHomeURL”: “rtsp://user:password@External.IP:ExternalPort/live1.sdp”,
“ThumbnailURL”: “http://cdn.device-icons.smartthings.com/camera/dlink-indoor@2x.png”,
“cookie”: {
“key”: “key”,
“value”: “value”
}
}

Not sure where the issue is. Appreciate your help

Try using ‘80’ as your camera port

Tried using 80. Same issue

Also in the device I have:
Device Network Id: ID_WILL_BE_CHANGED_AT_RUNTIME_34346
Data: No data found for device
In Events: I can see some activity like, switch off or on, level 85, switch 6: presetOne etc.

Also looks like the device is

{
“OutHomeURL”: “rtsp://user:password@External.IP:ExternalPort/live1.sdp”,
“InHomeURL”: “rtsp://user:password@External.IP:ExternalPort/live1.sdp”,
“ThumbnailURL”: “http://cdn.device-icons.smartthings.com/camera/dlink-indoor@2x.png”,
“cookie”: {
“key”: “key”,
“value”: “value”
}
}

So does not matter what I put in Camera IP or Camera Port, its only using External IP and External Port from Video IP and Video Port.

The video IP and port are only used for the video streaming. Camera IP and port are your internal IP and the cameras HTTP port

Agreed. I tried both port 554 and 80. When I click on the play button, it sends a video command to stream to the urls I posted before. When I click on take button, it sends a take command, but nothing happens.

Once in about 10 clicks, I can get the video. But it goes away in couple of seconds. Also I cannot get anything else to work during that time

Just added a DCS-2132L and it looks like the app is having trouble pulling settings from the camera. I can get video to stream and snap pictures manually, but the buttons/tiles do not seem to reflect my settings (PIR and Motion are on).

Logs (sensitive info removed):

63a78578-d94f-46d1-aa94-07acf90a8408  7:49:16 PM: error java.lang.ArrayIndexOutOfBoundsException
63a78578-d94f-46d1-aa94-07acf90a8408  7:49:16 PM: debug Parsing 'index:17, mac:B0C554055341, ip:C0A80163, port:0050, requestId:40a2f468-84a5-48fd-9f8d-dfcd9fcd86bd, headers:XXX, body:'
63a78578-d94f-46d1-aa94-07acf90a8408  7:49:14 PM: debug GET /config/motion.cgi HTTP/1.1 
Accept: */* 
User-Agent: Linux UPnP/1.0 SmartThings 
HOST: 192.168.1.99:80 
Authorization: Basic XXX 
63a78578-d94f-46d1-aa94-07acf90a8408  7:49:14 PM: debug The Header is [HOST:192.168.1.99:80, Authorization:Basic XXX]
63a78578-d94f-46d1-aa94-07acf90a8408  7:49:14 PM: debug path is: /config/motion.cgi
63a78578-d94f-46d1-aa94-07acf90a8408  7:49:14 PM: debug The device id configured is: c0a80163:0050
63a78578-d94f-46d1-aa94-07acf90a8408  7:49:14 PM: debug 0050
63a78578-d94f-46d1-aa94-07acf90a8408  7:49:14 PM: debug IP address entered is 192.168.1.99 and the converted hex code is c0a80163
63a78578-d94f-46d1-aa94-07acf90a8408  7:49:14 PM: debug Refresh

If the video works even for a second then the SmartApp is working properly. Having it drop or not reconnect would be a network issue. As for the other buttons not working it could be the fact that it takes a little bit for the settings to propagate. If you could take a look at the live log when you’re using those buttons it could help figure it out.

@kjake what happens when you use the actual PIR/Motion buttons (check the live log while doing that as well). Currently it’s throwing a java exception when it gets the response from camera probably because it’s getting a response that it isn’t expecting.

Where is the picture saved? My camera doesn’t have an SD Card but I’ve been piping the image to FTP prior to SmartThings. Can see the snapshot after it’s triggered in the tile but then where is it stored, how do I delete/age the pictures? Thanks!

They are stored for a short amount of time on the SmartThings Cloud. Not sure the exact length of time that they are saved but they will eventually disappear. Clicking on the picture thumbnail will allow you to download the photo to your phone.

@blebson nearly all of the tiles result in the same Array Index out of Bounds error in the log, except for enabling recording - which results in an Error 400 response.

I suspect that I’m maybe running a newer camera firmware than what the device type was developed for (I am running the latest).

Thank you! That saves me from having to manage it. Now is there any way to surface the picture or push it elsewhere
 or is it only accessible via the tile?

The only way I know how to access it is through the tile. It’s not an officially supported function by SmartThings so documentation doesn’t exist.

@kjake that is very strange. Not really sure what the issue could be. If you enter the following into a web browser what is returned? : http://username:password@192.168.1.66:80/config/motion.cgi

@blebson whoa boy
whoops! I used a read-only account and not the admin account in the Smart App settings - completely my bad! The non-admin isn’t even allowed to read those settings and thus created errors. Thanks for the quick responses!

1 Like