nayelyz
(SmartThings Developer Support)
January 13, 2021, 7:51pm
7
Hi, @mattrix ! If you choose the path of ST Schema (cloud-connected device), here’s a post that can help you begin with this kind of integration. Either way, I’ll be around in case you have any questions.
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…