Tom Whilst I agree with what you are saying there are also occasions where the problem may be, for example, with a router which requires rebooting. Whilst weewx will keep merrily reporting the upload failure(s) in the log WU also* used* to helpfully send an email when the station had not reported for two hours. These emails have now stopped. I often find the issue on the next day only because I run wunderfixer twice a day and also use logwatch. There is a potential need for having an inbuilt failure alert system within weewx for sending an advisory email in the event of upload failures for two or more hours instead of just logging the error as currently happens. Food for thought perhaps??
On Monday, 11 March 2019 15:25:56 UTC+2, Thomas Keffer wrote: > > John, > > What kind of weather station? Most of the drivers either use a timeout, or > a separate thread to detect an unresponsive station. It would help if we > knew what kind of station you have. > > On Mon, Mar 11, 2019 at 3:46 AM Liz <[email protected] <javascript:>> > wrote: > >> I've set up a cron job looking for failure, and it is to restart weeWx if >> necessary. I'm not sure if it has been triggered, but occasionally the >> Davis stops talking to the USB bus, and a restart of weeWx helps. >> Liz >> > > I really discourage this approach. WeeWX should not crash --- if it does, > it's a bug. I've had instances run for two years or more at a time. If your > Vantage stops talking to the bus, it should cause a timeout, and WeeWX will > recover. If this happens again, I would greatly appreciate seeing the log. > > I would much rather engineer out any glitch, rather than paper it over! > > -tk > -- 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.
