Well, you can check what's in the database for the last hour. Adjust the path to the database as necessary.
*sqlite3 /var/lib/weewx/weewx.sdb* sqlite> *select datetime(dateTime,'unixepoch','localtime'),pm2_5 from archive where dateTime>=(select max(dateTime)-3600 from archive);* On Sat, Apr 10, 2021 at 5:50 AM [email protected] <[email protected]> wrote: > Hi, > > I am trying to improve my station sking with a proper AQI > computation/display. however when using $hour.pm2_5.has_data it is always > false. > > Data is stored in the pm2_5 column of weewx archive database. Gauges show > the current values, and history plot show prior data. > > Is there a setting I need to add somewhere so that hourly average can be > computed on this column as well? > > Regards, > > -- > 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/6110a7ae-2012-47b9-9ffe-0cc7c8c67837n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/6110a7ae-2012-47b9-9ffe-0cc7c8c67837n%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/CAPq0zECo%2Bdy%3D7mS0g-VXfJDGyW%2B%3D%3D_ioj2DuoOu5hJZm9k9zkw%40mail.gmail.com.
