Smarttiles + Blink


(Ryan) #1

So, I’ve added the capabilities for Blink via the community app. And I can import a tile into Smarttiles. But all I get is a small tile with a camera icon in it (which lets me take a picture using the associated camera), but I cannot get Smarttiles to slow a captured image. I know it won’t show video, but I was thinking I should be able to get a still image. Anyone have any ideas?


(Brian Diehl) #2

The Camera item in SmartTiles is actually one that allows you to take a picture from that device on demand.

So you could just click the button and it would take a picture. It isn’t for showing the captured pictures though (to my knowledge, at least)


(Ryan) #3

Bummer. I was hoping to have it take frames from time to time and update.


(Different Computers. So happy with Indigo.) #4

Does blink give you a per-camera URL that you can use to view a MJPEG stream?

Because SmartTiles handles those very well. It’s not the same as the Thing tile though.


(Alex) #5

SmartTiles supports “Image Capture” capability that allows to take snapshots of the video stream. This is displayed as a tile with a camera icon.

Also, you can embed the actual video stream via a URL, if your camera supports it.


(Beckwith) #6

Blink does not have per camera URL and I don’t think it is on their list of planned features.


(Ryan) #7

Well that sucks. Any way to get a pic from the camera to post on Smarttiles?


(Beckwith) #8

At this point I would think the best hope would be through their API. Right now it is not officially published and is used through backwards engineering. @RBoy would know better than anyone at this point.


(Different Computers. So happy with Indigo.) #9

So there’s no way to view blink output in a browser without a plug in?


(Beckwith) #10

As it stands now, that is correct. And I tend to think Blink will resist this because they are very concerned with privacy and stealthy misuse of their system. They have gone out of their way to make it clear to the user when the video is on, for example. It is not something to be used catching a cleaning person stealing. It is in your face so to speak with a blue LED illuminating when on. Some don’t like it because of this.

So a public URL is something I think they will shy away from for some time.


(Beckwith) #11

Noticed on Blink website that a public URL may be on the roadmap:

Features we will be adding include:
.
.
.
Browser access to your Blink system - access Blink from your Mac or PC browser.

http://support.blinkforhome.com/customer/en/portal/articles/2321448-features-coming-to-blink


#12

So i click on the camera icon and I get the spinning arrow, but no picture…where do I view the picture it took?


(Kevin) #13

Does SmartTiles allow you to specify the TOKEN_AUTH header?

My DH allows you to refresh the home image and view thumbnails of the events, but the only way to see the new image is to close and re-open the device because there’s no way to force a refresh of the image.


(Alex) #14

The image is save to the carousel which is which you can view in the ST mobile app.


(Alex) #15

I don’t know the specifics of Blink camera, but please look into Stop Motion Video tile. It’s designed to refresh the image periodically.


(Kevin) #16

Is that an item in SmartTiles or an undocumented device tile?

Based on specs others posted and a lot of trial and error I was able to figure out the Blink functionality, but I’m trying to find a way around the limitations of the storeImage function and Carousel Tile.


(Alex) #17

Stop Motion Video tile is a SmartTiles feature.

I have no idea what you are trying to accomplish, but @RBoy is the leading man on Blink.


(Kevin) #18

I appreciate you trying to help by recommending rboy, but my code for the Blink integration works fine and the problem I’m trying to solve is completely unrelated to Blink.

SmartThings offers 2 functions for storing images, but no one seems to know where the images get stored, how to see what’s been stored, or if the images get deleted automatically when the device is removed.

That concerns me so my DH uses 1 file name per camera so that each new image overwrites the last.

The problem I’m having is that overwriting the image that the Carousel Tile is using doesn’t force it to refresh so it continues displaying the old image until you’ve re-opened the DH. It sometimes requires opening and closing SmartThings in order for the carousel tile to display the new image.

The image is being taken and saved fine so I’m assuming it’s some type of SmartThings caching problem.

Thanks, I’ll look into SmartTiles.


(Kevin) #19

Is it possible to display an image starting with https://graph.api.smartthings.com/api/s3 using this tile?

I’m currently getting the error: Full authentication is required to access this resource. @tgauchat


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #20

I don’t think so. SmartThings uses an internal non-public API to reference the S3 stored images for display in the Mobile App (@slagle @jody.albritton can confirm?).

That’s why @RBoy came up with a clever solution to add an a new Attribute that encodes the image as a string that can be used by other SmartApps (like SmartTiles). The problem is that only his DTHs use this Attribute, it is not a standard Capability.