grahamwetzler / smart-meter-texas

Package to connect to and retrieve data from the unoffical Smart Meter Texas API
MIT License
12 stars 13 forks source link

Adding in 15 minute read-data for Surplus Generation #132

Closed johnavich closed 2 years ago

johnavich commented 2 years ago

This helps to solve getting surplus generation data from the smartmetertexas website. This is to help generate data for the Energy Dashboard in HA, but i need to add this into the offical repo first.

johnavich commented 2 years ago

Tests ran

goldbattle commented 2 years ago

Thanks again for the project and PR to allow tracking of the surplus. Were you going to make a PR to the home assistant repo? It seems to be pinned at version 0.4.7. https://github.com/home-assistant/core/blob/dev/homeassistant/components/smart_meter_texas/manifest.json#L6

johnavich commented 2 years ago

I've been trying to find a way to get this into the time series database, but there's no method to add historical data that I've been able to find. My python is severely lacking, and I don't have a lot of time to devote to remapping their timeseries healper functions.

goldbattle commented 2 years ago

If you use utility meter in home assistant this would do the compounding for you. https://www.home-assistant.io/integrations/utility_meter/