I\'m developing a smart device that needs to respond to a trigger and take an action. I\'m having some trouble however determining what will host the code that fires the tr