The Developer Workspace allows you to test Automations and devices with the SmartThings app. It also includes some additional tools. With the Virtual Device you can do tests without a physical device, and with the Device Plugin Simulator you can test how your device appears in the SmartThings app, and how you can interact with it.
To connect your mobile phone with the SmartThings SDK, set your ADB (Android Debug Bridge) path.
- Download the Android SDK Tools and install it.
- Enable adb debugging on your Android phone.
- Launch the Atom IDE.
- Go to File > Settings > Packages > Community Packages > SmartThings and click Settings.
- Enter the path to your
adbinstallation. The default Windows path is
The Developer Workspace allows you to create an Automation and test it.
- When creating your Automation in the Developer Workspace, click CONFIRM to register your Automation in the self-publish phase. The Automation information is sent to SmartThings Cloud.
- Launch the SmartThings app. Your SmartThings app and Developer Workspace must be signed into the same account.
- Enable Developer Mode in the SmartThings app.
- Go to Automations tab and add your Automation app.
- Test your Automation.
To test your device, you have to self-publish or side-load it. You can download the self-assessment checklist in the final step of creating your device through the Developer Workspace.
Self-publishing is an easy way to test your device in the SmartThings app.
- When creating your device in the Developer Workspace, click CONFIRM to self-publish your device in the self-publish phase. The device information is sent to SmartThings Cloud.
- Enable Developer Mode in the SmartThings app and then add your device.
To test a device plugin you have created, you must side-load it through the SmartThings SDK. You can test your device plugins in the SmartThings app or in the Device Plugin Simulator.
- Launch your SmartThings app and enable Developer Mode.
- Connect your mobile phone to your computer using a USB cable. If you cannot connect your mobile phone, set up the ADB path.
- In the Atom IDE, select SmartThings > Run As > Target, entering the password you set up when you signed the plugin. This copies the plugin files to your connected device.
- Refresh your SmartThings app: In Developer Mode, tap Restart App.
If you don’t yet have a physical device, you can use a Virtual Device that represents this physical device and its resources.
- Create and launch a new Virtual Device.
- Choose whether you will test your device using the SmartThings app or the Device Plugin Simulator.
The Device Plugin Simulator only works with a Virtual Device.
You can then control and test the Virtual Device with the SmartThings app or the Device Plugin Simulator.