Hi guys, I wonder is it allowed that two SmartApps communicate with each other? If yes, how can two SmartApps communicate with each other? Does SmartThings provides any APIs/methods for that?
Thanks!
While there are “hacks” the official way for 2 Things (Devices) to communicate is via a SmartApp.
As for 2 SmartApps communicating, what is your exact use case, please?
One short answer is that you could use a Device as an intermediary, since both SmartApps can subscribe to that Device and can issue Commands on that Device.
Thanks for the information, tgauchat. I dont have any specific scenario. Just wondering
1 Like
You can also create a Parent SmartApp that creates Child SmartApps. In this relationship, the parent and children can communicate directly. Child to Child communication requires the Parent as the intermediary.
2 Likes
Good to know. Thanks
1 Like