I made a tiny hack to the rawdata script, to display a delta between min and max readings, which I thought I’d share as it may be of use to others. Hopefully this is the right place for this? Please forgive me if it’s not!
One of the things I sometimes like to know is how many kWh I’ve either drawn from grid, or produced, or fed into my immersion heater “so far today”. The bargraph vis script doesn’t display ‘the day so far’ as its final column, so what I’ve tended to do is fire up the ‘rawdata’ and then view the day from midnight onwards. This would then display below the graph, a value for Mean, Min, Max etc. But not the difference from min to max (i.e. how much produced so far today). I’ve added an extra line here that calculates the delta.
It only required a tiny modification to one script, and, at least for me, it saves me doing mental arithmetic each time!
The modification is to the script is in two places :
And also :
Hopefully this will be of use to some others