Unable to wake up Vantage console

89 views
Skip to first unread message

David Hathaway

unread,
Mar 15, 2022, 2:54:24 PM3/15/22
to weewx-user
I am unsure how to start with this issue.  I had to move out of my house for a month during renovations, and left the Davis Vantage console plugged into the garage to collect data.  I took the computer to the hotel to use for work, and I think WeeWX updated during that time.

Now that I am back in the house, I have connected the device back into the computer.  I got half a day of records, but then I started getting this CRITICAL __main__: Unable to load driver: Unable to wake up Vantage console error.

Maybe this is a quick fix?

Log to follow.

Dave

Mar 15 11:28:32 HP-Iron weewx[78695]:  * Starting weewx weather system weewx
Mar 15 11:28:32 HP-Iron weewx[78706] INFO __main__: Initializing weewx version 4.7.0
Mar 15 11:28:32 HP-Iron weewx[78706] INFO __main__: Using Python 3.8.10 (default, Nov 26 2021, 20:14:08) #012[GCC 9.3.0]
Mar 15 11:28:32 HP-Iron weewx[78706] INFO __main__: Platform Linux-5.13.0-35-generic-x86_64-with-glibc2.29
Mar 15 11:28:32 HP-Iron weewx[78706] INFO __main__: Locale is 'en_US.UTF-8'
Mar 15 11:28:32 HP-Iron weewx[78706] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Mar 15 11:28:32 HP-Iron weewx[78706] INFO __main__: Debug is 0
Mar 15 11:28:32 HP-Iron weewx[78706] INFO __main__: PID file is /var/run/weewx.pid
Mar 15 11:28:32 HP-Iron weewx[78720] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Mar 15 11:28:32 HP-Iron weewx[78695]:    ...done.
Mar 15 11:28:53 HP-Iron weewx[78720] ERROR weewx.drivers.vantage: Unable to wake up console
Mar 15 11:28:53 HP-Iron weewx[78720] ERROR weewx.engine: Import of driver failed: Unable to wake up Vantage console (<class 'weewx.WakeupError'>)
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****      return VantageService(engine, config_dict)
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1916, in __init__
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****      Vantage.__init__(self, **config_dict[DRIVER_NAME])
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 517, in __init__
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****      self._setup()
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1335, in _setup
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****      self.port.wakeup_console(max_tries=self.max_tries)
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 120, in wakeup_console
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****      raise weewx.WakeupError("Unable to wake up Vantage console")
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL weewx.engine:     ****  weewx.WakeupError: Unable to wake up Vantage console
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL __main__: Unable to load driver: Unable to wake up Vantage console
Mar 15 11:28:53 HP-Iron weewx[78720] CRITICAL __main__:     ****  Exiting...

Greg Troxel

unread,
Mar 15, 2022, 3:36:40 PM3/15/22
to David Hathaway, weewx-user

Use wee_device with --info to see if that can communicate, when weewx is
not running. check cabling and that your serial port has the same name
you are using in the driver config.

http://www.weewx.com/docs/hardware.htm#vantage_notes

signature.asc

David Hathaway

unread,
Mar 16, 2022, 8:16:15 AM3/16/22
to weewx-user
Thanks Greg.  It appears my computer has a bad USB port; I used the USB-serial connection.  I switched to a different port and wee_device --info returned device status.

However, now I get the following logs.

Dave

