JPHutchins / open-energy-view

View resource consumption trends, history, analysis, and insights.
https://www.openenergyview.com
Other
70 stars 11 forks source link

Home Assistant Integration #52

Open hufman opened 1 year ago

hufman commented 1 year ago

Your excellent OpenEnergyView project is one of the easiest ways to get programmatic access to PG&E data, especially once the gas meter support is added! PG&E's StreamMyData provides access to electricity readings (after the purchase of compatible hardware) but there seems to be no other access to the gas meter information.

It would be wonderful to have the cumulative readings available in HomeAssistant's energy dashboard (from this feature request thread).

JPHutchins commented 1 year ago

Thanks @hufman ! The reason I started OEV was to provide a bridge to HA but the scope and goal posts kept shifting. Some concerns were raised that HA wouldn't support "historical data" as it is presently designed. If you are interested in contributing here are some key areas:

I'll repeat this over and over to anyone that will listen:

PG&E allows the import of 4 years of energy usage data. HA tracks the on/off states of devices and stores the history. If HA allows the import of the historical energy usage data then there is a "math problem" that can assign power consumption values to every on/off smart device in a home. Every device that has an on/off state can have its real-time power consumption monitored without any extra sensors or plugs.