Python Script to Tweet Stats of your RaspberryPi to a Twitter Account
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
rpitweetstats.py

README.md

RPiTweetStats

Python Script to Tweet Stats of your RaspberryPi to a Twitter Account

[Bot]: CPU 48.2`C, 0.5% Load. Uptime: 0:25:56.970000
  • CPU Temperature
  • CPU Load
  • Uptime since last Reboot

You have to get OAuth Access to your Twitter Account (as a https://dev.twitter.com/) and have to enter your keys to the Python script.

Dependencies

You need Tweepy to Tweet.

Auto Tweet

You need to make the Python file executable

sudo chmod 755 rpitweetstats.py

And then one can simply use a Cronjob to tweet every 10 minutes

sudo crontab -e

and add

*/10 * * * * python /home/pi/rpitweetstats.py

Thanks to