Skip to content

A python script takes the temperature of the core of Raspberry Pi and pushes it to the Streaming API of plot.ly to monitoring it

Notifications You must be signed in to change notification settings

PanosXY/RPi-Core-Temp-Python-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Core-Temperature-Python-Script

This python script reads the temperature of the core of Raspberry Pi (or every linux machine) and pushes it to the Streaming API of https://plot.ly/ every 15 minutes to create a real-time scatter plot.

alt tag

First run once initial_plot.py to create the scatter plot with your layout options:

    python initial_plot.py

Now you have to run streaming_plot.py to push the core temperature to the API:

    python streaming_plot.py

At last you can modify your crontab to run this script on reboot. Open crontab by:

    sudo crontab -e

and put this in the end:

    @reboot python /path/of/streaming_plot.py &

About

A python script takes the temperature of the core of Raspberry Pi and pushes it to the Streaming API of plot.ly to monitoring it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages