new install LOOP batch try #3; error: Unable to wake up Vantage console

174 views
Skip to first unread message

Brian Waligorski / N6RZR

unread,
Jan 18, 2023, 9:13:05 AM1/18/23
to weewx-user
New install on Inovato Quadra. Latest Weewx version installed using DEB package on Debian-based systems,
System will run fine for hours, sometimes days. I'm suspecting comm problem between console and weewx??  Any suggestions much appreciated.


Jan 17 21:54:32 inovato weewx[1544] ERROR weewx.drivers.vantage: LOOP batch try #1; error: Expected to read 99 chars; got 0 instead
Jan 17 21:54:32 inovato weewx[1544] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 17 21:55:01 inovato CRON[5105]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 17 21:55:14 inovato weewx[1544] DEBUG weewx.drivers.vantage: Getting archive packets since 2023-01-17 21:50:00 PST (1674021000)
Jan 17 21:55:14 inovato weewx[1544] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 17 21:55:14 inovato weewx[1544] DEBUG weewx.drivers.vantage: Retrieving 1 page(s); starting index= 2
Jan 17 21:55:15 inovato weewx[1544] INFO weewx.manager: Added record 2023-01-17 21:55:00 PST (1674021300) to database 'weewx.sdb'
Jan 17 21:55:15 inovato weewx[1544] INFO weewx.manager: Added record 2023-01-17 21:55:00 PST (1674021300) to daily summary in 'weewx.sdb'
Jan 17 21:55:15 inovato weewx[1544] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2023-01-09 00:40:00 PST (1673253600) less than final timestamp 2023-01-17 21:55:00 PST (1674021300)
Jan 17 21:55:15 inovato weewx[1544] DEBUG weewx.drivers.vantage: Catch up complete.
Jan 17 21:55:15 inovato weewx[1544] DEBUG weewx.reportengine: Running reports for latest time in the database.
Jan 17 21:55:15 inovato weewx[1544] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Jan 17 21:55:15 inovato weewx[1544] DEBUG weewx.reportengine: Running report 'SeasonsReport'
Jan 17 21:55:15 inovato weewx[1544] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 17 21:55:15 inovato weewx[1544] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Jan 17 21:55:15 inovato weewx[1544] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Jan 17 21:55:15 inovato weewx[1544] DEBUG weewx.manager: Daily summary version is 4.0
Jan 17 21:55:15 inovato weewx[1544] INFO weewx.restx: Wunderground-PWS: Published record 2023-01-17 21:55:00 PST (1674021300)
Jan 17 21:55:18 inovato weewx[1544] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 2.98 seconds
Jan 17 21:55:18 inovato weewx[1544] DEBUG weewx.manager: Daily summary version is 4.0
Jan 17 21:55:19 inovato weewx[1544] INFO weewx.imagegenerator: Generated 14 images for report SeasonsReport in 1.10 seconds
Jan 17 21:55:19 inovato weewx[1544] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Jan 17 21:55:19 inovato weewx[1544] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Jan 17 21:55:19 inovato weewx[1544] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Jan 17 21:55:19 inovato weewx[1544] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Jan 17 21:55:19 inovato weewx[1544] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Jan 17 21:55:19 inovato weewx[1544] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Jan 17 21:55:35 inovato weewx[1544] DEBUG weewx.restx: CWOP: Attempt 1 to cwop.aprs.net:14580. Connection error: timed out
Jan 17 21:55:35 inovato weewx[1544] DEBUG weewx.restx: CWOP: Connected to server cwop.aprs.net:14580
Jan 17 21:55:35 inovato weewx[1544] INFO weewx.restx: CWOP: Published record 2023-01-17 21:55:00 PST (1674021300)
Jan 17 21:59:32 inovato weewx[1544] ERROR weewx.drivers.vantage: LOOP batch try #1; error: Expected to read 99 chars; got 0 instead
Jan 17 21:59:36 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #1 failed: Expected to read 2 chars; got 0 instead
Jan 17 21:59:42 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #2 failed: Expected to read 2 chars; got 0 instead
Jan 17 21:59:47 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #3 failed: Expected to read 2 chars; got 0 instead
Jan 17 21:59:52 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #4 failed: Expected to read 2 chars; got 0 instead
Jan 17 21:59:53 inovato weewx[1544] ERROR weewx.drivers.vantage: Unable to wake up Vantage console
Jan 17 21:59:53 inovato weewx[1544] ERROR weewx.drivers.vantage: LOOP batch try #2; error: Unable to wake up Vantage console
Jan 17 21:59:57 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #1 failed: Expected to read 2 chars; got 0 instead
Jan 17 22:00:01 inovato CRON[5126]: (root) CMD (/usr/lib/armbian/armbian-truncate-logs)
Jan 17 22:00:02 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #2 failed: Expected to read 2 chars; got 0 instead
Jan 17 22:00:08 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #3 failed: Expected to read 2 chars; got 0 instead
Jan 17 22:00:13 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #4 failed: Expected to read 2 chars; got 0 instead
Jan 17 22:00:14 inovato weewx[1544] ERROR weewx.drivers.vantage: Unable to wake up Vantage console
Jan 17 22:00:14 inovato weewx[1544] ERROR weewx.drivers.vantage: LOOP batch try #3; error: Unable to wake up Vantage console
Jan 17 22:00:14 inovato weewx[1544] ERROR weewx.drivers.vantage: LOOP max batch errors (3) exceeded.
Jan 17 22:00:14 inovato weewx[1544] INFO weewx.engine: Main loop exiting. Shutting engine down.
Jan 17 22:00:14 inovato weewx[1544] INFO weewx.engine: Shutting down StdReport thread
Jan 17 22:00:14 inovato weewx[1544] DEBUG weewx.engine: StdReport thread has been terminated
Jan 17 22:00:14 inovato weewx[1544] DEBUG weewx.restx: Shut down CWOP thread.
Jan 17 22:00:14 inovato weewx[1544] DEBUG weewx.restx: Shut down Wunderground-PWS thread.
Jan 17 22:00:14 inovato weewx[1544] CRITICAL __main__: Caught WeeWxIOError: LOOP max batch errors (3) exceeded.
Jan 17 22:00:14 inovato weewx[1544] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...
Jan 17 22:00:50 inovato systemd[1]: Starting system activity accounting tool...
Jan 17 22:00:50 inovato systemd[1]: sysstat-collect.service: Succeeded.
Jan 17 22:00:50 inovato systemd[1]: Finished system activity accounting tool.
Jan 17 22:01:14 inovato weewx[1544] INFO __main__: retrying...
Jan 17 22:01:14 inovato weewx[1544] DEBUG __main__: Initializing engine
Jan 17 22:01:14 inovato weewx[1544] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Jan 17 22:01:14 inovato weewx[1544] DEBUG weewx.drivers.vantage: Driver version is 3.4.0
Jan 17 22:01:14 inovato weewx[1544] DEBUG weewx.drivers.vantage: Option loop_request=1
Jan 17 22:01:14 inovato weewx[1544] DEBUG weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 9600; timeout 4.00
Jan 17 22:01:18 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #1 failed: Expected to read 2 chars; got 0 instead
Jan 17 22:01:24 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #2 failed: Expected to read 2 chars; got 0 instead
Jan 17 22:01:29 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #3 failed: Expected to read 2 chars; got 0 instead
Jan 17 22:01:34 inovato weewx[1544] DEBUG weewx.drivers.vantage: Wakeup retry #4 failed: Expected to read 2 chars; got 0 instead
Jan 17 22:01:35 inovato weewx[1544] ERROR weewx.drivers.vantage: Unable to wake up Vantage console
Jan 17 22:01:35 inovato weewx[1544] ERROR weewx.engine: Import of driver failed: Unable to wake up Vantage console (<class 'weewx.WakeupError'>)
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****      return VantageService(engine, config_dict)
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1939, in __init__
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****      Vantage.__init__(self, **config_dict[DRIVER_NAME])
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in __init__
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****      self._setup()
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in _setup
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****      self.port.wakeup_console(max_tries=self.max_tries)
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in wakeup_console
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****      raise weewx.WakeupError("Unable to wake up Vantage console")
Jan 17 22:01:35 inovato weewx[1544] CRITICAL weewx.engine:     ****  weewx.WakeupError: Unable to wake up Vantage console
Jan 17 22:01:35 inovato weewx[1544] CRITICAL __main__: Unable to load driver: Unable to wake up Vantage console
Jan 17 22:01:35 inovato weewx[1544] CRITICAL __main__:     ****  Exiting...

