I have a sensor with steadily increasing values, for examples values for power comsumption. I want to send daily or weekly values to influxdb. But when I use the utility meter with a daily cycle and send the data to influxdb, I get a stepped curve (stairs). What can I do to send only the last value of the day to influxdb? I can make a template sensor which is using the “last period” value, but then I get a shift of one day. So on sunday I get the saturday value. Or I could create a triggered template which copies the value at 23:59. Also not so nice. Any other ideas? Maybe the statistics integration?
No one with an idea or with the same problem?