RBOY APPS
INSTALLING LOCK MANAGER API

It is recommended to use a desktop browser for these steps
  1. 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)
  2. Login to the IDE at https://account.smartthings.com (create a Samsung Account one if you don't have one)
  3. Click on "My Locations" and then click on the name of the location where you want to install the SmartApp
  4. Click on "My SmartApps". If you see Lock Manager API already installed, skip to Step 14
  5. Click on "+New SmartApp" on the top right 
  6. Click "From Code
  7. Paste the code (Ctrl+V) copied from Step 1 into the editor and click "Create
  8. Click "Publish" and then "For me" on the top right
  9. Click on the "App Settings" button next to the Publish button
  10. Scroll down and click on "OAuth" to expand the section
  11. Click on "Enable OAuth in Smart App" (it will create it create a ID and Secret)
  12. Click on "Update" at the bottom of the page
  13. 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)
  14. 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
  15. 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)
  16. 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
  17. 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 https://account.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