On Wednesday, March 13, 2019 at 2:19:30 AM UTC-5, jmviper wrote:
>
> Hi
>
> I've got weewx running through VVP IP/TCP connection in a local network 
> and works fine but sometimes (when there's a problem with the local router) 
> Weewx exits with Vantage: ip-read error: Timed out Unable to wake up 
> console. I see at that moment VVP and is still sending loops and the only 
> solution is restart VVP and Weewx.
> Some Weewx configuration to avoid such behaviour??
>
> Thanks
>

I am running weewx on a Raspberry Pi with a Vantage Pro 2, and I have 
recently switched from using a USB logger to using a WiFiLogger (which is a 
relatively new third party device which emulates a WeatherLinkIP, but has a 
number of additional features. I am not running VVP, but I have see the 
same intermittent (every 1-3 days) and unrecovered weewx crashes with 
Vantage IP-read errors that you describe. Restarting weewx manually was 
almost always successful (occasionally I have had to do it twice, for no 
obvious reason). I tried a number of different approaches to restarting 
weewx automatically without success, but I have now converted it to a 
systemd unit and added the appropriate commands to the unit file to restart 
it on failure, and this seems to have solved the problem (I still see 
occasional crashes, but systemd successfully restarts the daemon). I had to 
do a fair amount of spelunking to find a 'recipe' for converting weewx to a 
native systemd service, so let me know if you want to try this and I will 
write up the results of my research and post them here.

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