…almost. I’ve mentioned before how I’ve been reading my electricity and gas meters every four weeks or so, which gives a rough approximation of how much we’re consuming in our house.
I’ve got my Current Cost meter up and running with Dale Lane‘s Python app. This was ever-so-slightly fiddly, so I thought I’d add my voice to those already out there with some step-by-step instructions for OS X users.
- Get a Current Cost meter
- Order the USB serial lead
- Install the drivers for said lead – this creates a new device
- Install the Apple Developer Tools
- Download the Python source for Dale’s app
- Follow the prerequisite list
- Install MacPorts
- Rebuild SQLite (run sudo port install sqlite3 +loadable_extensions from an XTerm)
- Export the DYLD_LIBRARY_PATH (for me this was export DYLD_LIBRARY_PATH=/opt/local/lib)
- Run the app – python currentcost.py
Not too bad, and you should get a nice pretty graph, like so:
Next up, I’m going to be taking the real-time data into a database and trying my own bit of graphing.