You pretty much have it right. $current is the archive record produced by the NEW_ARCHIVE_RECORD event. $latest is the last archive record in a particular database.
Usually they are the same, but if you are using a second database, they can, and usually do, differ. The label "N/A" is used by the Standard Skin to indicate a Python None value. This usually means the sensor does not exist, but it can also mean that it is emitting a bad value. -tk On Tue, Jul 4, 2017 at 2:44 PM, wysiwyg <[email protected]> wrote: > Hi there ! > I have a couple of question regarding $current and $latest : > > > $current: when does a $current value become "N/A". > I suspect the timeout to be archive interval, but any confirmation ? > > $latest: I just discovered this new label: is there any timeout also on > this one of lastest is just the last received value, even if it's 2h, 3day > or 10years old ? > > Best 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]. > 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.
