Skip to content

About

Simple python files to demonstrate ThingSpeak

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

RPi-Thingspeak-Tutorial-Python

Simple python files to demonstrate ThingSpeak. Portions taken from http://www.australianrobotics.com.au/news/how-to-talk-to-thingspeak-with-python-a-memory-cpu-monitor.

Register with ThingSpeak

Go to https://www.thingspeak.com/ and follow the instructions.

Install Python Libraries

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-dev
sudo apt-get build-dep python

Install psutil

sudo easy_install psutil

Git the Code from Github

sudo git clone https://github.com/mvartani76/RPi-Thingspeak-Tutorial-Python/

Remember to change the API KEY to your key that was generated for you in Thingspeak

pushtothingspeak.py - this file pushs one single value to ThingSpeak.
thingspeak_cpu_loop.py - this file continously pushes the CPU load and available memory from the Pi every 16 seconds.

About

Simple python files to demonstrate ThingSpeak

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages