One of first things that you need to do to unlock a ton of interesting Web3 applications on your Raspberry Pi is to download and install the Diode Client.

Step 1 - Download the Diode Client

If you're using the rPi's keyboard/mouse/LCD, open a browser and go to and download the Diode Client for Raspberry Pi (ARM).

If you're using SSH, SSH into your rPi and use wget to download the client from github:

  • First, check the releases page for the most recent version
  • Run the command (if you want a more recent version, replace "v0.3.4" in the following with the version desired):

Step 2 - Install the Diode Client

You'll need to unzip the download and move the client into your /usr/local/bin directory so it is globally available.

  • In your terminal SSH session, navigate to folder containingthe Diode Client .zip archive  
  • Unzip the archive into a temporary subdirectory
unzip -d ./diodetemp
  • Move the files to your /usr/local/bin directory
sudo mv ./diodetemp/* /usr/local/bin
  • Clean up the temporary subdirectory
rmdir diodetemp

Step 3 - Initialize the Diode Client

The Diode Client can initialize itself with the Diode Network so that no copy/pasting of keys is required to get it up and running.  We'll use this method.  

If desired, however, you can also follow steps 1-4 in this older Medium article that use the Diode Network website interface in conjunction with a terminal session.

  • In your terminal SSH session, run the command:
diode init
  • Wait for about a minute for the Diode Network to mine a block to add the new Fleet Contract to the network.  After adding the Fleet Contract, it will add your Diode Client's ID to the Fleet Contract and then wait again for the network to mine that transaction.
  • Once the second transaction is complete, the Diode Network now has a new Fleet Contract containing your client's identity.  
  • With this setup, you can now use your rPi to publish or subscribe content on Web3