ha-emporia-vue icon indicating copy to clipboard operation
ha-emporia-vue copied to clipboard

Past data

Open tmbur opened this issue 2 years ago • 1 comments

Is there a way to import all past data for a one time import?

I'm using InfluxDB. I saw a mention on vuegraf's integration but never got it to work. I think this integration just does realtime updates. If I'm wrong, let me know how I can get all the past data into my database. If it's not possible with this integration, maybe there could be an enhancement :)

tmbur avatar Aug 01 '23 04:08 tmbur

I would normally say that there isn't a way to do it via this integration, but the Opower integration added in the latest Home Assistant release seems to do something similar where it pulls historical data into statistics https://www.home-assistant.io/integrations/opower#energy

If you're just trying to get data into InfluxDB and you're not using Home Assistant, your best bet would be to use the Python library directly and from there you can get at whatever data you want and put it wherever. That's in this other repo that I also maintain https://github.com/magico13/PyEmVue. It's possible there are some other projects that are built on that library for doing what you're trying to do.

magico13 avatar Aug 03 '23 14:08 magico13