I am busy writing a new driver to capture electricity data from a restful service using POST requests - based heavily on the Interceptor driver.
I have the whole think working correctly except for the incremental energy (incEnergy) observation. Using software record generation, weewx calculates the incEnergy observation record using the average of the loops over the archive period, but it should add all the loop increments to archive the sum of all the loops - similar to the way that it handles rain. What do I need to do force the sum of loops for archive record, rather than the default average of the loops? Thanks in advance for any insight. Louis
