Thanks Gary, works great, but can I use the $last_rain tag say in my gauge-data.txt.tmpl file?
On Tuesday, 7 March 2017 18:28:47 UTC-5, gjr80 wrote: > > Whoops, forgot to add the link to the thread. It's here > <https://groups.google.com/d/topic/weewx-user/1vtUflRv5ys/discussion>. > > Gary > > On Wednesday, 8 March 2017 09:28:06 UTC+10, gjr80 wrote: >> >> This issue came up back in 2014. If you look at this thread you will see >> a SLE that I wrote to do this. It is a weeWX v2 SLE so not compatible with >> weeWX v3 though when the thread resurfaced in 2015 Vince put together a v3 >> compatible version. Alternatively, there is a v3 compatible version in the >> weeWX-WD code (file wdSearchX3.py I think) on bitbucket. >> >> Gary >> >> On Wednesday, 8 March 2017 06:51:17 UTC+10, Robert Mantel wrote: >>> >>> Ok, after posting this I had a feeling it would be something to this >>> effect. Thank you for the direction. >>> >>> On Tuesday, 7 March 2017 12:36:11 UTC-5, Tom Keffer wrote: >>>> >>>> Hello, Robert, >>>> >>>> I suspect the problem stems from a misunderstanding of what a tag like >>>> $day.rain.lasttime represents. It is the last *entry* in the database, >>>> not the last non-zero entry. If you want the last non-zero entry, you >>>> would >>>> have to write a search list extension. >>>> >>>> -tk >>>> >>>> On Tue, Mar 7, 2017 at 10:30 AM, Robert Mantel <[email protected]> >>>> wrote: >>>> >>>>> I'm trying to populate my Steelseries gauge with the correct time for >>>>> the last bucket tip (or last recorded value for rain), but for some >>>>> reason >>>>> it always returns the current time for this which I know is wrong. Does >>>>> $day.rain.lasttime work or am I using it incorrectly? >>>>> >>>>> -- >>>>> 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]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- 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]. For more options, visit https://groups.google.com/d/optout.
