Weewx 4.1.1 running on ubuntu 18.04 with a Vantage PRO station.
INFO __main__: Initializing weewx version 4.1.1
Using Python 2.7.17 (default, Jul 20 2020, 15:37:01) #012[GCC 7.5.0]
Platform Linux-4.15.0-112-generic-x86_64-with-Ubuntu-18.04-bionic
weewx.drivers.vantage: Driver version is 3.2.1
I waited for a long time for fiber to be installed in the neighborhood and
when it happened I knew there would be a few challenges due to the new
modem.
I documented all my firewall settings from the old router and after a bit
of twiddling was able to punch in the right setup on the new SMART/RG
SR516ac for all my needs.
Or so I thought, weewx would intermittently fail with a driver load error
*ERROR weewx.drivers.vantage: ip-read error: timed out*
and
*ERROR weewx.drivers.vantage: LOOP try #4; error: Expected 99 characters;
got zero instead*
and
*ERROR weewx.drivers.vantage: Socket error while opening port 22222 to
ethernet host 192.168.42.66.*
* CRITICAL __main__: Unable to load driver: [Errno 113] No route to host*
I had set that Vantage to a static IP address from the pool on the router.
So I upgraded to 4.1.1 just to see if there was any advantage there. It
reacted pretty much the same, unpredictable disconnects which required a
restart.
I rechecked my router setup, I had opened port 22 and so I added 22222.
That helped a little bit but I was still getting dropped.
I finally changed a couple of things in the weewx.conf:
# How long to wait before timing out a socket (FTP, HTTP) connection
# was 60
socket_timeout = 360
and
# How long to wait for a response from the station before giving up (in
# seconds; must be greater than 2) (was 10)
timeout = 100
With these two changes my setup doesn't lose its connection and keeps
trying to connect. I can see in the signal quality graphic on line that
there are some burps but it seems to recover well, currently up and running
over 8 days. I'm hopeful that this is it, and will continue to function
properly.
I also hope this might help others who can't maintain a good connection to
their Vantage PRO.
--
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/a9a50fa2-e14d-42af-902b-7f8288bfeb43o%40googlegroups.com.