Vlad, in my case I use hardware record generation so archive records only 
arrive when the station produces one. An achive record must be received 
before the report thread only kicks off, so in my case if my station went 
away no archive records would be recieved, there woudl be no reports and 
the loss of connectivity would be detected. When using software record 
generation the overall effect is the same but the mechanism is slightly 
different. When using software record generation archive records are 
constructed by weewx based on the loop packets received from the station. 
At the end of every archive period weewx generates an archive record but 
this can only occur (1) after a loop packet is received and (2) if the end 
of the archive period has been reached. As far as I know all of the weewx 
drivers (other than the simulator) only emit loop packets if they are 
talking to the connected station, they don't just emit empty loop packets. 
So in the absence of any loop packets weewx will just sit and wait for a 
loop packet from the driver, if no loop packets come in then weewx does not 
generate an archive record and no reports are generated. So again the age 
of a report report generated file would indicate whether or not weewx has 
lost communications with the station.

Of course, intermitetnt loss would not be picked up by this method unless 
the outage was long enough to be picked up.

Gary

On Monday, 8 August 2016 21:15:12 UTC+10, Vlad Rafeev wrote:
>
> Gary, if station is down, but weewx is up? I expect it will continue to 
> generate files with empty data, don't it? So this case will not be detected.
>>
>>

-- 
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.

Reply via email to