Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

The SmartThings-Samples project is samples for the SmartThings App which consists of SmartThings Device Plugin, SmartThings Connector, and SmartApp.

License

Notifications You must be signed in to change notification settings

420Entropy/SmartThings

Open more actions menu
 
 

Repository files navigation

generator-smartthings

Generates a SmartThings SmartApp application

Getting started

The No-Install Way 👌

If you have NPM install (5.2.0+), just run the following command from a root repository directory:

npx yo smartthings

or,

npm init yo smartthings

Take note of the name, missing the generator- prefix. This is intentional.

Or, with Yeoman globally installed

First, install Yeoman and generator-smartthings using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-smartthings

Then generate your new project:

yo smartthings

Developing

Debugging guide

  • From the source directory:
npm link
  • From anywhere:
node --inspect `which yo` smartthings
  • For additional debug logging from Yeoman itself:
DEBUG=yeoman:generator node --inspect `which yo` smartthings

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

More about SmartThings

If you are not familiar with SmartThings, we have extensive on-line documentation.

To create and manage your services and devices on SmartThings, create an account in the Developer Workspace.

The SmartThings Community is a good place share and ask questions.

There is also a SmartThings reddit community where you can read and share information.

License and Copyright

Licensed under the Apache License, Version 2.0

Copyright 2019 SmartThings, Inc.

About

The SmartThings-Samples project is samples for the SmartThings App which consists of SmartThings Device Plugin, SmartThings Connector, and SmartApp.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • RAML 85.8%
  • JavaScript 10.1%
  • EJS 3.0%
  • Shell 1.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.