Using my existing Python code for logging motion to Cosm\Xiviely, in one night, I could easily set it up to log the RPi power usage to the cloud. Pretty freaking sweet, right!? (My wife popped into our home office to check if I was okay as I was using a lot of !!!.)
Below you'll see the embedded live graphs of the RPi running. Currently it is updated every 20 secs but this image is rendered only on page load.
Here is the link to the live data on xiviely
https://xively.com/feeds/894130969
Code: https://github.com/FriedCircuits/RPi_Status
Just remember to enter your API and Feed ID. Also chmod +x rpi_status.py. Makes it easier to run.
Not sure why I didn't think of this sooner!
No comments:
Post a Comment