j420smartthings

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

npm link
node --inspect `which yo` smartthings
DEBUG=yeoman:generator node --inspect `which yo` smartthings

Getting To Know 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.

Licensed under the Apache License, Version 2.0

Copyright 2019 SmartThings, Inc.