Hi,
I have a sensor from DSMR that gives me the total energy consumption. The value of this goes up all the time (as you consume more over time)
I want to be able to calculate how much energy i have consumed today.
I thought maybe it is possible to select the latest data point just before midnight and subtract this from the current value, as such i would get the delta from today, but i have no idea how to accomplish this.
Any suggestions?