PG&E energy monitoring with homeassistant

If you have a pg&e smart meter and homeassistant you can grab this guy off amazon and just call pg&e at 1-877-743-4357 with your account number handy.  Give them the MAC address and the installation code from the back of the unit and they can hook you right up.  

Installing in homeassistant is a little trickier, I was able to get it to work by following the directions on this github page

1: copy the files to /custom_components/rainforest
2: add "version": "0.2.1" to manifest.json
3: go back to configuration.yaml and add

sensor:
platform: rainforestport: '/dev/ttyACM1'


Your device might be located on another ttyACM number, my conbee ii is at 0.  You can check this in HA going to supervisor - system - and clicking the three dots in the lower right corner of host then selecting hardware.  Look through this list for the device's address.

4: after a restart I had my new sensor and was able to add the data to a graph.  

Hope this helps!