COIN: Opening the Internet of Things to People’s Mobile Devices