There is one major problem and very good reason why I always want to use Rain as sum.
Think about what happens when your station is offline for a short while. Temperature - not a big deal Humidity - not a big deal ... just small gaps Rain - major issue because the totals are not going to add up. With the other parameters we use averages, so it doesnt matter so much, but wih rain it has to be cumulative value so that even when there is a gap, it will still calculate the overall total correctly. On Friday, March 17, 2017 at 12:13:20 PM UTC+1, Jachym Brzezina wrote: > > Luc we certanily can add things to the api, but only as long as it does > not require any additional MySQL queries > > On Friday, March 17, 2017 at 12:07:47 PM UTC+1, Luc Heijst wrote: >> >> Well, I think I found a solution. Let meteotemplate do the aggregation of >> 'rain_data_this_period' to 'rain_total_since_midnight'. >> >> >> 1. Dump the complete mysql or sqlite database with the standard >> commands >> 2. Import this dump file in meteotemplate and choose option >> 'aggregate rain' *** >> >> *** This option currently doesn't exist; I will try to implement it and >> send it to Jachym for evaluation... >> >> Luc >> > -- 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.