I have an Sensus (FlexNet) Icon smart-meter for my electricity. I currently use an IR sensor to watch the consumption (something like http://www.roosterteeth.com/episode/rwby-volume-5-5-qoiljjj32e, but built with MySensors), but I wanted to correlate that against my power bill.
I was unable to find the frequency info for the FlexNet meters used in my area, and I believe the FlexNet data is encrypted (I haven’t seen anyone able to read from the RF on these meters). However, my utility company does provide the data in a downloadable form using the GreenButton initiative. I haven’t found any data on how to apply for third-party integration, but GreenButton does provide a customer-download option to manually retrieve data. Unfortunately, this button is hidden deep within my utility’s Ajax driven web-site. So I wrote a PhantomJS driven python module to login, and grab the relevant XML file. After all that work, I found out that data is only available once a day, and ia given day’s data sn’t available until 9PM the following day. So I am not sure there is any value in actually integrating such old data with HomeAssistant after all. Instead I’m currently just directly inserting it into my influxdb so I can graph it with Grafana.
The module is currently limited to my provider (Portland General Electric) but if there is interest, it should be pretty easy to extend to any other provider with GreenButton data access.
Is there any use for providing historical data (rather than live data) to HomeAssistant?
I had a lot of difficulty searching the web for a GreenButton interface, so I thought I’d post my progress here in case anyone finds it useful.
My python module lives here: