How to display time of max value of a feed?

Is there a way using Input processing or perhaps a widget to identify the monthly maximum value of an Input? And is there a way to determine the date-time that this maximum value occurred? My Input is power demand (kW) from the utility company and I’d like to display both the max power demand value of the monthly billing cycle and the time it occurred on a dashboard.

Hello @sroof not at the moment Im afraid, but I would like to make it possible to do more of this kind of thing, perhaps also be able to fetch the average for a particular period and easier API endpoints to fetch kWh today, this week, month etc. I will keep your request in mind

I’ve added a github issue to track this feature request here API end point and dashboard widget to show max/min value in a given period · Issue #1675 · emoncms/emoncms · GitHub