What?! Parent/Child SmartApps?! What the heck is that?
Well, we now have some amazing documentation from @jim and @unixbeast describing how to create a parent/child smart app relationship! This is super exciting and we are even more excited to share it with you!
This was a much needed feature. Thanks a lot for making this work! The number os smart apps i have just looks horrendous… This will streamline things … Thank You!!!
Would ST be interested in pull requests modifying exiting ST SmartApps to support children? If so, how should they be done? Keep the same name or modify it to be plural? (“The Big Switch” could become “Big Switches”, for example - I’ve already got this one working and it’s the one I’d submit first.)
If you’d prefer to have the app name unchanged, is the namespace change from “smartthings” to “smartthings/parentname” enough to prevent anything odd from happening if you have both the old and new version installed?
Each app is independant. They have a relationship but outside of that they pretty much live independently of each other.
You can have a parent in the cloud with 6 child smartapps where the parents runs in the cloud, 3 children run in the cloud, and the other 3 children run locally. In this case the determining factor is not whether the child can run locally or not, but the devices in the child smartapp and whether they can all run locally or not.
OK, bit of an update.
child smart apps can create child devices
deleting the child instance deleted the child device
deleting the parent app deleted all the child apps and all child devices
Only thing I’ve noticed (other than what @pstuart found on LCF tonight), is that there isn’t a link in the child device to the child smart app.
I’m not aware of any easy/configurable way to specify a limit on the number of child apps allowed. You could specify multiple: false, but that would of course only allow for one app, which is not what you want.