app
app copied to clipboard
Runtime Detail lanes are fixed to widths in 5 minute increments
The screenshot shows 2 runtimes. The first section is 17mins and the second one looks larger, but is only actually 18mins. It is noticeable on a larger screen like a laptop/desktop monitor. I understand that the 5min interval from Ecobee is the standard way they track usage. So it appears this way because the 2nd runtime ran in the last few seconds of the 5 minute interval.
Possibilities
- Could the graph consider the runtime and plot accordingly ?
- temperature_profile.php uses the 5min interval as the delta start and end time. Perhaps that should be using true runtime to better calculate the statistics.
Made some minor improvements to this. I still have some testing to do as there are some edge cases that my change breaks.
Here's what it looks like for your example:
The current outstanding issue with this change is that multi-stage systems get broken up.
For example:
This
Turns into this
Which is inaccurate because it implies that the system was off between stages. This happens because the end of stage 1 is shifted to the left, and the beginning of stage 2 is shifted to the right.
One solution would be to rig the GUI to artificially shift things about. A second solution would be to enable the stage 1 graph any time stage 2 is active. Another solution is to alter the API to return the data in a different format that shows stage 1 on at the same time as stage 2, but that requires many changes to the frontend to fix all the calculations.
I think the best solution is the second, as that doesn't require any weird hacks, leaves the API alone, and would basically just be filling that blank space with the stage one color which would be the most accurate.
Thanks for the fix! Sounds a little tricky with the 2 stage system. I'd agree don't do any weird hacks
I just want to say this issue is the worst. :)
I still plan on fixing it, though...