INSTALLING LOCK MANAGER API
It is recommended to use a desktop browser for these steps
- Click on the Lock Manager API, it will open a new window with the code, select all (Ctrl+A) and copy the code (Ctrl+C)
- Login to the IDE at http://ide.smartthings.com (create a Samsung Account one if you don't have one)
- Click on "My Locations" and then click on the name of the location where you want to install the SmartApp
- Click on "My SmartApps". If you see Lock Manager API already installed, skip to Step 14
- Click on "+New SmartApp" on the top right
- Click "From Code"
- Paste the code (Ctrl+V) copied from Step 1 into the editor and click "Create"
- Click "Publish" and then "For me" on the top right
- Click on the "App Settings" button next to the Publish button
- Scroll down and click on "OAuth" to expand the section
- Click on "Enable OAuth in Smart App" (it will create it create a ID and Secret)
- Click on "Update" at the bottom of the page
- Scroll down back to OAuth, click on it and verify that the Client ID and Client Secret have been created/saved. If not repeat the process until it is saved (sometimes it takes a few tries)
- To install Lock Manager API, use either of these ways:
- SmartThings web browser app -> login here and click on the + icon on the top right corner of the screen -> click on "Add SmartApps"
OR - SmartThings mobile app -> open the mobile app and click on the + icon on the top right corner of the screen -> click on "Add Routine" -> click on "Discover" -> Scroll down to SmartApps
- Scroll down until you see "Lock Manager API" and click on it and tap "Done" to install it. (NOTE: if you don't see it listed, then you may have installed the code in the wrong location, check step 3 again)
- After installing Lock Manager API, configure/open it using either of these ways:
- SmartThings web browser app -> login here and click on "Automations"
OR
- SmartThings mobile app -> click on the "Automations" tab at the bottom of the app and then look for the "SmartApps" section
- Refer to the Lock Manager API Guide on how to configure/use the API's
UPDATING LOCK MANAGER API CODE
- Click on the Lock Manager API, it will open a new window with the code, select all (Ctrl+A) and copy the code (Ctrl+C)
- Login to the IDE at http://ide.smartthings.com
- Click on "My Locations" and then click on the name of the location where had installed the SmartApp previously
- Click on "My SmartApps"
- Click on "Lock Manager API" in the SmartThings IDE
- Select all (Ctrl+A) and delete the old code, Paste (Ctrl+V) the new code
- Click on "Save"
- Click on "Publish" and then "For Me", if you don't do this the update won't work