If foo is the observation type, then $current.foo.max is the max loop value seen during the archive period.
Or, are you looking to access it in a Python program? -tk On Sat, Oct 15, 2016 at 3:24 PM, Andrew Potter <p...@internode.on.net> wrote: > Hi > I'm hoping to extract and log the maximum value of a sensor from any given > loop (instead of the average by default). > Is there a way to do this? (I've had a look at accum.py but my Python > obviously isn't up to scratch to figure it out). > I'm comfortable with needing to add to extensions.py but looking for the > appropriate accumulator to use. > Thanks in advance > Andrew > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.