Tom Keffer

unread,
Jan 18, 2023, 9:27:12 AM1/18/23
to weewx...@googlegroups.com
Which version of WeeWX?

-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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dd2eb80f-300a-4dbb-adcd-092043edeee6n%40googlegroups.com.

Brian Waligorski / N6RZR

unread,
Jan 18, 2023, 9:37:33 AM1/18/23
to weewx-user
Ver 4.9.1

Tom Keffer

unread,
Jan 18, 2023, 9:56:14 AM1/18/23
to weewx...@googlegroups.com
Then, as you suspected, it's likely a communications problem between the logger and the computer. 

Things to try:

Is it located near a source of RF?
Are you using a serial-to-usb converter? If so, try another one.
Install ferrite chokes on the cable. 


Brian Waligorski / N6RZR

unread,
Jan 18, 2023, 2:14:43 PM1/18/23
to weewx-user
Don't feel RF is the issue as the past few events were during a time that the radio's were off.
Happened again this morning after restarting... log entries were the same.
Any suggestions on a solid serial -USB converter chip-set to use??.
I'll add another ferrite choke per the
Thanks,
Brian

Brian Waligorski / N6RZR

unread,
Jan 18, 2023, 2:27:22 PM1/18/23
to weewx-user
Could it be RF from the Vantage console itself??
I assume it xmits as well as receives data??

