I will be working a project to integrate a device with the Google PowerMeter service. It is going to involve a lot of Python and learning HTTPS. I have worked with some HTTP before with SparkFun’s Kegerator. Even then, I had not even scratched the surface of HTTP.
I will continue to post about things I learn about throughout the project, so check back here often.
2 Comments
regarding the powermeter project and the python scripts, will you version of python be the v3.x series or v2.x ?
curious as i’ve installed v3.1 and there are the backward compat issues with the ladyada tweet-a-watt scripts.
sure it would be simple just to install v.2.6 but it looks like the python org folks are moving away from that design.
tia
First of all, welcome to my blog! You are the first to comment!
Tweet-a-Watt now posts GooglePowerMeter information. I am still very new to Python, so I have really only added a few lines of code to Adafruit’s wattcher.py script. I figured out what Google’s sample code is sending to Google, so all I had to do was take variables that were in Adafruit’s wattcher.py and pass them to the Google code. Unfortunately, the sample Google code also seems to have some deprecated parts. So, in short, the code runs in Python 2.6.