Skip to content

techgaun/xmart-things-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xmart-things-demo

This is a sample application that uses xmart_things to interact with Web Services SmartApp.

UI

To start your Phoenix app:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with npm install
  • Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

Configuration

You have to configure xmart_things configuration by setting appropriate environment variables. Look at the config

On the SmartThings side, configure a new app using Sample Web Services SmartApp groovy script.