![]() I have never seen an explanation offered for this. The ‘Add SmartApp’ link was replaced and the available SmartApps were found by going to ‘Add Automation’ to open up a page of custom automations, hitting ‘Discover’ to switch to a page of automation templates, and then scrolling to the bottom. Apps that were available in your account could be added via an ‘Add SmartApp’ menu and would then appear in the SmartApps sections on the main tab, after Scenes and Automations (as they were then called). Regardless of how they were created, the mobile app would handle them on the Automation tab. Then there were third party hosted connected services, such as ActionTiles, where you would connect to SmartThings using an OAuth style connection and an app would be installed in your Location for you that acted as an intermediary. There were custom SmartApps that you could install in your SmartThings Location by writing or pasting code into the ‘IDE’ and publishing for your own use. There were a number of ‘stock’ SmartApps provided by SmartThings, of which one of the most prominent was Smart Lighting. Many users equate the term ‘SmartApp’ with the Groovy SmartApps that were used in the legacy platform that is just being phased out. What am I doing wrong? I use a Google Pixel 4a and just downloaded the app after buying an Aeotech Hub over the weekend. ![]() I am trying to see how to add a smartapp in the Smartthings app and I see nowhere to add a SmartApp. You can always restore tokens using the application UPDATE on a mobile device as I mentioned above.I am a brand new user and I have the most most simple question. I am under the impression that, unlike the Alexa API, the old refreshToken expires immediately after refresh, and you won’t be able to retry the call with the old values if you lose your updated authToken and refreshToken for some reason. I am not familiar with curl, but this example was good enough to understand how to refresh tokens. Here is the code I used for testing: exports.handler = function (request, context, callback) " ) Ĭurl_setopt( $ch, CURLOPT_RETURNTRANSFER, true) I use AWS because AWS can easily host WebHook and Lambda functions. Hosting SmartAppīefore registering a SmartApp at Developer Workspace, you need to create it. Here I found many thoughtful and helpful people who helped me solve my problems. This is your fault and the only way to resolve it is to look through the logs and ask this community for help. Do not contact SmartThings support (you will confuse them and they will not be able to help you) and do not try again later. Something like this: “An unexpected error occurred… email us at … Reference ID …” or “Network error… Please try again later”. You are likely to receive error messages during development. I hope this will save you time to develop your first SmartApp. I just want to share my experience and the information I have gathered from various sources. When I started from scratch, I made a lot of mistakes, because many things that seem obvious to me now were not obvious to me at the beginning. ![]() I have very little knowledge about the Unix platform, NodeJS, AWS and SmartThings Edge. I’m building my first SmartApp to migrate to the SmartThings Edge platform an app developed using legacy Groovy technology.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |