Developer Setup

Getting the SmartThings Device Type and Setup SmartApp

Until SmartThings approves the device type and setup app, users will need to manually install these devices into their accounts. Follow the steps in the video or the step-by-step instructions below.

Demo Video

Step by Step

Start by opening up our GitHub page at https://github.com/obycode/obything and the SmartThings developer tools page at https://graph.api.smartthings.com. Login to the developer tools, creating an account if needed.

First, we will create the device type. On the GitHub page, open “ObyThingMusic.groovy” and copy its contents. On the developer tools page, click “My Device Types” and then “New SmartDevice”. Select the tab “From Code” and paste the copied code into the box. Click the “Create” button at the bottom of the page. Finally, click “Publish” -> “For Me” to publish this device type to your account.

Next, we will create the SmartApp to perform the setup process for us. On the GitHub page, open “ObyThingMusicManager.groovy” and copy its contents. On the developer tools page, click “My SmartApps” and then “New SmartApp”. Select the tab “From Code” and paste the copied code into the box. Click the “Create” button at the bottom of the page. Finally click “Publish” -> “For Me” to publish this app to your account.

This SmartApp will now be available in the SmartThings app, in the Marketplace, in the “My Apps” category. Continue with the basic installation process (inputting IP, etc.).