Measure Peak power

Is there any way to get IotaWatt to report peak power for a channel? Either in addition to the current values or instead of?

IoTaWatt can report average power at five second intervals for the past year, and average power at one minute for up to ten years. So the peak five second average power for any timeframe over the past year is in there.

The problem is getting it out. The IoTaWatt datalog is good at delivering up to 1,000 or so datapoints per query, but has no analytic engine. The best way to get the maximum five second average would be to upload the data to influxDB and simply use the “max” value function in an influx query.