Thanks, based on this and one other issue I am still not sure that I have 
the correct logic when handling lost contact. I will raise an issue to pull 
this together and work through 'lost contact' logic.

Gary

On Sunday, 23 August 2020 at 15:02:14 UTC+10 [email protected] wrote:

> had a power outage for several hours this morning and UPS #1 with server 
> (hosting Gw1000Service) lasted the period but UPS #2 with gw1000 device and 
> internet link failed (short by only 17 minutes!), with server regularly and 
> properly re-trying them. when power restored, intenet link and gw1000 came 
> up but Gw1000Service stuttered and stopped
>
> unfortunately, i had only debug==1 as i am in monitoring mode not testing 
> mode...
>
> log weewx_1.txt: shows UPS #2 exhausted at 12:37, so uploads fail and 
> Gw1000Service says it is attempting to re-discover
>
> log weewx_2.txt: shows UPS #2 up at 12:50, uploads start succeeding, 
> Gw1000Service discovers gw1000, then couple seconds later it reports ‘got 
> no live data’ then ‘Gw1000Collector thread terminated’ and no more heard 
> from Gw1000Service…
>
> at 13:40 i sent HUP to weewxd, all the services reloaded and rain happily 
> (Gw1000Service included)
>
> my *guess* is that gw1000 was successfully re-discovered but race 
> condition on first poll for data left empty record that was interpreted as 
> asking for shutdown
>

-- 
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/42253cb8-6da0-4dcc-a760-22acf157ea45n%40googlegroups.com.

Reply via email to