FelixKa
(Felix Kaechele)
January 20, 2023, 10:13pm
22
Luck in which regard? I found the Green Button Data contains no information I can’t already get in the CSV exports which is why I didn’t bother implementing it in my script. I find the Green Button XML Schema convoluted.
BTW I’ve been tracking this feature request here: Import old energy readings for use in energy dashboard
If there happens to be any movement on that I’m happy to look into implementing this proper.
1 Like
I haven’t used this but I do hope to one day pull the csv from my utility and import it into HA. Hopefully this will help you
After a lot of research, I managed to implement an integration to import long term statistics from a file like csv or tsv (I did not find any existing integration doing this).
This custom integration offers a service with some parameters, the most important one being the file name containing the historical data.
In this way, you can easily import historical statistic data into a running HA instance, without the need to be familiar with SQL.
You can find it here: GitHub - klausj1/homeassistant…