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 <andrew....@gmail.com 
> <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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d568a3df-30af-4642-8337-7bbae390a8bf%40googlegroups.com.

Reply via email to