So I have PGE SmartMeter and I like playing with data. However I didn't really want to jump through 37 hoops to see the data on PG&E's website. So I made this.
While making this library I discovered that PG&E doesn't even manage the software for the energy reporting. It's all done by energyguide.com. Not terribly useful but an interesting piece of trivia.
- ruby >= 1.8.6
- librmagick-ruby
git clone git://github.com/mcolyer/smartermeter.git
cd smartermeter
bundle install
bundle exec ruby bin/run.rb USERNAME PASSWORD (MM/DD/YYYY)
(This should print out the CSV data from yesterday)
-
How much lag is there?
It'll show you the last full day's worth of data. The PGE website claims that data becomes available around 3-10pm on the following day.
-
How long is data saved for?
I don't know, if you know tell me.
-
How can I help?
Make sure it works, make cool things with it or send me git pull requests.