Whilst I do agree that the graph would be much nicer, with smaller time increments, the current increment of one hour match the understanding of energy usage measured in Wh, i.e. how much Watts have been consumed within one hour.
I agree, that is why it would be good to have it configureable. The main reason why I think users would benefit would be to better understand their usage similar to how more and more energy retailers charge demand charges during peak times.
Infact there are even energy retailers in Australia (like Amber or Local Volts)
that give consumers access to the real-time spot price, which is the 5 min price of electricity based on real supply and demand.
The unit “Wh” (Watt-hour) is a measurement of energy, and it can be used regardless of the time interval being measured. What matters is the amount of power consumed over that period, not the length of the period itself.
Nah it’s not that. The 5 minute data can store Wh values but they are discarded after the purge keep days interval to keep the database size down. Only the one hour data is kept forever. Which is a lot less, 24 values per day.
Yes, I understand from the data point of view, but even just in the last 7 days would be good. And then it can get rid of the data at the end of the week or something.
It could also mean you can see how much energy you’ve used in the last 30 mins instead of having to wait until the end of the hour. For example in my screenshot taken at approx. 11:15pm I could see how much energy I’ve used in this hour so far.
You’re right that the statistics update once an hour, but my point is that with 5-minute increments, the dashboard could still give a much more accurate estimate of energy consumption during the current hour. Even if the final statistics are calculated at the end of the hour, the system can sum up the energy used in 5-minute chunks and display a real-time estimate. This way, a user can see their energy consumption in near real-time and get a better sense of how much they’ve used in the current hour, rather than having to wait for the full hourly calculation
Clearly there is a need and demand for this type of functionality. In Australia, and increasingly more places in the world, the wholesale market energy price is determined in five minute increments:
To accurately calculate this price of energy usage/production in a wholesale energy plan, HA needs to be able to at least offer customizable data logging increments.
I see the reason to limit data logging, however, the resources added logging frequency uses should be up to the discretion of the system owner.