SmartThings SDK Subscribing to Devices Dynamically

He meant you to add it manually through the SmartThings API. What we do, is:

  1. Get the current scopes of the SmartApp.

  1. Copy the result, add the r:hubs:* scope, and save the new configuration.

You should see this permission on the Authorization page.

Note: Every time you make a change to the project in the Developer Workspace, URL, display name, etc. you’ll need to repeat those steps.

2 Likes