Re: [weewx-user] Search for a value of X hours ago

2021-05-06 Thread Blaise Cacramp
Oui, théoriquement 21600 secondes https://weewx.com/docs/customizing.htm#Time_periods « delta_t is the largest time difference (in seconds) between the time specified and a timestamp of a record in the database that will be returned. By default, it is zero, which means there must be an exact

Re: [weewx-user] Search for a value of X hours ago

2021-05-05 Thread gjr80
- 1800 or - 21600 ? :) Gary On Wednesday, 5 May 2021 at 23:59:22 UTC+10 tke...@gmail.com wrote: > The temperature 6 hours ago was: > $current(timestamp=$current.dateTime.raw - 1800).outTemp > > On Wed, May 5, 2021 at 6:14 AM P C wrote: > >> Hello, >> I would like to seek in the database a

Re: [weewx-user] Search for a value of X hours ago

2021-05-05 Thread P C
Merci Tom, c'est plus clair avec un exemple ! Le mercredi 5 mai 2021 à 15:59:22 UTC+2, tke...@gmail.com a écrit : > The temperature 6 hours ago was: > $current(timestamp=$current.dateTime.raw - 1800).outTemp > > On Wed, May 5, 2021 at 6:14 AM P C wrote: > >> Hello, >> I would like to seek in

Re: [weewx-user] Search for a value of X hours ago

2021-05-05 Thread Tom Keffer
The temperature 6 hours ago was: $current(timestamp=$current.dateTime.raw - 1800).outTemp On Wed, May 5, 2021 at 6:14 AM P C wrote: > Hello, > I would like to seek in the database a value of 6 hours ago. > I guess it's the next tag that he will use, > > *$current($timestamp=some_time, >

[weewx-user] Search for a value of X hours ago

2021-05-05 Thread P C
Hello, I would like to seek in the database a value of 6 hours ago. I guess it's the next tag that he will use, *$current($timestamp=some_time, $max_delta=delta_t,$data_binding=binding_name).obstype[.optional_unit_conversion][.optional_rounding][.optional_formatting]* But it lacks examples so