OK, I found the issue. My tests simulate running weewx and processing packets. The issue was at startup where I use daily summaries to create accumulators for day, week, year and rainyear. That code was missing the first daily summary of each of these periods.
I’ve fixed this issue in v2.7. Please give it a try. >> On Aug 11, 2020, at 9:41 AM, John Kline <j...@johnkline.com> wrote: > > It does not look like you have installed from head on github. > > Go to this page: > > https://github.com/chaunceygardiner/weewx-loopdata > > Click “Code” and then click download zip. Install that zip file. > > When you do that, after time_delta in the log, you should see week_start and > rainyear_start. > >>> On Aug 11, 2020, at 9:37 AM, Geni 0815 <geni0815.0...@gmail.com> wrote: >> >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: tmpname >> : /tmp/LoopDataz7h4ntn0 >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: enable >> : 0 >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: remote_server >> : www.foobar.com >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: remote_port >> : None >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: remote_user >> : root >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: remote_dir >> Af: /home/weewx/loop-data >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: compress >> : 0 >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: log_success >> : 0 >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: ssh_options >> : -o ConnectTimeout=1 >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: timeout >> : 1 >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: >> skip_if_older_than : 3 >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: time_delta >> : 10800 >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: trend_obstypes >> : ['barometer', 'outTemp'] >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: >> rainyear_obstypes : ['outTemp', 'wind', 'windSpeed', 'windDir', 'windGust', >> 'windGustDir', 'rain'] >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: year_obstypes >> : ['outTemp', 'wind', 'windSpeed', 'windDir', 'windGust', 'windGustDir', >> 'rain'] >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: month_obstypes >> : ['wind', 'windSpeed', 'windDir', 'windGust', 'windGustDir', 'rain', >> 'outTemp'] >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: week_obstypes >> : ['wind', 'windSpeed', 'windDir', 'windGust', 'windGustDir', 'rain', >> 'outTemp'] >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: day_obstypes >> : ['windGust', 'wind', 'windSpeed', 'windDir', 'windGustDir', 'rain', >> 'outTemp'] >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: >> ten_min_obstypes : ['windGust', 'wind', 'windSpeed', 'windDir', >> 'windGustDir', 'rain', 'outTemp'] >> Aug 11 18:05:41 Wetter-Raspi weewx[1211] INFO user.loopdata: >> baro_trend_descs : {<BarometerTrend.RISING_VERY_RAPIDLY: 1>: 'Rising Very >> Rapidly', <BarometerTrend.RISING_QUICKLY: 2>: 'Rising >> >> Am Dienstag, 11. August 2020 18:12:01 UTC+2 schrieb John Kline: >>> >>> OK, before we look at the daily summaries in your database, please install >>> loopdata at head. I’ve added logging for week_start and rainyear_start at >>> startup. Let’s make sure that the extension thinks week_start is 0. >>> Install the the extension. Restart weewx and then paste in the lines from >>> the log. They should look something like this: >>> Aug 11 09:09:14 ella weewx[5404] INFO user.loopdata: week_start : 0 >>> Aug 11 09:09:14 ella weewx[5404] INFO user.loopdata: rainyear_start : 1 >>> >>>>> On Aug 11, 2020, at 8:49 AM, geni08...@gmail.com <geni08...@gmail.com> >>>>> wrote: >>>> week_start = 0 >>>> >>>> jo...@johnkline.com schrieb am Dienstag, 11. August 2020 um 16:08:18 UTC+2: >>>>> When does your week start? >>>>> >>>>> You should see something like this is weewx.conf: >>>>> # Start of week (0=Monday, 6=Sunday) >>>>> week_start = 6 >>>>> >>>>> What value do you have for week_start? >>>>> >>>>>>> On Aug 11, 2020, at 3:20 AM, geni08...@gmail.com <geni08...@gmail.com> >>>>>>> wrote: >>>>>> I found a syntax. >>>>> >>>>>> >>>>>> Question: for example "Hi Out Temp, week", shouldn't it be the highest >>>>>> temp since Monday? But this is not true for me! Why? >>>>>> >>>>>> geni08...@gmail.com schrieb am Dienstag, 11. August 2020 um 10:57:03 >>>>>> UTC+2: >>>>>>> @John: I installed version 2.6. >>>>>>> how do i get the values: >>>>>>> <td id='$(archive[1]).outTemp.max.formatted' >>>>>>> style='white-space:pre;'></td> >>>>>>> <td id='$(archive[1]).outTemp.min.formatted' >>>>>>> style='white-space:pre;'></td> >>>>>>> <td id='$(archive[1]).wind.rms.formatted' >>>>>>> style='white-space:pre;'></td> >>>>>>> <td id='$(archive[1]).windGust.max.formatted' >>>>>>> style='white-space:pre;'></td> >>>>>>> <td id='$(archive[1]).rain.sum.formatted' >>>>>>> style='white-space:pre;'></td> >>>>> >>>>>> -- >>>>>> 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+...@googlegroups.com. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/282de9d8-ff84-4c29-b302-2893aded408fn%40googlegroups.com. >>>> >>>> -- >>>> 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...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/40bdd07b-16f1-4413-b532-05222b4a8b5en%40googlegroups.com. >> >> -- >> 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. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/19d7ca5f-76a7-4df4-9249-d5931cd15f6eo%40googlegroups.com. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/04C7A949-CD3D-475C-A7AB-DE2362412343%40johnkline.com.