2 years ago I built a middleware web app using smartthings as part of it. My python app, made some calls to groovy in the smartthings IDE. I had used link to manually get my Oauth access key. https://iotdb.org/playground/oauthorize (its broken now)
My web has been working greeat for 2 years. Now I have to make changes and I’m totally stuck because that above link is broken so I can’t add new hubs to my system.
It looks like I’m faced with two options:
Figure out interfacing with new Samsung platform, and update all my old groovy code
Go back and figure out how to programatically create the OAuth access key fro the old system.
If 2 is a lot less time than 1, then I’d rather delay more work.
QUESTION:
does the new platform allow Groovy code?
Is there a designated date when the old groovy IDE stuff is going to turn off?
AND most importantly, whats the easiest fastest way to obtain an OAuth access code to make calls into the old Groovy IDE?
You can still run groovy SmartApps. We have not announced a sunset date, but from the sounds of it, you only need API access and the new public API has stuff you won’t get by rolling your own in groovy.
You should be able to generate a new key with your endpoints. Hard to say without knowing how your app was written.
I figured out how to setup the Oauth for the classic app, but when i try to actually authorize my app, i get error: " Client is not associated with a SmartApp in location … ."
I can’t remember how I solved this. The documentation that addresses this error isn’t too helpful: " If it is the same account, and you are trying to install into a different Location, ensure the SmartApp is published on that Location as well ("
In attachment below, I can see far right, there is a location area that it SHOULD be assigned to, but not sure how.