Re: [weewx-user] current doesnt work with xargs function but with day it does

2023-07-27 Thread Tom Keffer
If you say so. I don't remember this. On Thu, Jul 27, 2023 at 5:25 AM enu...@gmail.com wrote: > no, it's from a solution you gave me here. An extension of historical_avg > to the hour level, the query is on the first message, but that's not what's > important. The bottom line is that if I use $d

Re: [weewx-user] current doesnt work with xargs function but with day it does

2023-07-27 Thread enu...@gmail.com
no, it's from a solution you gave me here. An extension of historical_avg to the hour level, the query is on the first message, but that's not what's important. The bottom line is that if I use $day.historical_hour_avg it works with the time 0:00 but if I use $current to get the current time it

Re: [weewx-user] current doesnt work with xargs function but with day it does

2023-07-26 Thread Tom Keffer
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 enu...@gmail.com wrote: > I have in xagss thanks to Tom Keller who was the one who did the following: > > 'historical_hour_avg':

[weewx-user] current doesnt work with xargs function but with day it does

2023-07-26 Thread enu...@gmail.com
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: