blebson / dlink-camera-manager Goto Github PK
View Code? Open in Web Editor NEWD-Link Camera Manager Connect App
License: Apache License 2.0
D-Link Camera Manager Connect App
License: Apache License 2.0
Hi, Sorry but I did not see anyway to make comments elsewhere. Still new at this. Is it possible to add support for the DCS-6010L camera? Thanks.
App installs fine, and camera gets added without error. However, when viewing the camera's details, there is a black block near the top of the screen with the word "ACTIVE" in the upper right corner and a play button on the block. Pressing play, after a brief spinner, replaces the play button with the white text "Camera unavailable".
Last night I noticed that images were not being saved anymore and that older images that had worked were no longer showing.
The specific error is: The getS3Object method is no longer available.
Here is a trace of the log:
9:52:56 AM: error The getS3Object method is no longer available.
9:52:56 AM: debug firing s3
9:52:56 AM: debug Parsing 'index:17, mac:REDACTED, ip:C0A80073, port:0050, requestId:REDACTED, bucket:smartthings-device-conn-temp, key:REDACTED'
9:52:55 AM: debug GET /image/jpeg.cgi HTTP/1.1
Accept: */*
User-Agent: Linux UPnP/1.0 SmartThings
HOST: 192.168.0.115:80
Authorization: Basic REDACTED
9:52:55 AM: debug The method is GET
9:52:55 AM: debug The Header is [HOST:192.168.0.115:80, Authorization:Basic REDACTED]
9:52:55 AM: debug path is: /image/jpeg.cgi
9:52:55 AM: debug The device id configured is: c0a80073:0050
9:52:55 AM: debug 0050
9:52:55 AM: debug IP address entered is 192.168.0.115 and the converted hex code is c0a80073
Looks like there might have been S3 changes, is this something that needs to be fixed within the Camera Manager code, or is this a SmartThings issue?
Thank you for providing these awesome SmartApps and Device Handlers!
Hi,
Big thanks for the code you wrote. It was the only way for me to use my D-link camera with SmartThings.
I have a question about the mappings section in the device handler code.
Specifically this one:
mappings {
path("/getInHomeURL") {
action:
[GET: "getInHomeURL"]
}
}
def getInHomeURL() {
[InHomeURL: "http://${state.cameraUser}:${state.cameraPassword}@${state.videoIP}:${state.videoPort}/mjpeg.cgi?channel=1.mjpeg"]
}
What was the purpose of it?
As I understand it, the code exposes the device handler as a webapp with a REST endpoint that can process incoming GET request. It responds with the url to the camera stream.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.