Vantage console may need the driver at the end of this thread.

https://groups.google.com/g/weewx-user/c/E6qRpJHKwHw


On Friday, November 11, 2022 at 5:23:26 PM UTC-5 timwill...@gmail.com wrote:

> sudo tail -f /var/log/syslog
> Nov 11 16:19:39 willie-ThinkPad-X131e weewx[10244] INFO __main__: PID file 
> is /var/run/weewx.pid
> Nov 11 16:19:39 willie-ThinkPad-X131e weewx[10247] DEBUG __main__: 
> Initializing engine
> Nov 11 16:19:39 willie-ThinkPad-X131e weewx[10247] INFO weewx.engine: 
> Loading station type Vantage (weewx.drivers.vantage)
> Nov 11 16:19:39 willie-ThinkPad-X131e weewx[10247] DEBUG 
> weewx.drivers.vantage: Driver version is 3.4.0
> Nov 11 16:19:39 willie-ThinkPad-X131e weewx[10247] DEBUG 
> weewx.drivers.vantage: Option loop_request=1
> Nov 11 16:19:39 willie-ThinkPad-X131e weewx[10247] DEBUG 
> weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 19200; 
> timeout 4.00
> Nov 11 16:19:39 willie-ThinkPad-X131e weewx[10222]:    ...done.
> Nov 11 16:19:39 willie-ThinkPad-X131e systemd[1]: Started LSB: weewx 
> weather system.
> Nov 11 16:19:43 willie-ThinkPad-X131e weewx[10247] DEBUG 
> weewx.drivers.vantage: Wakeup retry #1 failed: Expected to read 2 chars; 
> got 0 instead
> Nov 11 16:19:48 willie-ThinkPad-X131e weewx[10247] DEBUG 
> weewx.drivers.vantage: Wakeup retry #2 failed: Expected to read 2 chars; 
> got 0 instead
> Nov 11 16:19:53 willie-ThinkPad-X131e weewx[10247] DEBUG 
> weewx.drivers.vantage: Wakeup retry #3 failed: Expected to read 2 chars; 
> got 0 instead
> Nov 11 16:19:58 willie-ThinkPad-X131e weewx[10247] DEBUG 
> weewx.drivers.vantage: Wakeup retry #4 failed: Expected to read 2 chars; 
> got 0 instead
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] ERROR 
> weewx.drivers.vantage: Unable to wake up Vantage console
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] ERROR weewx.engine: 
> Import of driver failed: Unable to wake up Vantage console (<class 
> 'weewx.WakeupError'>)
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****  Traceback (most recent call last):
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****    File "/usr/share/weewx/weewx/engine.py", line 119, in 
> setupStation
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****      self.console = loader_function(config_dict, self)
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in 
> loader
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****      return VantageService(engine, config_dict)
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1939, in 
> __init__
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****      Vantage.__init__(self, **config_dict[DRIVER_NAME])
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in 
> __init__
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****      self._setup()
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in 
> _setup
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****      self.port.wakeup_console(max_tries=self.max_tries)
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in 
> wakeup_console
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****      raise weewx.WakeupError("Unable to wake up Vantage console")
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL weewx.engine: 
>     ****  weewx.WakeupError: Unable to wake up Vantage console
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL __main__: 
> Unable to load driver: Unable to wake up Vantage console
> Nov 11 16:20:00 willie-ThinkPad-X131e weewx[10247] CRITICAL __main__:     
> ****  Exiting...
>
>
>
>
> On Thursday, November 10, 2022 at 10:15:25 PM UTC-6 Tim Williams wrote:
>
>> updated Log: 
>>
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine: 
>>     ****      Vantage.__init__(self, **config_dict[DRIVER_NAME])
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine: 
>>     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in 
>> __init__
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine: 
>>     ****      self._setup()
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine: 
>>     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in 
>> _setup
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine: 
>>     ****      self.port.wakeup_console(max_tries=self.max_tries)
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine: 
>>     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in 
>> wakeup_console
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine: 
>>     ****      raise weewx.WakeupError("Unable to wake up Vantage console")
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL weewx.engine: 
>>     ****  weewx.WakeupError: Unable to wake up Vantage console
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL __main__: 
>> Unable to load driver: Unable to wake up Vantage console
>> Nov 10 22:04:43 willie-ThinkPad-X131e weewx[17857] CRITICAL __main__:     
>> ****  Exiting...
>>
>>
>> On Thursday, November 10, 2022 at 9:41:30 PM UTC-6 Tim Williams wrote:
>>
>>> Hi Vince.. I was following the wrong instruction for vantage and used 
>>> the /dev/vpro ....whoops .   I edittted wewx config to .port=/dev/ttyUSB0  
>>> . Am waiting for log to complete and will update shortly . Thanks for 
>>> pointing that out .
>>>
>>> On Thursday, November 10, 2022 at 9:17:32 PM UTC-6 vince wrote:
>>>
>>>> On Thursday, November 10, 2022 at 6:40:55 PM UTC-8 timwill...@gmail.com 
>>>> wrote:
>>>>
>>>>> Nov 10 20:23:59 willie-ThinkPad-X131e weewx[13771] CRITICAL __main__: 
>>>>> Unable to load driver: [Errno 2] could not open port /dev/vpro: [Errno 2] 
>>>>> No such file or directory: '/dev/vpro'
>>>>>
>>>>
>>>> Again, as I said earlier, try "/dev/ttyUSB0"  for the usual device name 
>>>> if (as you said earlier) that is what your os reported.
>>>>
>>>> Where are you seeing instructions to use /dev/vpro ?    There used to 
>>>> be 'old' users guide info on this but I don't see it in current versions 
>>>> and it's more of an advanced nice-to-have anyway.  Get a minimalist setup 
>>>> working before you try to get fancy.
>>>>
>>>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/19033c91-20f7-4674-b2cd-74d786bf88f6n%40googlegroups.com.

Reply via email to