HandyHat / ha-hildebrandglow-dcc

Home Assistant integration for UK SMETS (Smart) meters pulling data from the DCC via the Hildebrand Glow API
MIT License
229 stars 32 forks source link

Pull through historical data #254

Open potchin opened 1 year ago

potchin commented 1 year ago

Related to #188

It seems that it is now possible to backfill data in home assistant, according to the comments in this thread. This would be really useful and could help with occasional gaps in the data caused by connectivity problems.

ColinRobbins commented 1 year ago

That approach seems to use Python code outside of HA? Not sure this integration could do it.

max246 commented 1 year ago

Potentially it can be add a script to run "import" of the last 12 months. Maybe I can tinker up something and let you know.

ronnyTodgers commented 1 year ago

That would be amazing if it could - I've got 18 months or so on data up there - I can see it via the Loop app, Hildebrand seems to only go back 12 months and may be a limit they apply in their API, but being able to run a script to grab the old data easily on setup would be brilliant