Your smartphone can control a lot of things these days—your smart home lighting system, your thermostat, even your TV.