Cloud-connected SmartDevice/ServiceManager communication


#1

I’m trying to figure out how a Service Manager and a Device Handler communicates. I’ve seen some parent.CallMethod examples but I don’t understand what that is.


(Tim Slagle) #2

I’d recommend giving these a read over. They should definitely clear things up for you :smile:
http://docs.smartthings.com/en/latest/cloud-and-lan-connected-device-types-developers-guide/building-cloud-connected-device-types/building-the-device-type.html?highlight=parent

http://docs.smartthings.com/en/latest/smartapp-developers-guide/anatomy-and-life-cycle-of-a-smartapp.html?highlight=parent