Do not know how to grab Dropcam image

(Matthew Hartley) #1

We implemented “capbility.imageCapture” and the “take()” command and tested it with our Dropcam device and see a filename of the image but we don’t know how to acquire the image from the SmarThings API:

0: {
name: "image"
value: "smartthings-smartsense-camera: afb8d849-dc2b-41c8-a736-d9b487b1ed15.6f3e262cfdaa4a1591143c7c630ae1c6_e27f4075dfdb4d449caffb701d224b2a.jpg"
unit: null
date: "2015-02-01T15:23:41.416Z"
unixTime: 1422804221416
type: null

(Harper) #2

Did you make progress here?

(Harper) #3

The url is:[imagename]



nice cymbols

(Matthew Hartley) #4

harper, thanks you saw my crappy Peal traveler drum set…LOL…classic

dude this is very cool…we needed that…


(Matthew Hartley) #5


We aren’t able to access the suggested REST API below for camera image using the OAuth Token that is negotiated for access to our SmartApp. Specifically, the OAuth Token that was successfully obtained with the “” API.

Suggested REST API for camera image:

Returns the following response using SmartApp auth token:
error: true
type: "AccessDenied"
message: “This request is not authorized by the specified access token”

How do we get by this?

SmartApp OAuth token not working on external REST API's
(Matthew Hartley) #6

Yup…we are doing that no problem.

When we query the SmartApp for the Dropcam image using the we get back just the file name for the Dropcam image:

value: “smartthings-smartsense-camera: afb8d849-dc2b-41c8-a736-d9b487b1ed15.6f3e262cfdaa4a1591143c7c630ae1c6_e27f4075dfdb4d449caffb701d224b2a.jpg”

We inquired about how to access this image file and Harper directed us to this URL below which is outside of the SmartApp url scheme. This URL works in the context of a USER but not in the context of a SMARTAPP.[imagename1]

How do we access a Dropcam file in the context of a SmartApp?

(nir Dweck) #7

I run into the same problem.
Have you made any progress?

(Matthew Hartley) #8

The response we received from ST a couple weeks ago is that this is not supported and they are working on a solution.