For quite a while I wanted to use IPFS (the Inter-Planetary File System) for something interesting. Since I’ve last checked, they’ve added publish/subscribe messaging to their distributed communication, and there were some people who already tried it for IoT communications.
Since it’s Friday, we were hacking on some stuff, so managed to make a small demo, of a resin.io device that connects to the IPFS network, subscribes to a topic that is named after its UUID, and based on the messages it receives, it turns on/off a Blinkt! light strip.
It worked out pretty well, and the setup is such, that it could be adjusted relatively easily from using Javascript in the actual “client” that is the light control to any other programming language that can talk to the
The repo linked above has detailed readme, future ideas, context, etc…
For good measure, the current source code is also stored onto IPFS at https://ipfs.io/ipfs/QmPuHh4kiifDeUKJPcdqjrzCYDtoiqv72U2JXgdxj89yAR
What do you think? How are your experiments with IPFS?