Any comments, anyone?
Is it worth dumping the 6540 for a 6510SER? My console is about 50 feet 
from the computer so that’s why I am using RS232.
On Sunday, April 4, 2021 at 11:20:18 AM UTC-4 [email protected] wrote:

> Hello,
> I'm running a VP2+ on Ubuntu and using a Davis #6540 RS232 Weatherlink 
> (streaming data logger for APRS) interface. This has been running 
> successfully since my move from wview about +/- 8 years or so. To avoid a 
> "WeeWxIOError: Max tries exceeded while getting LOOP data" I modified 
> vantage.py:
>
> # on the VP (somewhere around 220).
>             for _loop_packet in self.genDavisLoopPackets(2): [changed from 
> 200 in original version]
>                 yield _loop_packet
>
> When I first got this error, someone in the group suggested this change. 
> It worked for all earlier weewx versions and, so far, I've changed it at 
> each upgrade.
>
> This time, when I upgraded to 4.5.1 (setup.py), I got the usual loop data 
> problem. I then made the vantage.py modification as listed above (200 -> 
> 2).  Upon restarting 4.5.1, I continued to get the loop data problem even 
> with the modified vantage.py.
>
> I saw there was a slight modification of vantage.py from 4.4.x to 4.5.x. 
> Could this have caused the problem?
> "Fixed bug that prevented the Vantage driver from waiting before a wakeup 
> retry."
>
> Could I simply move my 4.4.0 version on vantage.py over to 4.5.1? Just 
> wanted to check before I started mixing things up. Thanks in advance for 
> any help.
>
> Bob (grattans.org/wx)
>
> weewx.log errors:
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.engine: Archive will use 
> data binding wx_binding
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.engine: Record generation 
> will be attempted in 'hardware'
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.engine: Using archive 
> interval of 900 seconds (specified by hardware)
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.restx: StationRegistry: 
> Station will be registered.
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.restx: Wunderground-PWS: 
> Data for station KVAASHLA4 will be posted
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.restx: PWSWeather: Data for 
> station N4MRV will be posted
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.restx: CWOP: Data for 
> station N4MRV-1 will be posted
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.restx: WOW: Data for 
> station 964806001 will be posted
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.restx: AWEKAS: Data will be 
> uploaded for user bgrattan
> Apr  3 17:42:10 n4mrv weewx[338554] INFO user.emoncms: service version is 
> 0.17
> Apr  3 17:42:10 n4mrv weewx[338554] INFO user.emoncms: node is 0
> Apr  3 17:42:10 n4mrv weewx[338554] INFO user.emoncms: Data will be 
> uploaded with token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXb634
> Apr  3 17:42:10 n4mrv weewx[338554] INFO __main__: Starting up weewx 
> version 4.5.1
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.engine: Clock error is 
> -0.14 seconds (positive is fast)
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.engine: Using binding 
> 'wx_binding' to database 'weewx.sdb'
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.manager: Starting backfill 
> of daily summaries
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.manager: Daily summaries up 
> to date
> Apr  3 17:42:10 n4mrv weewx[338554] INFO weewx.engine: Starting main 
> packet loop.
> Apr  3 17:42:20 n4mrv weewx[338554] ERROR weewx.drivers.vantage: LOOP try 
> #1; error: Expected to read 99 chars; got 0 inst
> ead
> Apr  3 17:42:25 n4mrv weewx[338554] ERROR weewx.drivers.vantage: LOOP try 
> #2; error: Expected to read 99 chars; got 0 inst
> ead
> Apr  3 17:42:30 n4mrv weewx[338554] ERROR weewx.drivers.vantage: LOOP try 
> #3; error: Expected to read 99 chars; got 0 inst
> ead
> Apr  3 17:42:35 n4mrv weewx[338554] ERROR weewx.drivers.vantage: LOOP try 
> #4; error: Expected to read 99 chars; got 0 inst
> ead
> Apr  3 17:42:35 n4mrv weewx[338554] ERROR weewx.drivers.vantage: LOOP max 
> tries (4) exceeded.
> Apr  3 17:42:35 n4mrv weewx[338554] INFO weewx.engine: Main loop exiting. 
> Shutting engine down.
> Apr  3 17:42:35 n4mrv weewx[338554] CRITICAL __main__: Caught 
> WeeWxIOError: Max tries exceeded while getting LOOP data.
> Apr  3 17:42:35 n4mrv weewx[338554] CRITICAL __main__:     ****  Waiting 
> 60 seconds then retrying...
> Apr  3 17:43:35 n4mrv weewx[338554] INFO __main__: retrying...
> Apr  3 17:43:35 n4mrv weewx[338554] INFO __main__: Using configuration 
> file /home/weewx/weewx.conf
> Apr  3 17:43:35 n4mrv weewx[338554] INFO __main__: Debug is 0
> Apr  3 17:43:35 n4mrv weewx[338554] INFO weewx.engine: Loading station 
> type Vantage (weewx.drivers.vantage)
> Apr  3 17:43:35 n4mrv weewx[338554] INFO user.purple: Service version is 
> 3.0.1.
> Apr  3 17:43:35 n4mrv weewx[338554] INFO user.purple: Source 1 for 
> PurpleAir readings: sensor 192.168.1.130:80, proxy: Fal
> se, timeout: 15
> Apr  3 17:43:35 n4mrv weewx[338554] INFO weewx.engine: StdConvert target 
> unit is 0x1
> Apr  3 17:43:35 n4mrv weewx[338554] INFO user.cmon: service version is 0.20
> Apr  3 17:43:35 n4mrv weewx[338554] INFO user.cmon: sysinfo: Linux n4mrv 
> 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:
>
>
>
>

-- 
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/85a6cf94-0e91-4671-a3f2-8688d929f20en%40googlegroups.com.

Reply via email to