I'm confused. The key "historical_hour_avg" is not in weewx-xaggs. It can only do full days, not hours.
Is this something you wrote? On Wed, Jul 26, 2023 at 6:15 AM [email protected] <[email protected]> wrote: > I have in xagss thanks to Tom Keller who was the one who did the following: > > 'historical_hour_avg': "SELECT avg({obs_type}) FROM {table} " > "WHERE STRFTIME('%m-%d-%H', datetime, > 'unixepoch', 'localtime') " > "= '{month:02d}-{day:02d}-{hour:02d}'", > > to calculate the average historical temperature of that day at that time. > If I use day.outTemp.historical_hour_avg the hour it uses is 0:00 which is > not what I want. > If I use current.outTemp.historical_hour_avg it does nothing. It doesn't > show an error or give any results. > How can I pass the current time to xagss and why doesn't it work with > $current? > > -- > 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/8ab23a4c-d49b-4a0e-9570-6fd2f6212f4bn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/8ab23a4c-d49b-4a0e-9570-6fd2f6212f4bn%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/CAPq0zECkRcHpOwcEDL1%2BAFg84apiMwMxPer%3DteoYpKvAOSBM%2BQ%40mail.gmail.com.
