nayelyz
(SmartThings Developer Support)
March 10, 2021, 5:24pm
5
Ok, so, since the Authentication flow doesn’t seem to initialize. Take a look at the OAuth servers of the samples below. They have been tested and the OAuth process is successful, within them, you can see the process flow and verify if your integration complies with it.
Creating custom capabilties for schema devices
Using the SmartThings CLI and Developer Workspace
We are going to create a Cloud Connected Device using Schema and webhooks. Our base device will be a basic switch.
The first part of this tutorial will cover create the connector, oAuth server, and adding the Switch to SmartThings. The second part of the tutorial will cover adding a custom capability to this new device.
Prerequisites:
Samsung Account
Developer Workspace Access
Developer Mode Enabled
Glitch Account
Text File
Step 1: Remix this Glitch account (connector)
Set the values in the .env file using .env-example as a guide.
Once the remixed app is up and running copy its URL to your text file.
Register the webhook url in SmartThings Developer Workspace and deploy it for t…