Home energy monitor, with support for Rainforest Automation Raven USB radio, and exploring different plotting systems. Dweet works, now trying plotly.
This is scratching a personal itch. I have working code to stream Raven data to Xively, but I'm not happy with the current iOS and Android clients, I want a better way to share graphs/data, and I want to add solar data as well.
- Rainforest Automation Raven RFA-Z106 or compatible
- Compatible smart power meter
- See requirements.txt. I assume you're using virtualenv and Pip.
- FTDI USB driver - read here.
- Edit config.ini to match your setup - serial port, etc.
- The Raven device is serial over USB, so we read lines from it using PySerial
- Fugly code to chunk up XML text before feeding it into Python's ElementTree
- Convert to base 10, scale, convert timestamp
- Send to plotter
- Profit