Giter Club home page Giter Club logo

osh-smartthings's Introduction

OSH SmartApps

This repository contains SmartThings applications (SmartApps) for accessing sensors connected to a SmartThings hub through OSH.

Installing the SmartApp

Installing the SmartApp requires a Samsung SmartThings account and a SmartThings Hub, though the app can be simulated through the IDE available on the SmartThings website.

  1. Clone the repository into your SmartThings IDE.

    • From the My SmartApps section of the IDE, select the Settings button.
    • Select Add new repository
    • Under the Owner, Name, and Branch fields, enter "opensensorhub", "osh-smartthings", and the name of the branch you wish to pull from.
    • NOTE: If you have forked the app, you will need to enter the corresponding information to properly connect your own repository.
  2. Now you can Update from Repo and select the correct repository from the dropdown menu.

  3. Check the box in the new column (far right) and the Publish box in the bottom and then Execute Update.

  4. The app is now ready to be installed in the SmartThings Android or iOS application. To do this, navigate to the Automation tab, select SmartApps and Add a SmartApp

  5. At the very bottom of the list, select the My Apps option and all of your SmartApps will appear there. Select *OSH SmartThings Integration. You will then be able to configure the SmartApp.

Configuring the SmartApp

Sensors are divided into categories based upon their capabilities.

  • NOTE: Sensors with multiple capabilities will appear in more than one location, you need not select them more than once as the App will add all their supported capabilities in one entry once connected to an OSH node, though there is no problem created by doing so.
  1. Select the sensors you wish to add to the OSH node.
  2. Enter the SOS-T endpoint url you wish to connect to (ex: http://[testnode]:[portNo.]/sensorhub/sos)
  3. Tap Done. The app will now connect to your specified OSH node. As long as the app is installed it will send regular updates to the node in 1 minute intervals, as well as soon as an active sensor triggers an event.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.