This script tool provides way to register a device manually on SmartThings platform instead of a real device onboarding process. So, you can build fast prototype SmartThings IoT application using the SDK on your desktop environment without real device board.
This tool is provided to aim to help fast PoC bring-up and development. After checking functional feasibility, you need to test it on real device from onboarding process.
- User PAT (Personal Access Token) with devices, deviceprofiles, location scope. (Refer How To Generate PAT)
- Registered Device Profile and Test Devices identity (Please read How To Register a Device on Developer Workspace)
stdk-onboarding.py
- Enter your PAT. If you don't have it, please generate one with devices, deviceprofiles, locatio scope. (Refer How To Generate PAT)
- Choose location and room to register a device on your SmartThings App.
- Choose device profile of the device. (You can find your device profile name on Developer Workspace. Click the Device Profile under Develop tab on your Project. Please refer Getting Started document.)
- Enter serial number for the device. You should enter registered serial number on your developer Workspace. (You can find registered device serial number in Test Devices under Test tab. Please refer Getting Started document.)
- Enter device label to show on SmartThings App. If you skip, default device label is device profile name.
- Review registration info before proceeding.
- Result of registration. You can get device id for registered device on SmartThings platform.
On SmartThings App