Still works fine for me.
It will appear to work fine if you installed the first child app before the App upgrade. If you completely remove the smartApp and install again, then you should see the problem described above.
Remember that the issue only occurs while initializing the very first instance of a child app.
No. I just installed one and it worked fine.
Reallyā¦great news because Iāve been looking for a hybrid smartApp with code that works and all the ones Iāve tried failed.
What version of the IOS Smartthings app are you running and what smartApp are you using?
It worked on yesterdayās version and still works on the update released today.
What smartApp are you referencing? I would love to look at the code to see whatās different.
A bunch of my own. Iāll snag part and post once I get home.
Greatā¦thanks
Thank you for you replay really appreciate.
I donāt believe they will fix it any time soon. Since there is a workaround like you have mentioned.
If I switch between two apps when the spinning wheel is happening it works as well. Just figure that out.
If you can make it work would be really good. I have been fighting with that for a day already. I still believe itās a bug. Can you double check if you are not launching an app that is already installed?
After I run the app first time and do the trick switching between two apps it works and after that I can open it and it will keep working.
Yepā¦no fix is comingā¦thatās why I moved over to the āofficialā way and split my app in 2. Better to do it now before we see even more errors.
Iām hoping that @bago has something different in his coding that will work but still have my doubts.
definition(
name: ā${appName()}ā,
namespace: ājohnlcoxā,
author: ājohn.l.cox@live.comā,
description: āSends a message with presence detection to indicate that laundry is done.ā,
singleInstance: false,
category: āConvenienceā,
iconUrl: āhttps://graph.api.smartthings.com/api/devices/icons/st.samsung.da.dryer_ic_dryerā,
iconX2Url: āhttps://graph.api.smartthings.com/api/devices/icons/st.samsung.da.dryer_ic_dryer?displaySize=2xā
)preferences {
page(name: āstartPageā)
page(name: āparentPageā)
page(name: āchildStartPageā)
page(name: āpageSwitchā)
page(name: āpageNotificationsā)
page(name: āpageApplianceā)
page(name: āpageLightsā)
page(name: āpageNameā)
}def startPage() {
if (parent) {
childStartPage()
} else {
parentPage()
}
}def parentPage() {
return dynamicPage(name: āparentPageā, title: āā, nextPage: āā, install: true, uninstall: true) {
section(āCreate a laundry monitor.ā) {
app(name: āchildAppsā, appName: appName(), namespace: ājohnlcoxā, title: āNew laundry monitorā, multiple: true)
}section() { href "pageSwitch", title: "Message Switch", description:getDesc(messages, "", "", ""), state: (messages ? "complete" : null)//,image: "https://raw.githubusercontent.com/MichaelStruck/SmartThingsPublic/master/img/power.png" href "pageNotifications", title: "Notification", description:getDesc(person1, phone1, "", ""), state: (person1 || phone1 ? "complete" : null)//,image: "https://raw.githubusercontent.com/MichaelStruck/SmartThingsPublic/master/img/power.png" } section("Statistics") { paragraph "There are ${childApps.size()} monitors(s) configured." } section([mobileOnly:true]) { label title: "Assign a name", required: false //mode title: "Set for specific mode(s)", required: false } section() { paragraph "Smart Laundry\n" + "${version()}\n${copyright()}" } }
}
Funny!!! Have you rebooted???
@bago the only difference between your code and mine (and every other hybrid smartApp Iāve tested) is in line 2 where you have
definition(
name: ā${appName()}ā,
Iāve adjusted my smartApp and the spinning wheel still occurs. Are you SURE that you have deleted the smartApp ENTIRELY and readded. If there is something else that makes your code different, please enlighten us or post your entire smartApp code.
Otherwise, you would appear to be the anomaly, because I know of no one else that does not have this issue with the exact same code structure.
First and foremost, this is like me asking you if itās plugged in or turned on. Is it???
Like you newbies, I did run into a similar issue a while back. I played with the code and it started working. I wish I could remember what fixed it. At the time, I assumed it was me. Iāve created a few over the last month. They all work.
So what I tried yesterday (before replying in the first place) was copying the code and renaming the app. Then I installed it. It worked. No spinning wheel.
Not sure what your problem is, but mine works. Good luck.
Wow. Well thanks for all your āhelpā. Victor posted asking for assistance with a particular problem. You keep posting that you have it working fine and refuse to provide details as to how.
Why did you respond in the first place?
Iām asking myself the same question. I wish I hadnāt.
As someone offering to help, you feel like asking questions that are insulting. There are people on this forum that do have the knowledge to answer your question. I would not have responded in the first place if it was not working for me. When I originally stated that mine was working, then you responded (this made me question regarding a new app), so this forced me to double check.
I honestly wish I could remember the issue. I struggled for hours and then finally it started working. Iāve reused the code and I havenāt run into the issue since.
Reread all the posts above. You never answered the simple question as to whether you completely removed and reinstalled to test. As this is crucial to determining that you have a solution, we both felt a need to ask for confirmation.
Iām sorry that you felt insulted by or need for clarification but your brief responses only served to increase our curiosity rather than assist with a solution.
@VictorWelasco, sorry for side tracking this conversation with a needless back and forth. If I come across anything that can help I will post it here and tag you. Till then, I recommend you split your app or settle for the workaround.
Long story short. 1) I installed a second instance of one that I have - works fine. 2) I copied and rename the app and installed - works fine. In both cases, these were new installs.