When you want to connect an IoT device to anything (or, for that matter, anything to anything), you should take a serious look at Node-RED, a free, open source visual process wiring system from IBM ...
Through its mobile mining app, trust-based security system and growing ecosystem of applications, Pi aims to bring crypto to everyday users without the barriers of expensive hardware or high energy ...