this only works on a raspberry pi. all you need is a raspberry pi. The script measures the temperature on the pi, then uploads it to a Thingspeak channel.
Follow the instructions here: https://www.dexterindustries.com/BrickPi/brickpi-tutorials-documentation/projects/thingspeak-temperature-log/
Step1 to Step7 only.
git clone https://github.com/yuk0ga/Temp-uploader.git
Reveiw Step 6 from the instruction above.
Then ignore the steps after Step7, and run the python script
sudo python Thermometer_Thingspeak.py
Go to your channel on Thingspeak, and you'll see the graph plotted