Mar 16 07:11:20 HP-Iron weewx[2377499]:  * Starting weewx weather system weewx
Mar 16 07:11:20 HP-Iron weewx[2377510] INFO __main__: Initializing weewx version 4.7.0
Mar 16 07:11:20 HP-Iron weewx[2377510] INFO __main__: Using Python 3.8.10 (default, Nov 26 2021, 20:14:08) #012[GCC 9.3.0]
Mar 16 07:11:20 HP-Iron weewx[2377510] INFO __main__: Platform Linux-5.13.0-35-generic-x86_64-with-glibc2.29
Mar 16 07:11:20 HP-Iron weewx[2377510] INFO __main__: Locale is 'en_US.UTF-8'
Mar 16 07:11:20 HP-Iron weewx[2377510] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Mar 16 07:11:20 HP-Iron weewx[2377510] INFO __main__: Debug is 0
Mar 16 07:11:20 HP-Iron weewx[2377510] INFO __main__: PID file is /var/run/weewx.pid
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Mar 16 07:11:20 HP-Iron weewx[2377499]:    ...done.
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.engine: StdConvert target unit is 0x1
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.engine: Archive will use data binding wx_binding
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.engine: Record generation will be attempted in 'hardware'
Mar 16 07:11:20 HP-Iron weewx[2377529] ERROR weewx.engine: The archive interval in the configuration file (180) does not match the station hardware interval (60).
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.engine: Using archive interval of 60 seconds (specified by hardware)
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.restx: StationRegistry: Station will be registered.
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.restx: Wunderground-PWS: Data for station KTXSUGAR19 will be posted
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.restx: PWSweather: Posting not enabled.
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.restx: CWOP: Posting not enabled.
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.restx: WOW: Posting not enabled.
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.restx: AWEKAS: Posting not enabled.
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.engine: 'pyephem' not detected, extended almanac data is not available
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO __main__: Starting up weewx version 4.7.0
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.engine: Clock error is -1556.87 seconds (positive is fast)
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.drivers.vantage: Clock set to 2022-03-16 07:11:21 CDT (1647432681)
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx'
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.manager: Starting backfill of daily summaries
Mar 16 07:11:20 HP-Iron weewx[2377529] INFO weewx.manager: Daily summaries up to date
Mar 16 07:11:41 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: Unable to wake up console
Mar 16 07:11:41 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: DMPAFT try #1; error: Unable to wake up Vantage console
Mar 16 07:12:02 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: Unable to wake up console
Mar 16 07:12:02 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: DMPAFT try #2; error: Unable to wake up Vantage console
Mar 16 07:12:23 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: Unable to wake up console
Mar 16 07:12:23 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: DMPAFT try #3; error: Unable to wake up Vantage console
Mar 16 07:12:44 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: Unable to wake up console
Mar 16 07:12:44 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: DMPAFT try #4; error: Unable to wake up Vantage console
Mar 16 07:12:44 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: DMPAFT max tries (4) exceeded.
Mar 16 07:12:44 HP-Iron weewx[2377529] INFO weewx.engine: Main loop exiting. Shutting engine down.
Mar 16 07:12:44 HP-Iron weewx[2377529] CRITICAL __main__: Caught WeeWxIOError: Max tries exceeded while getting archive data.
Mar 16 07:12:44 HP-Iron weewx[2377529] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...
Mar 16 07:13:44 HP-Iron weewx[2377529] INFO __main__: retrying...
Mar 16 07:13:44 HP-Iron weewx[2377529] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Mar 16 07:14:05 HP-Iron weewx[2377529] ERROR weewx.drivers.vantage: Unable to wake up console
Mar 16 07:14:05 HP-Iron weewx[2377529] ERROR weewx.engine: Import of driver failed: Unable to wake up Vantage console (<class 'weewx.WakeupError'>)
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****      return VantageService(engine, config_dict)
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1916, in __init__
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****      Vantage.__init__(self, **config_dict[DRIVER_NAME])
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 517, in __init__
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****      self._setup()
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1335, in _setup
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****      self.port.wakeup_console(max_tries=self.max_tries)
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 120, in wakeup_console
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****      raise weewx.WakeupError("Unable to wake up Vantage console")
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL weewx.engine:     ****  weewx.WakeupError: Unable to wake up Vantage console
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL __main__: Unable to load driver: Unable to wake up Vantage console
Mar 16 07:14:05 HP-Iron weewx[2377529] CRITICAL __main__:     ****  Exiting...

Tom Keffer

unread,
Mar 16, 2022, 9:11:55 AM3/16/22
to weewx-user
(You might get a little more information by setting debug=1 in the configuration file, weewx.conf.)

Things to try:
  • This still feels a lot like either a bad port, or a bad serial-to-usb connector.
  • Another possibility is that another instance of weewxd is competing for the port, although that would presumably be reflected in the log. 
  • Try rebooting the PC. 
  • Check the baudrate.

--
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/97e02527-94a3-4adb-ac96-e325704d61d0n%40googlegroups.com.

Tom Hogland

unread,
Mar 16, 2022, 10:39:50 AM3/16/22
to weewx-user
Just a thought to add, but where did the FTDI serial-USB adapter come from? From my work in ham radio I've found that most of them are Chinese fakes, not actually licensed and compatible, just a quick reverse-engineer and ship it. Took me three tries ordering "real" FTDI adapters before I got one that was actually "real". The current one I use was almost $40 if I recall and is 100% rock solid, while the others were $10-20 and "flaky" - drop connections, random timeouts, etc., sometimes immediately and sometimes after a day or three. If you have one from Davis then I'd trust it as "real".

David Hathaway

unread,
Mar 17, 2022, 12:32:44 PM3/17/22
to weewx-user
Yes, this does feel like a bad cable or something.  Even cables wear out occasionally.

David Hathaway

unread,
Mar 17, 2022, 12:33:42 PM3/17/22
to weewx-user
This is a Davis serial-USB adapter, inside the console.  It has worked flawlessly for 3 years.  Maybe it just had one unplugging too many.
Reply all
Reply to author
Forward
0 new messages