I’m putting together a simple(?) SmartApp for controlling my water heater. The parent app lets you pick heaters (currently using a slightly modified version of Justin Huff’s Rheem bridge), toggle vacation mode, and add schedules. The schedules are child apps that will turn the heater on/off and set the temperature at specific times and on specific days of the week.
There are still a few things to do to make it completely work, but I’m ready to start testing. My problem is related to actually instantiating the child SmartApp. After setting the options for new child and tapping “done”, I get the expected message that the app is “installed and automating”, but this is immediately followed by “There was an error, please try again”. The SmartThings iOS app never leave the preferences page that I tapped “done” on. If I hit “back” to return to the parent, I see my schedule there, but if I tap the child and then tap “back” to got to the parent again, it disappears.
There is no information in the live log. It says it the child has initialized, but there’s nothing about the error, so I’m not sure how to proceed.
So, what am I doing wrong? I’ve put the source in GitHub. I’m reasonably certain I’m doing everything correctly, but apparently, not, since the app won’t instal.