Amazing amount of work and detail went into WeeWX! It is hard to find what can not be adjusted.
I parse data from a small text only report I added. I think: $current.DateTime.Raw is adequate. No need for $latest in this context? $current will be the time report was generated. If too old... Na 8. listopada 2019. 04:19:23 CEST, Andrew Milner <[email protected]> wrote: >as i said if communication is lost no data is saved in the database - >so >you will not have n/a, null or anything else in the database. in fact >weewx will ultimately stop running and eventually do a restart. the >symptom will be shown by the time of the generated html file - which >will >be older than 5 minutes ago (or whatever archive period you have >specified). do my test and see what happens. > > > >On Monday, 7 October 2019 21:15:43 UTC+3, Pila wrote: >> >> I meant: my external program parses output. How will my program know >USB >> broke down? What value in my program should i test to find reset is >needed? >> Will N/A be saved? >> >> Na 7. listopada 2019. 15:26:17 CEST, Andrew Milner ><[email protected] >> <javascript:>> wrote: >>> >>> the driver will log an error if communication with the fine offset >is >>> lost, and does not continue to store data in the database until >>> communication is restored. >>> >>> >>> >>> >>> >>> On Monday, 7 October 2019 16:19:19 UTC+3, Pila wrote: >>>> >>>> I export InTemp to check if my USB connection to the First Offset >>>> dropped dead. >>>> >>>> InTemp $current.inTemp.format(add_label=False) >>>> InTemp $current.inTemp.raw >>>> >>>> What will be produced in case of null data? What do I need to test? > >>>> >>>> In the first case, I expect N/A to mean USB connection is lost. I >am >>>> guessing N/A will not be in raw data. An empty field? >>>> >>>> So, probably the first line is a better choice for such purpose? >>>> >>>> > >-- >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/d568a3df-30af-4642-8337-7bbae390a8bf%40googlegroups.com. -- 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/85157583-D3D9-48D9-80FD-6805B629FEDE%40gmail.com.
