Sideloading

If you’ve created your own custom plugin, you can test it on the SmartThings app by sideloading. How to sideload is mobile OS dependent and it’s important to confirm with OS of your mobile devices where the SmartThings app is installed.

Prerequisites

Android

Before sideloading your plugin to your Android phone, you need to set your ADB (Android Debug Bridge) path to connect your phone with the SmartThings SDK.

  1. Download the Android SDK Tools and install it.
  2. Enable adb debugging on your Android phone.
  3. Launch the Atom IDE.
  4. Go to File > Settings > Packages > Community Packages > SmartThings and click Settings.
  5. Enter the path to your adb installation. The default Windows path is C:\adb.

To test a plugin you have created, you must side-load it through the SmartThings SDK.

  1. Connect your mobile device to your computer using a USB cable. If you cannot connect your Android phone, set up the ADB path.
  2. In the Atom IDE, select Packages > SmartThings > Run As > Target, entering the password you set up when you signed the plugin. This copies the plugin files to your connected device.