Skip to content

Samsung SmartThings imageCapture Capability를 받아볼 수 있는 웹 페이지입니다.

Notifications You must be signed in to change notification settings

rktdnjs/starter-kit-smartapp-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactApp for the Samsung SmartThings ImageCapability Checking

This project was developed to check the ImageCapability image of SmartThings.

This project based on react framework.

Setup Instructions

Prerequisites

If testing locally (using provided webserver)

  • Node.js and npm installed (verified with npm version 6.14.8 and Node 12.19.0).
  • ngrok installed to create a secure tunnel and create a globally available URL for fast testing.

Start

Description for this Project : Link

Local - Server

  1. Install the dependencies for server : npm install.

  2. Start the server: npm start.

  3. Start ngrok (in another terminal window/tab): ngrok http 3005. Copy the https: URL to your clipboard.

Local - Front

  1. Install the dependencies for this app : npm install.

  2. Start the project: npm start

Check Images

  1. (After you run above projects)Depending on the content of the SmartApp, information corresponding to the imageURL in the imageCapture results when an event occurs for SmartThings devices is stored in the path http://localhost:3005/api/image and data can be retrieved by sending a request to this URL from the frontend projects.

  2. Recall capture results URL from server - Click on the URL list you want - Enter token issued by SmartThings - Load selected Image

  3. You can check and save the desired image from the list of images captured since the server operation.

About

Samsung SmartThings imageCapture Capability를 받아볼 수 있는 웹 페이지입니다.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published