# Adding SmartApps

**URL:** <https://community.smartthings.com/t/adding-smartapps/17092>\
**Category:** SmartApps & Automations\
**Created:** [May 26, 2015, 6:16pm UTC](https://community.smartthings.com/t/adding-smartapps/17092 "2015-05-26T18:16:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdderosier](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@tdderosier](https://community.smartthings.com/u/tdderosier)\
**Post date:** [May 26, 2015, 6:16pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/1 "2015-05-26T18:16:00Z")

</div>

Trying to add a Smart App to my z-wave device MC… Can someone tell me what I am missing. I know how to add the smart app to myapps list but when I click on smartapps is tells me no installed smartapps

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [May 26, 2015, 6:21pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/2 "2015-05-26T18:21:29Z")

</div>

> [@tdderosier](#):
>
> Trying to add a Smart App to my z-wave device MC… Can someone tell me what I am missing. I know how to add the smart app to myapps list but when I click on smartapps is tells me no installed smartapps

See if this helps any. Sounds like you may have published to your library, but not yet installed to a specific device.

> [@\[OBSOLETE\] FAQ: An Overview of Using Custom Code in SmartThings (SmartThings Classic, Groovy Code)](http://community.smartthings.com/t/faq-an-overview-of-using-custom-code-in-smartthings/16772):
>
> The original FAQ information in this thread refers to the original smartthings architecture, which was in place through the end of 2022 and a little beyond. Custom code was written in the groovy programming language and ran in the smartthings cloud. As of May 2023, you can no longer add new Groovy DTH‘s or smartapps to your smartthings account. So if you came here because of a link in an old forum thread, or on another site, I’m afraid the Groovy information is no longer usable. All of this was replaced by a new architecture. Cloud to cloud integrations use the smartthings API. Hub connected devices, mostly Zigbee and zwave, now use “Edge Drivers,” written in the LUA programming language. Here’s the official announcement on those: The process for using a custom Edge Driver in the new …

---

<div class="post-metadata">

**Author:** ![tdderosier](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@tdderosier](https://community.smartthings.com/u/tdderosier)\
**Post date:** [May 26, 2015, 6:54pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/3 "2015-05-26T18:54:13Z")

</div>

I did what it said and still no luck.

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [May 26, 2015, 7:40pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/4 "2015-05-26T19:40:59Z")

</div>

Which smart app is it?

---

<div class="post-metadata">

**Author:** ![tdderosier](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@tdderosier](https://community.smartthings.com/u/tdderosier)\
**Post date:** [May 26, 2015, 8:13pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/5 "2015-05-26T20:13:23Z")

</div>

smart alarm v2.2.5 or smart security it just tells me no installed smartapps

---

<div class="post-metadata">

**Author:** ![keithcroshaw](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/keithcroshaw/32/79738_2.png) [@keithcroshaw](https://community.smartthings.com/u/keithcroshaw)\
**Post date:** [May 26, 2015, 8:16pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/6 "2015-05-26T20:16:03Z")

</div>

Did you add it from the IDE and publish it to yourself?

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [May 26, 2015, 8:17pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/7 "2015-05-26T20:17:04Z")

</div>

> [@tdderosier](#):
>
> smart alarm v2.2.5 or smart security it just tells me no installed smartapps

SmartAlarm is very popular. I’m not familiar with the exact install procedure. If you ask in its topic, someone should be able to help you.

> [@\[OBSOLETE\] Smart Alarm is here](http://community.smartthings.com/t/smart-alarm-is-here/3316/445):
>
> I have a question and a few suggestions to improve the app. Question: Can anybody explain me how to use the token and the rest endpoint to arm/disarm the alarm? I understand that if I paste the rest endpoint with one of the commands at the end (/armaway/pin, /disarm/pin) it execute them. However, it asks me for smartthing username and password. My understanding is that if I use the token combined with the rest endpoint it will not ask me the smartthing username and password to execute the command. But I don’t know how to build that url. I tried [https://graph.api.smartthings.com/api/smartapps/installations/APP\_ID/ui?access\_token=TOKEN/status](https://graph.api.smartthings.com/api/smartapps/installations/APP_ID/ui?access_token=TOKEN/status) but it keeps asking me for the username and password. (TOKEN is the access token) App Suggestions: -Add Sonos to Alarm Option (use a pre-recorded …

---

<div class="post-metadata">

**Author:** ![whcrist](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/whcrist/32/14998_2.png) [@whcrist](https://community.smartthings.com/u/whcrist)\
**Post date:** [May 26, 2015, 8:55pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/8 "2015-05-26T20:55:27Z")

</div>

1. Log in to [SmartThings.com](http://SmartThings.com)
2. Go to Develops to Login to IDE on [SmartThings.com](http://SmartThings.com)  
2a. [https://www.smartthings.com/developers/](https://www.smartthings.com/developers/)  
2b. Click the link “Build a SmartApp”  
2c. Click on “Log in”
3. Click on My Smart Apps
4. Click on “+ New SmartApp” green button on right side.
5. Click on “From Code”.
6. Now, go to [www.github.com](http://www.github.com)
7. Click Sign in.
8. Search for Smart Alarm
9. Click on “app name.groovy”
10. You will see the code. Click on the “Raw” button to get the code with no formatting.
11. Copy all the code.
12. Go back to SmartThings and Paste the code.
13. Click “Create” button on the bottom of the page.
14. Click “App Settings” button on the top right of the page.
15. Click on “OAuth” link toward the bottom on the page.
16. Click on “Enable OAuth in Smart App”
17. Click “Update” button
18. Click on “Code” button on top right of the page
19. Click “Publish” button then “For Me” option

---

<div class="post-metadata">

**Author:** ![tdderosier](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@tdderosier](https://community.smartthings.com/u/tdderosier)\
**Post date:** [June 12, 2015, 7:23pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/9 "2015-06-12T19:23:54Z")

</div>

thanks  
wedfasdfdsfsdafv

---

<div class="post-metadata">

**Author:** ![Ian\_Clitheroe](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ian_clitheroe/32/64006_2.png) [@Ian\_Clitheroe](https://community.smartthings.com/u/Ian_Clitheroe)\
**Post date:** [August 1, 2017, 5:27pm UTC](https://community.smartthings.com/t/adding-smartapps/17092/10 "2017-08-01T17:27:38Z")

</div>

I have been trying to use these steps to add my first app to smarthings,  
I’ve been trying to add an aeotec garage door opener (v5) using RobertVandervoorts code

however i keep getting an error message

No signature of method: script15016076246362139004068.metadata() is applicable for argument types: (script15016076246362139004068$\_run\_closure1) values: [script15016076246362139004068$\_run\_closure1@73d18380] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

any assistance?
