HandyHat / ha-hildebrandglow-dcc

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

What happens at year end for home assistant energy integration #209

Closed genestealer closed 2 years ago

genestealer commented 2 years ago

Sorry I did look through the previous issues and couldn't find an answer.

Is the consumption (year) a calendar year from January to December, resetting on 1 January, or a rolling 12 month period?

  1. If it's from January to December then, what sort of behaviour are expecting to see in the home assistant energy integration on 1 January? I was under the impression home assistant uses the provided state as a long-term statistic sensor, which means if it suddenly drops to 0 I'm not sure how it will handle that.

  2. If it's a rolling 12 months then I do not see how the consumption can be accurately used.

Update: Apologies, I had a quick look and I realised that my own energy monitoring is based upon a per hour kWh sensor, which it seems to manage perfectly. However it still be good for someone to confirm what behaviour they saw on the 1st Jan?

Update 2: If it is the case that it doesn't matter that the sensor resets at the end of the year, then why is there any advantage over using the 'yearly consumption' vs. the 'daily consumption'.