# Having issues installing a smartapp

**URL:** <https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526>\
**Category:** SmartApps & Automations\
**Created:** [March 9, 2015, 7:09pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526 "2015-03-09T19:09:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![garyd9](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/garyd9/32/14632_2.png) [@garyd9](https://community.smartthings.com/u/garyd9)\
**Post date:** [March 9, 2015, 7:09pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/1 "2015-03-09T19:09:20Z")

</div>

Is ST having issues again around this time? (3pm ET)

I’ve installed the same smartapp (custom) about 20 times and it never seems to show up in the mobile app, in the ide (in the device page, “in use by smartapps”), etc. However, I do see my “updated()” function running from the smartapp.

---

<div class="post-metadata">

**Author:** ![greg](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/greg/32/13756_2.png) [@greg](https://community.smartthings.com/u/greg)\
**Post date:** [March 9, 2015, 7:11pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/2 "2015-03-09T19:11:36Z")

</div>

Yeah, I’ve had this same issue and reported it to support. but the auto response said 36 hour response time. I am getting alerts from the ghost smart app I installed though. But it isn’t listed on the mobile app or on the ide as being installed.

---

<div class="post-metadata">

**Author:** ![garyd9](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/garyd9/32/14632_2.png) [@garyd9](https://community.smartthings.com/u/garyd9)\
**Post date:** [March 9, 2015, 7:12pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/3 "2015-03-09T19:12:53Z")

</div>

okay, now I’m seeing a copy of the smartapp being installed, but with NOTHING configured in it. I guess ST is having a Bad Day. It must be Monday.

Oh, and I don’t bother with support@ anymore. I can summarize the responses I’ve seen from them here:

- We don’t support anything involving anything involving custom device types or smartapps. Use the forum.
- (24+ hours after I’ve submitted the problem): Everything seems to be working now.
- Reboot the hub?

---

<div class="post-metadata">

**Author:** ![greg](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/greg/32/13756_2.png) [@greg](https://community.smartthings.com/u/greg)\
**Post date:** [March 9, 2015, 7:19pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/4 "2015-03-09T19:19:37Z")

</div>

good news for me it is a ST app I installed. Just checked again. Still not showing in app or ide. and I did reboot 😉

---

<div class="post-metadata">

**Author:** ![garyd9](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/garyd9/32/14632_2.png) [@garyd9](https://community.smartthings.com/u/garyd9)\
**Post date:** [March 9, 2015, 7:34pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/5 "2015-03-09T19:34:47Z")

</div>

More info:

I updated the smartApp code to display some debug info:

```auto
def installed() 
{
	initialize()
    log.debug "installed!"
}

def updated() 
{
	unsubscribe()
	initialize()
    log.debug "updated!"
}

def initialize() 
{
    log.debug "init A"
	subscribe(windows, "contact.open", openHandler)
    log.debug "init B"
	if (nightOnly)
	{
		// force updating the sunrise/sunset data
		retrieveSunData(true)
	}
    log.debug "init C"
    
}
```

I saved, published for myself, and went to add it from the mobile app. Here’s what I got to see in the log window:

`
a66bbadc-d879-418e-8367-54e8e6fe27c1 3:31:55 PM: trace Deleting all scheduled jobs for InstalledSmartApp: a66bbadc-d879-418e-8367-54e8e6fe27c1`  
That’s it. None of my debugging log entries showed up.

Being that support@ won’t support this, who can I whine to, @April?

---

<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:** [March 9, 2015, 7:47pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/6 "2015-03-09T19:47:05Z")

</div>

Try installing one of standard smart apps you don’t already have through the mobile app and see if it has the same problem. If so, you can report _that_ to support.

---

<div class="post-metadata">

**Author:** ![April](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/april/32/15314_2.png) [@April](https://community.smartthings.com/u/April)\
**Post date:** [March 9, 2015, 7:52pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/7 "2015-03-09T19:52:50Z")

</div>

> [@garyd9](#):
>
> Being that support@ won’t support this, who can I whine to, @April?

On it. 🙂 Stand by.

Cheers,

---

<div class="post-metadata">

**Author:** ![garyd9](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/garyd9/32/14632_2.png) [@garyd9](https://community.smartthings.com/u/garyd9)\
**Post date:** [March 9, 2015, 8:02pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/8 "2015-03-09T20:02:30Z")

</div>

Odd - when I install it (same options selected) from the IDE, everything appears to work. Uninstall and try again from the mobile app, and I get the same failure (and symptoms) mentioned above.

---

<div class="post-metadata">

**Author:** ![April](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/april/32/15314_2.png) [@April](https://community.smartthings.com/u/April)\
**Post date:** [March 10, 2015, 3:22pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/9 "2015-03-10T15:22:02Z")

</div>

Hey @garyd9,  
Here you go, this is the message I got from our engineer:

Change:

dynamicPage(name: “prefs”, uninstall: true)

to

dynamicPage(name: “prefs”, uninstall: true, install: true)

The documentation says that that option is not necessary for single page preferences, but I believe since he is creating a separate function for his page it is required for some reason. I will follow up with the developers and Jim to see if we need to change the documentation.

---

<div class="post-metadata">

**Author:** ![garyd9](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/garyd9/32/14632_2.png) [@garyd9](https://community.smartthings.com/u/garyd9)\
**Post date:** [March 10, 2015, 3:42pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/10 "2015-03-10T15:42:40Z")

</div>

Well, THAT’s interesting.

This (and another unpublished smartApp) was the first time I was using “dynamicPage()” for single page settings. (I needed to do it that way to pull the HH phrases.) I did notice that I had to add an ‘uninstall’ tag (contrary to the docs), but didn’t think to add an “install” tag because the “DONE” button was there.

Well, thank you @April and thank you Anonymous Engineer.

Take care  
Gary

---

<div class="post-metadata">

**Author:** ![April](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/april/32/15314_2.png) [@April](https://community.smartthings.com/u/April)\
**Post date:** [March 10, 2015, 3:45pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/11 "2015-03-10T15:45:54Z")

</div>

Shuan is the engineer in question. However, I wonder if we can collectively call them something like SmartDevs (still trying to coin this term!) or, AnonymousEngineers. They should have a cool video and wear horse masks . We’ll sync Mylo bands with ST, and do a syncronized Dance---- Okay. I’ll show myself out.

---

<div class="post-metadata">

**Author:** ![garyd9](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/garyd9/32/14632_2.png) [@garyd9](https://community.smartthings.com/u/garyd9)\
**Post date:** [March 10, 2015, 3:51pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/12 "2015-03-10T15:51:47Z")

</div>

> [@April](#):
>
> They should have a cool video and wear horse masks . We’ll sync Mylo bands with ST, and do a syncronized Dance

You are an unusual person. Please don’t ask the ST engineers to do anything like that. If they are anything like me, they’d resign first.

---

<div class="post-metadata">

**Author:** ![April](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/april/32/15314_2.png) [@April](https://community.smartthings.com/u/April)\
**Post date:** [March 10, 2015, 3:58pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/13 "2015-03-10T15:58:16Z")

</div>

No, sadly, no one will follow.

I still hope that someone will integrate the Mylo bands with ST, and do some kind of cool video demonstration.

---

<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:** [March 10, 2015, 4:17pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/14 "2015-03-10T16:17:58Z")

</div>

If they are anything like me, they’d already be working on their choreography. 🐎🐼🐎 🎶

---

<div class="post-metadata">

**Author:** ![darrylb](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/darrylb/32/273_2.png) [@darrylb](https://community.smartthings.com/u/darrylb)\
**Post date:** [March 10, 2015, 4:29pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/15 "2015-03-10T16:29:17Z")

</div>

Yes! Horse Masks!

I now expect this on a Developer Discussion!

---

<div class="post-metadata">

**Author:** ![garyd9](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/garyd9/32/14632_2.png) [@garyd9](https://community.smartthings.com/u/garyd9)\
**Post date:** [March 10, 2015, 4:30pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/16 "2015-03-10T16:30:49Z")

</div>

Being she came up with the idea, I think @April should set the example and wear a “horse mask” for the duration of the dev conference call tomorrow evening.

---

<div class="post-metadata">

**Author:** ![April](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/april/32/15314_2.png) [@April](https://community.smartthings.com/u/April)\
**Post date:** [March 10, 2015, 4:43pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/17 "2015-03-10T16:43:22Z")

</div>

Gary, I suppose you’re right. Engineers would rather leave than wear a mask and dance. as I would rather give you that darn t-shirt you pester about, than to wear that on a recorded con-call. you win. I wave the white flag.

---

<div class="post-metadata">

**Author:** ![garyd9](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/garyd9/32/14632_2.png) [@garyd9](https://community.smartthings.com/u/garyd9)\
**Post date:** [March 10, 2015, 4:44pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/18 "2015-03-10T16:44:26Z")

</div>

> [@April](#):
>
> I would rather give you that darn t-shirt you pester about, than to wear that on a recorded con-call.

Great. When can I expect the t-shirt? 😉

---

<div class="post-metadata">

**Author:** ![April](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/april/32/15314_2.png) [@April](https://community.smartthings.com/u/April)\
**Post date:** [March 10, 2015, 4:46pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/19 "2015-03-10T16:46:19Z")

</div>

Jokes on you. I’m sending you the winning T-shirt from the developers contest instead. 😃

---

<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:** [March 10, 2015, 4:53pm UTC](https://community.smartthings.com/t/having-issues-installing-a-smartapp/12526/20 "2015-03-10T16:53:10Z")

</div>

Hey, plenty of engineers like dancing!

Tagline: _Engineers are amazing!_. 👾
