I have a command line that extracts a value that shows the content of wood pellets in my silo. This value is a declining number.
I would like to calculate the used wood pellets the last two days, with use of this number.
I know i have to save the value every midnight, and extract that somehow from the value from the day before, but honestly I do not know where to begin.
Please help to get me in the right direction.