Closed Womblue closed 1 month ago
Converted to draft for the moment, I'm going to do some work on the manual data entry page because I think the timestamps aren't being read properly
If the entires are submitted out of time order we get this mess
I'm not sure if it's possible that would happen without a user fiddling about with the payload file (like I just did) but it shouldn't be too difficult to sort reports by date before plotting so I'll fix that now
I think it's not out of the question that entries could be added in the wrong order - e.g. if you had a node which automatically ran carbon send
every day, and you later discovered that it lost internet connection for a few days, you might want to manually upload the payload file for the missing days at a later date.
This small PR fixes a long-standing issue in which devices with pre-defined instance types were computing all loads as 100% load. It also introduces some numbers for converting carbon into some fun user-friendly units. Take the carbon usage (in kg) and multiply it by any of the given values to convert it to the respective unit.