Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.3 KB

README.md

File metadata and controls

25 lines (13 loc) · 1.3 KB

Raven

This is a 2-part system for capturing and displaying electrical power consumption data from my house. I have an SDG&E 'smart' meter and a Raven Zigbee USB radio for hardware. This code has a USB/serial listener that saves data to a SQLite database and a Flask/D3.js front end that simply display today's and yesterdays' usage.

Pretty simple. There are three canned visualizations that cover my needs. A gauge that updates (using the js setInterval timer) every five seconds:

screenshot

A graph of today's data, decimate to plot one hundred data points, plus a top line about the latest update:

screenshot

Lastly, a display of today versus yesterday, again decimated down to 100 points per day:

screenshot

Way more is possible, of course, but for now those are self-hosted, reliable and suffice.

Setup and install

Unfortunately, it appears that you can't buy the Raven radio any more, so that rather blocks development. Open an issue if that changes and I'll take the time to document it.

Alternatives

This SDR project looks promising.