You can transform your old smartphone into a controller for your smart home.