Detect Maximum and send max value

Hi guys!
I have a counter which resets somewhere between 2 and 3 a.m. but never the exact same time (router traffic)
I would like to find the maximum and as soon the value resets send the max value of the day via telegram.
How can I do that?
With an alert? And Derive function?
Unfortunately I am a REAL newbie….

Greetz
Duffy6

Hi @duffy6 ,

Let’s set aside your strategy here and allow me to ask: what are your intentions? What are you hoping to ultimately achieve, and why? I think there might be an easier way.

Also, what is this counter that is resetting? Tell us more about your setup here