The Developer Workspace provides the easy-to-use tools for integrating your devices and services into the SmartThings Cloud.
The Web Console is an web-based IDE without ever needing to download the SDK and it allows you to create default plugins for devices with a standard look and feel. If your plugin requires more advanced features, download the SmartThings SDK.
With the Web Console, you’re able to:
- Create default plugins for Cloud-connected devices, Cloud-to-cloud devices, or Hub-connected devices (Coming soon).
- Create Automations.
- Request certification of your plugins (for only partners).
The Web Console provides you tools as below:
- CSR (Certificate Signing Request) for devices or plugins that needs to create virtual devices and plugins that communicate with the SmartThings Cloud.
- Virtual Device that represents IoT devices and its resources to test the interaction between the device plugin in SmartThings app and the device itself without needing a physical device.
- Device Plugin Simulator that shows how the IoT device plugin would look within the SmartThings app (Coming Soon).
- Logger that allows you to trace the historical activities of your device (Coming Soon).
Through the SmartThings SDK, you can define a plugin for the SmartThings app to monitor and control an IoT device. To do this, you simply identify the device’s features and settings, for example, a power switch that can be set to on or off, and indicate which features are shown on the main device card and the detailed card within the SmartThings app.
The SmartThings SDK includes:
- The IDE that is an add-on package for the Atom editor, letting you design the SmartThings plugin through either a GUI or the underlying code.
- CLI (Command Line Interface), which is used by the IDE and provides additional functions.
- Device Plugin Simulator for your SmartThings plugin and the Virtual Device, so that you can test the interaction between the app and device, without needing any phone or physical device.
Currently with the SmartThings SDK, you can define a plugin for a Cloud-connected device, which uses the OCF protocol over a CoAp stack to communicate directly with the SmartThings cloud. If you need to fully customize the UI and behavior of the device plugin, you can use Device Plugin API. Although the SmartThings SDK runs on both the Windows and Mac OS platforms, the examples in this guide show the Windows platform.
We want to hear from you. Share your ideas, questions, and suggestions.