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/CAPq0zEDwJv%3DS1eav8dw7GHO_RV1Pk2cj4vxY%2B6SKP%2B5%2BQkp1qQ%40mail.gmail.com.

Reply via email to