Integrating smart devices