That fixed the problem. The strikes count seems to be reset every archive period. Is this the expected behavior? Is there an easy way to product a daily total or a rate/hr?
dateTime, lightningStrikes, lightningDistance 1492366200, 5, 4.45360824742268 1492365900, 6, 8 1492365600, 2, 8 1492365300, 3, 8.92307692307692 1492365000, 1, 16.0816326530612 1492364700, 0, 17 1492364400, 0, 17 1492364100, 1, 15.7142857142857 1492363800, 0, 8 On Sunday, April 16, 2017 at 11:08:54 AM UTC-4, mwall wrote: > > be sure that you set the right accumulator for any counters that you add > to the database schema. > > given the names you chose, in your weewx config file, do something like > this: > > [Accumulator] > [[lightningStrikes]] > extractor = sum > > this is for weewx 3.7 and later. pre-3.7 requires a line of python code > for each observation. > > m > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
