ThingSpeak Temperature Monitor with Raspberry Pi

Step 1: What You’ll Need

ThingSpeak Temperature Monitor with Raspberry Pi

Step 2: Signup for Thingspeak

First signup for the new account in thingspeak at

Step 3: Login to Thingspeak

Login to your account and click on the channels icon.

Step 4: Create a Channel for Your Data

Create a new channel by clicking on the “Create New Channel” button.

Step 5: Name Your Project

  • Give a name for your project and fill the field column with the information you are plotting. Eg : Temperature.
  • Fill only one field column since we are plotting the data on a single thermometer.

Step 6: Update the Channel

Click the Update “Channel button” after completing the Channel Settings.

Step 7: Get an API Key

Click on the API Keys tab and copy down the API_KEY value. We will use this in the python script later.

Step 8: Check the Graph

Click on the Private view tab to look at the graph. It wont show anything now since the python code isn’t running. We will come to this later.

Step 9: Open the Python Example

We wrote a quick example in the Python Examples section of the python code on Github.

You can get the entire BrickPi_Python Repository by running the following commands (this is explained in more detail in our Python Programming Section here).

ThingSpeak Temperature Monitor with Raspberry Pi

git clone
sudo apt-get install python-setuptools
sudo python install

Now, open the example “” in the /BrickPi_Python/Project_Examples/Thingspeak_Temperature_Logging directory.

  • Now in the python code and search for : ” ‘key’:’N71BQXDNFTABINT7′
  • In place of ‘N71BQXDNFTABINT7′ type the API key value that was generated for you.


For more detail: ThingSpeak Temperature Monitor with Raspberry Pi

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top