On Wednesday, January 18, 2023 at 6:56:14 AM UTC-8 tke...@gmail.com wrote:

Tom Keffer

unread,
Jan 18, 2023, 5:01:03 PM1/18/23
to weewx...@googlegroups.com
On Wed, Jan 18, 2023 at 11:27 AM Brian Waligorski / N6RZR <bgor...@gmail.com> wrote:
Could it be RF from the Vantage console itself??
I assume it xmits as well as receives data?

I really doubt it. There are thousands of them working uneventfully around the world.

RF sources can be microwaves, railroads, industrial processes, etc. There are lots of things in the 900 MHz+ band.

You implied that you're using a serial-to-usb converter. That's the most likely culprit. 

-tk

Brian Waligorski / N6RZR

unread,
Feb 19, 2023, 12:15:15 PM2/19/23
to weewx-user
Just an update on the issue. I tried another USB to serial converter (different chipset) with no joy.  Would run for a time and finally error out
The baud rate was at 9600 so I tried 19200 and had zero communication between the Weewx and the Vantage Vue.
I tried each successive slower rate until I arrived at 1200 baud and it's been now a month with no problem.

My guess is that it could be the Davis serial port data logger???, but at the cost of swapping it out with the USB  version I think I'll call it a win.

Thanks for your response on this issue.

Brian

Greg Troxel

unread,
Feb 19, 2023, 12:44:46 PM2/19/23
to Brian Waligorski / N6RZR, weewx-user
Brian Waligorski / N6RZR <bgor...@gmail.com> writes:

> Just an update on the issue. I tried another USB to serial converter
> (different chipset) with no joy. Would run for a time and finally error out
> The baud rate was at 9600 so I tried 19200 and had zero communication
> between the Weewx and the Vantage Vue.
> I tried each successive slower rate until I arrived at 1200 baud and it's
> been now a month with no problem.
>
> My guess is that it could be the Davis serial port data logger???, but at
> the cost of swapping it out with the USB version I think I'll call it a
> win.

Interesting. I am running a Prolific converter at 19200 with good
results (VP2, serial logger).

I can completely understand calling that good enough if it works.

Graham Eddy

unread,
Feb 19, 2023, 6:57:55 PM2/19/23
to WeeWX User
sounds like XON/XOFF problem (slow receiving side hardware/driver)
⊣GE⊢
Reply all
Reply to author
Forward
0 new messages