As suspected. You are getting bitten by issue #635 <https://github.com/weewx/weewx/issues/635>. This can happen when there is no data in an archive interval.
The fix is to upgrade to V4.4. -tk On Sat, Feb 13, 2021 at 10:07 AM [email protected] < [email protected]> wrote: > Hi Tom and thank you for your answer. To your questions: > > 1. 4.3.0 > > 2. > 2.1 > 1566079200|| > 1610319600|2021-01-11 06:02:28|12.38 > 1610665200|2021-01-15 08:20:05|12.38 > 1548025200|2019-01-21 06:47:24|14.54 > 1549234800|2019-02-04 07:18:20|14.9 > > 2.2 > 1541936700|2018-11-11 12:45:00| > 1541937600|2018-11-11 13:00:00| > 1542195900|2018-11-14 12:45:00| > 1542196800|2018-11-14 13:00:00| > 1542200400|2018-11-14 14:00:00| > > 2.3 > 1610694000|2021-01-15 08:00:00|12.605 > 1610695800|2021-01-15 08:30:00|12.6060465116279 > 1610343000|2021-01-11 06:30:00|12.6846153846154 > 1610341200|2021-01-11 06:00:00|12.9183928571429 > 1610692200|2021-01-15 07:30:00|13.0592857142857 > > fyi: I had to install sqlite3. > To give you a little more background: First, the weather station was > connected to a Raspberry Pi 3, now I moved to a vm on my unraid host. On > the Raspberry Pi, which has now nothing to do, I switched from Fineoffset > USB to Simulator to make it sort of test instance for weewx. On this Pi, > the behaviour reported above occurs. If everything works, I will transfer > it to the vm. > > Florian > > > [email protected] schrieb am Samstag, 13. Februar 2021 um 17:30:29 UTC+1: > >> 1. What version of WeeWX? >> >> 2. Let's see what's in your database. If you used a package installer, >> your database is likely located at /var/lib/weewx/weewx.sdb. If you did >> a setup.py install, it's at /home/weewx/archive/weewx.sdb. Assuming the >> former, >> >> *sqlite3 /var/lib/weewx/weewx.sdb* >> sqlite> *select dateTime, datetime(mintime, 'unixepoch','localtime'), >> min from archive_day_outTemp order by min asc limit 5;* >> sqlite> *select dateTime, datetime(dateTime, 'unixepoch','localtime'), >> outTemp from archive order by outTemp asc limit 5;* >> sqlite> *select dateTime, datetime(dateTime, 'unixepoch','localtime'), >> outTemp from archive where outTemp is not null order by outTemp asc limit >> 5;* >> sqlite> *.quit* >> >> This will print out the five days with the lowest temperatures and their >> times using 3 different methods. Post the results. >> >> -tk >> >> On Sat, Feb 13, 2021 at 6:38 AM [email protected] < >> [email protected]> wrote: >> >>> Hi guys, >>> >>> I added the stats for alltime and seven days, but unfortunately for the >>> alltime low values, there's no date displayed. For example: Lowest outside >>> Temperature -10,9 °C N/A. So there is no date and time displayed, only N/A. >>> It is only for low values, the other ones are shown correctly. It is also >>> only for alltime, for seven day everything is as expected. >>> >>> I changed this (week--> alltime) in stats.py. >>> >>> # First, create TimespanBinder object for all time. This one is easy >>> # because the object timespan already holds all valid times to be >>> # used in the report. >>> all_stats = TimespanBinder(timespan, >>> db_lookup, >>> context='alltime', >>> formatter=self.generator.formatter, >>> converter=self.generator.converter, >>> skin_dict=self.generator.skin_dict) >>> # 4 >>> >>> Afterwards I added alltime = %x %X to weewx.conf, restarted weewx, but >>> that didn't help. >>> >>> Can someone help me with this? >>> >>> Thank you very much! >>> >>> Florian >>> >>> -- >>> 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]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/7b215826-5b7b-4cb7-b5ba-82c1ccc3e2fdn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/7b215826-5b7b-4cb7-b5ba-82c1ccc3e2fdn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/e6be1c0b-8b40-4605-9cd8-5bda7c4469c1n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/e6be1c0b-8b40-4605-9cd8-5bda7c4469c1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAAWEi3QmM2L%3D2A7Rgan7NjSjgwf9_PsYQS4tSDudgBMg%40mail.gmail.com.
