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


On Wed, Mar 16, 2022 at 5:16 AM David Hathaway <[email protected]>
wrote:

> 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...
>
> On Tuesday, March 15, 2022 at 2:36:40 PM UTC-5 Greg Troxel wrote:
>
>>
>> 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
>>
>> --
> 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/97e02527-94a3-4adb-ac96-e325704d61d0n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/97e02527-94a3-4adb-ac96-e325704d61d0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zED4HLLdc5UNk8KCWZOa7J-zwxn3eCyCKfXff5DFcTu_NA%40mail.gmail.com.

Reply via email to