D-Link Camera Manager (Connect).
This SmartApp will allow you to install and manage multiple D-Link Camera Devices. Finally, a one-stop shop for all of your D-Link IP camera needs.
I have created these devices in order to add additional functionality to existing supported D-Link cameras and to add compatibility for many that are not natively supported. All cameras feature In-App Video streaming, snapshots and the ability to toggle motion detection. Some cameras support much much more, see the feature and compatibility chart below!
If you donât see a camera on the list that you would like me to add; feel free to leave a comment below and I will work to incorporate it!
Features:
- V - In-App Video streaming w/o sound
- VS - In-App Video streaming w/ sound
- I - Still Image Capture and Display
- PT - Full Pan/Tilt support
- H - Move to âHomeâ location
- P - Move to Preset location (by preset number)
- M - Turn on/off motion detection (Motion Only)
- PIR - Turn on/off PIR sensor (PIR Only)
- MS - Adjust motion sensitivity (Motion & PIR combined)
- NV - Toggle Night Vision On/Off/Auto
- VR - Turn on/off Video Recording to SD card
Currently Supported Cameras:
Fixed Cameras:
- DCS-930L - V, I, M, MS
- DCS-931L(*) - V, I, M, MS
- DCS-932L - V, I, M, MS, NV
- DCS-933L- V, I, M, MS, NV
- DCS-934L- V, I, M, MS, NV
- DCS-935L - VS, I, M, MS, NV
- DCS-942L - VS, I, M, PIR, MS, NV, VR
- DCS-960L - VS, I, M, MS, NV
- DCS-2132L - VS, I, M, PIR, MS, NV, VR
- DCS-2210L - VS, I, M, PIR, MS, NV, VR
- DCS-2310L(*) - VS, I, M, PIR, MS, NV, VR
- DCS-2330L - VS, I, M, PIR, MS, NV, VR
- DCS-2630L - VS, I, M, PIR, MS, NV, VR
PTZ Cameras:
- DCS-5009L - V, I, PT, H, P, M, MS, NV
- DCS-5010L - V, I, PT, H, P, M, MS, NV
- DCS-5020L - V, I, PT, H, P, M, MS, NV
- DCS-5029L - VS, I, PT, H, P, M, PIR, MS, NV, VR
- DCS-5030L - V, I, PT, H, P, M, MS, NV
- DCS-5211L(*) - VS, I, PT, H, P, M, PIR, MS, NV, VR
- DCS-5222L - VS, I, PT, H, P, M, PIR, MS, NV, VR
(*) - Camera has not been formally tested, please report any issues.
External Commands:
Please Note: Not all cameras support all commands.
- on() - Video Motion Detection On(*)
- off() - Video Motion Detection Off(*)
- pirOn() - PIR Motion Detection On
- pirOff() - PIR Motion Detection Off
- nvOn() - Night Vision On
- nvOff() - Night Vision Off
- nvAuto() - Night Vision Auto
- vrOn() - Local Video Recording On
- vrOff() - Local Video Recording Off
- left() - Move Camera Left
- right() - Move Camera Right
- up() - Move Camera Up
- down() - Move Camera Down
- home() - Move to âHomeâ position
- presetOne() - Move to Preset position 1 defined in DTH settings
- presetTwo() - Move to Preset position 2 defined in DTH settings
- presetThree() - Move to Preset position 3 defined in DTH settings
- presetCommand( preset-number ) - Move to Preset position (position number passed as a string)
(*) - These commands are not actually âcustom commandsâ but rather the default switch on/off. This allows you to use the camera as a normal switch in any SmartApp or Routine in order to turn on/off motion detection.
Prerequisites:
- Fully configured compatible D-Link IP camera on the same local network as your ST hub
- Motion detection configured within local advanced camera settings (for motion detection / PIR sensor) (where applicable)
- Events created in local advanced camera settings to respond to the motion trigger (email/FTP/SD Image/video) (where applicable)
- SD Card installed (for local video recording) (where applicable)
- Video settings configured within local advanced camera settings (where applicable)
- Preset and Home positions configured within the local advanced camera settings (where applicable)
Installation Instructions:
- Add the Github Repo to your IDE with the following settings:
- Owner: blebson
- Name: DLink-Camera-Manager
- Branch: master
- Under âMy Device Handlersâ in the SmartThings IDE click
- Select DLink-Camera-Manager (master) from the drop-down menu.
- Select ALL of the camera devices from the âNewâ tab.
- Click the âPublishâ check-box in the bottom right.
- Click on âExecute Updateâ
- Go to the âMy SmartAppsâ tab in the IDE and click
- Select DLink-Camera-Manager (master) from the drop-down menu.
- Select all 3 SmartApps in the âNewâ tab.
- Click on âExecute Updateâ
- In your âMy SmartAppsâ section of IDE, select open:
- When the SmartApp opens, click Publish â For Me (Do not publish the other two âChildâ SmartApps)
- Now, go into the SmartThings App on your phone/tablet
- Go to the âMarketplaceâ tab in the bottom right.
- Go to the âSmartAppsâ tab and select âMy Appsâ
- Select âD-Link Camera Manager (Connect)â
- Select âDoneâ in the top right to install the app (configuration comes later)
- Go back to the âMarketplaceâ and click on the menu in the top right
- Click âSmartAppsâ and click on the âD-Link Camera Manager (Connect)â app.
- From here follow the instructions and start adding your D-Link Cameras!
#camera Installation Tips/Tricks:
- The Camera IP and Camera Port are your local HTTP IP and Port for the camera
- The Video IP and Video Port can be either the local or external IP and Port for the camera
- For Cameras that only support video (no audio) use the HTTP IP/Port
- Default HTTP port is 80
- For Cameras that support both video and audio use the RTSP IP/Port
- Default RTSP port is 554
- If you use an internal VideoIP/Port you will only be able to view video either while on the local network or by using a VPN
- If you use an external VideoIP/Port you will need to set up Port Forwarding on your router
- WARNING: By using Port Forwarding you are opening your camera to the internet, this can open it up to unauthorized access by people outside of your network.
- The Camera User and Camera Password are the Username/Password used to log into the cameraâs advanced settings through a web browser. Must be your Admin Username/Password
- The Camera Presets are the preset number of views that you have already set up in the D-Link camera advanced settings.
##Support:
If you are having issues setting up your supported camera please reply to the post with the following information:
- SmartThings Mobile Version Number
- Phone Make and Model
- Mobile OS Version (Android, iOS, Windows)
- Camera Model
- A screenshot or list of your settings (Please hide any External IPs and Usernames/Passwords)
- A list of functions that work
- A list of functions that do not work
The more descriptive you are, the easier it will be for me to help!
If your D-Link camera is not supported: Leave a reply down below and I will look into adding it.
WARNING: Video Streaming and Snapshot functionality are not supported by SmartThings, DO NOT contact SmartThings support with issues regarding these two functions, they will not be able to help. If you are having issues please make a post using the format above
Compatible Custom SmartApps:
- Smart Security Camera - Allows your camera to follow where the action is and take pictures/video!
- Smart Night Vision - Tie your cameraâs night vision to a switch/dimmer so that you always know itâs in the correct mode.
- D-Link Camera Virtual Switch Controller - Tie your cameraâs custom commands to a switch or virtual switch for added versitility.
- CoRE (Communityâs Own Rule Engine) - A powerful rule engine which allows you to leverage all of the functions of these cameras.
##Sample D-Link Camera Views:
DCS-5222L:
DCS-5020L:
DCS-942L:
##Special Thanks and other notes:
I wanted to thank the following people for their inspiration and help with debugging and testing:
I developed this in my spare time and am releasing it completely free of charge. Any donations are greatly appreciated. Please note, donations will not get you any special features/treatment but will grant you my eternal gratitude