Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-12 Thread Joe
The loopback errors have stopped for now. Not sure why...  Thanks for the 
suggestions I hope it helped!

On Saturday, February 10, 2024 at 3:36:09 PM UTC-6 Joe wrote:

> Thank you for the url about apt keys. Success. I'm running updates and its 
> done, and i restarted weewx and it seems to be doing it however it is 
> getting loop batch errors now I will see if it resolves...
>
> On Saturday, February 10, 2024 at 12:01:18 PM UTC-6 vince wrote:
>
>> Update your apt keys first per the configure apt section at the top of
>> https://weewx.com/docs/5.0/quickstarts/debian/
>>
>> Then do Tom’s two commands.
>>
>> On Saturday, February 10, 2024 at 8:12:07 AM UTC-8 Joe wrote:
>>
>>> Not sure why its doing this.  I will need to check my pi hole to make 
>>> sure its not stoppiing the inquiry. 
>>>
>>>
>>>
>>> Get:1 http://weewx.com/apt/python3 buster InRelease [4,252 B]
>>> Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease   
>>> 
>>> Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
>>> Err:1 http://weewx.com/apt/python3 buster InRelease
>>>   The following signatures couldn't be verified because the public key 
>>> is not available: NO_PUBKEY E788768B9CB16E10
>>> Fetched 4,252 B in 2s (2,129 B/s)
>>> Reading package lists... Done
>>> Building dependency tree... Done
>>> Reading state information... Done
>>> All packages are up to date.
>>> W: An error occurred during the signature verification. The repository 
>>> is not updated and the previous index files will be used. GPG error: 
>>> http://weewx.com/apt/python3 buster InRelease: The following signatures 
>>> couldn't be verified because the public key is not available: NO_PUBKEY 
>>> E788768B9CB16E10
>>> W: Failed to fetch http://weewx.com/apt/python3/dists/buster/InRelease 
>>>  The following signatures couldn't be verified because the public key is 
>>> not available: NO_PUBKEY E788768B9CB16E10
>>> W: Some index files failed to download. They have been ignored, or old 
>>> ones used instead.
>>>
>>> On Saturday, February 10, 2024 at 7:52:03 AM UTC-6 Tom Keffer wrote:
>>>
 Something is causing the usb adapter to release /dev/ttyUSB0. Try the 
 kernel message "dmesg". It may give you some information.

 Also you should update to v5.0.2

 *sudo apt update*
 *sudo apt upgrade*

 -tk

 On Sat, Feb 10, 2024 at 5:47 AM Joe  wrote:

> Back with the USB error again now..
>
> Feb 10 07:45:51 raspberrypi systemd[1]: Started WeeWX.
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Initializing 
> weewxd version 5.0.0
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Command line: 
> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Using Python 
> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Located at 
> /usr/bin/python3
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Platform 
> Linux-6.1.21-v8+-aarch64-with-glibc2.31
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Locale: 
> 'en_US.UTF-8'
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Entry path: 
> /usr/share/weewx/weewxd.py
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: WEEWX_ROOT: /
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Configuration 
> file: /etc/weewx/weewx.conf
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: User module: 
> /etc/weewx/bin/user
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Debug: 0
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO weewx.engine: Loading 
> station type Vantage (weewx.drivers.vantage)
> Feb 10 07:45:51 raspberrypi weewxd[797]: ERROR weewx.engine: Import of 
> driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No 
> such file or directory: '/dev/ttyUSB0' ( 'serial.serialutil.SerialException'>)
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>   Traceback (most recent call last):
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
> File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 
> 322, in open
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>   self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | 
> os.O_NONBLOCK)
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>   FileNotFoundError: [Errno 2] No such file or directory: 
> '/dev/ttyUSB0'
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>   
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>   During handling of the above exception, another exception occurred:
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
> 

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread Joe
Thank you for the url about apt keys. Success. I'm running updates and its 
done, and i restarted weewx and it seems to be doing it however it is 
getting loop batch errors now I will see if it resolves...

On Saturday, February 10, 2024 at 12:01:18 PM UTC-6 vince wrote:

> Update your apt keys first per the configure apt section at the top of
> https://weewx.com/docs/5.0/quickstarts/debian/
>
> Then do Tom’s two commands.
>
> On Saturday, February 10, 2024 at 8:12:07 AM UTC-8 Joe wrote:
>
>> Not sure why its doing this.  I will need to check my pi hole to make 
>> sure its not stoppiing the inquiry. 
>>
>>
>>
>> Get:1 http://weewx.com/apt/python3 buster InRelease [4,252 B]
>> Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease   
>> 
>> Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
>> Err:1 http://weewx.com/apt/python3 buster InRelease
>>   The following signatures couldn't be verified because the public key is 
>> not available: NO_PUBKEY E788768B9CB16E10
>> Fetched 4,252 B in 2s (2,129 B/s)
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading state information... Done
>> All packages are up to date.
>> W: An error occurred during the signature verification. The repository is 
>> not updated and the previous index files will be used. GPG error: 
>> http://weewx.com/apt/python3 buster InRelease: The following signatures 
>> couldn't be verified because the public key is not available: NO_PUBKEY 
>> E788768B9CB16E10
>> W: Failed to fetch http://weewx.com/apt/python3/dists/buster/InRelease 
>>  The following signatures couldn't be verified because the public key is 
>> not available: NO_PUBKEY E788768B9CB16E10
>> W: Some index files failed to download. They have been ignored, or old 
>> ones used instead.
>>
>> On Saturday, February 10, 2024 at 7:52:03 AM UTC-6 Tom Keffer wrote:
>>
>>> Something is causing the usb adapter to release /dev/ttyUSB0. Try the 
>>> kernel message "dmesg". It may give you some information.
>>>
>>> Also you should update to v5.0.2
>>>
>>> *sudo apt update*
>>> *sudo apt upgrade*
>>>
>>> -tk
>>>
>>> On Sat, Feb 10, 2024 at 5:47 AM Joe  wrote:
>>>
 Back with the USB error again now..

 Feb 10 07:45:51 raspberrypi systemd[1]: Started WeeWX.
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Initializing 
 weewxd version 5.0.0
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Command line: 
 /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Using Python 
 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Located at 
 /usr/bin/python3
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Platform 
 Linux-6.1.21-v8+-aarch64-with-glibc2.31
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Locale: 
 'en_US.UTF-8'
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Entry path: 
 /usr/share/weewx/weewxd.py
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: WEEWX_ROOT: /
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Configuration 
 file: /etc/weewx/weewx.conf
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: User module: 
 /etc/weewx/bin/user
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Debug: 0
 Feb 10 07:45:51 raspberrypi weewxd[797]: INFO weewx.engine: Loading 
 station type Vantage (weewx.drivers.vantage)
 Feb 10 07:45:51 raspberrypi weewxd[797]: ERROR weewx.engine: Import of 
 driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No 
 such file or directory: '/dev/ttyUSB0' (>>> 'serial.serialutil.SerialException'>)
 Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
   Traceback (most recent call last):
 Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
 File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 
 322, in open
 Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
   self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | 
 os.O_NONBLOCK)
 Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
   FileNotFoundError: [Errno 2] No such file or directory: 
 '/dev/ttyUSB0'
 Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
   
 Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
   During handling of the above exception, another exception occurred:
 Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
   
 Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
   Traceback (most recent call last):
 Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
 File "/usr/share/weewx/weewx/engine.py", line 115, in setupS

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread vince
Update your apt keys first per the configure apt section at the top of
https://weewx.com/docs/5.0/quickstarts/debian/

Then do Tom’s two commands.

On Saturday, February 10, 2024 at 8:12:07 AM UTC-8 Joe wrote:

> Not sure why its doing this.  I will need to check my pi hole to make sure 
> its not stoppiing the inquiry. 
>
>
>
> Get:1 http://weewx.com/apt/python3 buster InRelease [4,252 B]
> Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease 
>   
> Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
> Err:1 http://weewx.com/apt/python3 buster InRelease
>   The following signatures couldn't be verified because the public key is 
> not available: NO_PUBKEY E788768B9CB16E10
> Fetched 4,252 B in 2s (2,129 B/s)
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> All packages are up to date.
> W: An error occurred during the signature verification. The repository is 
> not updated and the previous index files will be used. GPG error: 
> http://weewx.com/apt/python3 buster InRelease: The following signatures 
> couldn't be verified because the public key is not available: NO_PUBKEY 
> E788768B9CB16E10
> W: Failed to fetch http://weewx.com/apt/python3/dists/buster/InRelease 
>  The following signatures couldn't be verified because the public key is 
> not available: NO_PUBKEY E788768B9CB16E10
> W: Some index files failed to download. They have been ignored, or old 
> ones used instead.
>
> On Saturday, February 10, 2024 at 7:52:03 AM UTC-6 Tom Keffer wrote:
>
>> Something is causing the usb adapter to release /dev/ttyUSB0. Try the 
>> kernel message "dmesg". It may give you some information.
>>
>> Also you should update to v5.0.2
>>
>> *sudo apt update*
>> *sudo apt upgrade*
>>
>> -tk
>>
>> On Sat, Feb 10, 2024 at 5:47 AM Joe  wrote:
>>
>>> Back with the USB error again now..
>>>
>>> Feb 10 07:45:51 raspberrypi systemd[1]: Started WeeWX.
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Initializing 
>>> weewxd version 5.0.0
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Command line: 
>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Using Python 
>>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Located at 
>>> /usr/bin/python3
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Platform 
>>> Linux-6.1.21-v8+-aarch64-with-glibc2.31
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Locale: 
>>> 'en_US.UTF-8'
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Entry path: 
>>> /usr/share/weewx/weewxd.py
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: WEEWX_ROOT: /
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Configuration 
>>> file: /etc/weewx/weewx.conf
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: User module: 
>>> /etc/weewx/bin/user
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Debug: 0
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO weewx.engine: Loading 
>>> station type Vantage (weewx.drivers.vantage)
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: ERROR weewx.engine: Import of 
>>> driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No 
>>> such file or directory: '/dev/ttyUSB0' (>> 'serial.serialutil.SerialException'>)
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>  Traceback (most recent call last):
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, 
>>> in open
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>  self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | 
>>> os.O_NONBLOCK)
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>  FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>  
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>  During handling of the above exception, another exception occurred:
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>  
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>  Traceback (most recent call last):
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>  self.console = loader_function(config_dict, self)
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader
>>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>>  

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread Joe
Not sure why its doing this.  I will need to check my pi hole to make sure 
its not stoppiing the inquiry. 



Get:1 http://weewx.com/apt/python3 buster InRelease [4,252 B]
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease   

Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
Err:1 http://weewx.com/apt/python3 buster InRelease
  The following signatures couldn't be verified because the public key is 
not available: NO_PUBKEY E788768B9CB16E10
Fetched 4,252 B in 2s (2,129 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is 
not updated and the previous index files will be used. GPG error: 
http://weewx.com/apt/python3 buster InRelease: The following signatures 
couldn't be verified because the public key is not available: NO_PUBKEY 
E788768B9CB16E10
W: Failed to fetch http://weewx.com/apt/python3/dists/buster/InRelease  The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY E788768B9CB16E10
W: Some index files failed to download. They have been ignored, or old ones 
used instead.

On Saturday, February 10, 2024 at 7:52:03 AM UTC-6 Tom Keffer wrote:

> Something is causing the usb adapter to release /dev/ttyUSB0. Try the 
> kernel message "dmesg". It may give you some information.
>
> Also you should update to v5.0.2
>
> *sudo apt update*
> *sudo apt upgrade*
>
> -tk
>
> On Sat, Feb 10, 2024 at 5:47 AM Joe  wrote:
>
>> Back with the USB error again now..
>>
>> Feb 10 07:45:51 raspberrypi systemd[1]: Started WeeWX.
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Initializing 
>> weewxd version 5.0.0
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Command line: 
>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Using Python 
>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Located at 
>> /usr/bin/python3
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Platform 
>> Linux-6.1.21-v8+-aarch64-with-glibc2.31
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Locale: 
>> 'en_US.UTF-8'
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Entry path: 
>> /usr/share/weewx/weewxd.py
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: WEEWX_ROOT: /
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Configuration 
>> file: /etc/weewx/weewx.conf
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: User module: 
>> /etc/weewx/bin/user
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Debug: 0
>> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO weewx.engine: Loading 
>> station type Vantage (weewx.drivers.vantage)
>> Feb 10 07:45:51 raspberrypi weewxd[797]: ERROR weewx.engine: Import of 
>> driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No 
>> such file or directory: '/dev/ttyUSB0' (> 'serial.serialutil.SerialException'>)
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>  Traceback (most recent call last):
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, 
>> in open
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>  self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | 
>> os.O_NONBLOCK)
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>  FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:   
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>  During handling of the above exception, another exception occurred:
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:   
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>  Traceback (most recent call last):
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>  self.console = loader_function(config_dict, self)
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>  return VantageService(engine, config_dict)
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in __init__
>> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
>>  Vantage.__init__(self, **config_dict[DRIVER_NAME])
>>

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread Tom Keffer
Something is causing the usb adapter to release /dev/ttyUSB0. Try the
kernel message "dmesg". It may give you some information.

Also you should update to v5.0.2

*sudo apt update*
*sudo apt upgrade*

-tk

On Sat, Feb 10, 2024 at 5:47 AM Joe  wrote:

> Back with the USB error again now..
>
> Feb 10 07:45:51 raspberrypi systemd[1]: Started WeeWX.
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Initializing
> weewxd version 5.0.0
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Command line:
> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Using Python 3.9.2
> (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Located at
> /usr/bin/python3
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Platform
> Linux-6.1.21-v8+-aarch64-with-glibc2.31
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Locale:
> 'en_US.UTF-8'
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Entry path:
> /usr/share/weewx/weewxd.py
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: WEEWX_ROOT: /
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Configuration
> file: /etc/weewx/weewx.conf
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: User module:
> /etc/weewx/bin/user
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Debug: 0
> Feb 10 07:45:51 raspberrypi weewxd[797]: INFO weewx.engine: Loading
> station type Vantage (weewx.drivers.vantage)
> Feb 10 07:45:51 raspberrypi weewxd[797]: ERROR weewx.engine: Import of
> driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No
> such file or directory: '/dev/ttyUSB0' ( 'serial.serialutil.SerialException'>)
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  Traceback (most recent call last):
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, in
> open
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  During handling of the above exception, another exception occurred:
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  Traceback (most recent call last):
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>self.console = loader_function(config_dict, self)
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>return VantageService(engine, config_dict)
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in __init__
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>Vantage.__init__(self, **config_dict[DRIVER_NAME])
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>self.port.openPort()
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 319, in openPort
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>self.serial_port = serial.Serial(self.port, self.baudrate,
> timeout=self.timeout)
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in
> __init__
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>self.open()
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in
> open
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>raise SerialException(msg.errno, "could not open port {}:
> {}".format(self._port, msg))
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine: 
>  serial.serialutil.SerialException: [Errno 2] could not open port
> /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
> Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL __main__: Unable to 

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-10 Thread Joe
Back with the USB error again now..

Feb 10 07:45:51 raspberrypi systemd[1]: Started WeeWX.
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Initializing weewxd 
version 5.0.0
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Using Python 3.9.2 
(default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Located at 
/usr/bin/python3
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Platform 
Linux-6.1.21-v8+-aarch64-with-glibc2.31
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Locale: 
'en_US.UTF-8'
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Entry path: 
/usr/share/weewx/weewxd.py
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: WEEWX_ROOT: /
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Configuration file: 
/etc/weewx/weewx.conf
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: User module: 
/etc/weewx/bin/user
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO __main__: Debug: 0
Feb 10 07:45:51 raspberrypi weewxd[797]: INFO weewx.engine: Loading station 
type Vantage (weewx.drivers.vantage)
Feb 10 07:45:51 raspberrypi weewxd[797]: ERROR weewx.engine: Import of 
driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No 
such file or directory: '/dev/ttyUSB0' ()
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
 Traceback (most recent call last):
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
 File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, in 
open
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
   self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
 FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:   
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
 During handling of the above exception, another exception occurred:
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:   
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
 Traceback (most recent call last):
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
   self.console = loader_function(config_dict, self)
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
   return VantageService(engine, config_dict)
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in __init__
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
   Vantage.__init__(self, **config_dict[DRIVER_NAME])
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
   self.port.openPort()
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 319, in openPort
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
   self.serial_port = serial.Serial(self.port, self.baudrate, 
timeout=self.timeout)
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
 File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in 
__init__
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
   self.open()
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
 File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in 
open
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:    
   raise SerialException(msg.errno, "could not open port {}: 
{}".format(self._port, msg))
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL weewx.engine:  
 serial.serialutil.SerialException: [Errno 2] could not open port 
/dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL __main__: Unable to load 
driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file 
or directory: '/dev/ttyUSB0'
Feb 10 07:45:51 raspberrypi weewxd[797]: CRITICAL __main__:  
 Exiting...
Feb 10 07:45:52 raspberrypi systemd[1]: weewx.service: Main process exited, 
code=exited, status=4/NOPERMISSION
Feb 10 07:45:52 raspberrypi systemd[1]: weewx.service: Failed wit

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-09 Thread Joe
Well, it failed with a USB error is the problem. I put the ferrite core on 
the cable and plugged it back in and it started normally.
Didnt see there was an update, I will do that, and remove the modemmanger


On Friday, February 9, 2024 at 3:58:05 PM UTC-6 Tom Keffer wrote:

> The log in that last email looked pretty normal. Is there a problem?
>
> You should upgrade to v5.0.1. 
>
> Be sure to get rid of ModemManager. It competes with weewxd for the port.
>
> *sudo apt purge modemmanager*
>
>
> -tk
>
>
> On Fri, Feb 9, 2024 at 11:12 AM Joe  wrote:
>
>> Feb  9 13:07:55 raspberrypi systemd[1]: Started WeeWX.
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Initializing 
>> weewxd version 5.0.0
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Command line: 
>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Using Python 
>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Located at 
>> /usr/bin/python3
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Platform 
>> Linux-6.1.21-v8+-aarch64-with-glibc2.31
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Locale: 
>> 'en_US.UTF-8'
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Entry path: 
>> /usr/share/weewx/weewxd.py
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: WEEWX_ROOT: /
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Configuration 
>> file: /etc/weewx/weewx.conf
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: User module: 
>> /etc/weewx/bin/user
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Debug: 0
>> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO weewx.engine: Loading 
>> station type Vantage (weewx.drivers.vantage)
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: StdConvert 
>> target unit is 0x1
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.wxservices: 
>> StdWXCalculate will use data binding wx_binding
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Archive 
>> will use data binding wx_binding
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Record 
>> generation will be attempted in 'hardware'
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Using 
>> archive interval of 300 seconds (specified by hardware)
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: 
>> StationRegistry: Station will not be registered: no station_url specified.
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: 
>> Wunderground: Posting not enabled.
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: PWSWeather: 
>> Data for station JTX99 will be posted
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: CWOP: 
>> Posting not enabled.
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: WOW: Posting 
>> not enabled.
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: AWEKAS: 
>> Posting not enabled.
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: 'pyephem' 
>> detected, extended almanac data is available
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO __main__: Starting up 
>> weewx version 5.0.0
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Clock error 
>> is 4.14 seconds (positive is fast)
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Using 
>> binding 'wx_binding' to database 'weewx.sdb'
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.manager: Starting 
>> backfill of daily summaries
>> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.manager: Daily 
>> summaries up to date
>>
>> On Friday, February 9, 2024 at 1:08:35 PM UTC-6 Joe wrote:
>>
>>>
>>> START weewx, and it begins publishing records again from the 
>>> console.
>>
>> -- 
>>
> 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/d79d92ab-01cd-41b6-bd88-f2b540f6724fn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/f09eacb1-84c4-4688-8689-1df3df836686n%40googlegroups.com.


Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-09 Thread Tom Keffer
The log in that last email looked pretty normal. Is there a problem?

You should upgrade to v5.0.1.

Be sure to get rid of ModemManager. It competes with weewxd for the port.

*sudo apt purge modemmanager*


-tk


On Fri, Feb 9, 2024 at 11:12 AM Joe  wrote:

> Feb  9 13:07:55 raspberrypi systemd[1]: Started WeeWX.
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Initializing
> weewxd version 5.0.0
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Command line:
> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Using Python
> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Located at
> /usr/bin/python3
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Platform
> Linux-6.1.21-v8+-aarch64-with-glibc2.31
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Locale:
> 'en_US.UTF-8'
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Entry path:
> /usr/share/weewx/weewxd.py
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: WEEWX_ROOT: /
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Configuration
> file: /etc/weewx/weewx.conf
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: User module:
> /etc/weewx/bin/user
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Debug: 0
> Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO weewx.engine: Loading
> station type Vantage (weewx.drivers.vantage)
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: StdConvert
> target unit is 0x1
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.wxservices:
> StdWXCalculate will use data binding wx_binding
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Archive will
> use data binding wx_binding
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Record
> generation will be attempted in 'hardware'
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Using
> archive interval of 300 seconds (specified by hardware)
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx:
> StationRegistry: Station will not be registered: no station_url specified.
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: Wunderground:
> Posting not enabled.
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: PWSWeather:
> Data for station JTX99 will be posted
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: CWOP: Posting
> not enabled.
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: WOW: Posting
> not enabled.
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: AWEKAS:
> Posting not enabled.
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: 'pyephem'
> detected, extended almanac data is available
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO __main__: Starting up
> weewx version 5.0.0
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Clock error
> is 4.14 seconds (positive is fast)
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Using
> binding 'wx_binding' to database 'weewx.sdb'
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.manager: Starting
> backfill of daily summaries
> Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.manager: Daily
> summaries up to date
>
> On Friday, February 9, 2024 at 1:08:35 PM UTC-6 Joe wrote:
>
>>
>> START weewx, and it begins publishing records again from the
>> console.
>
> --
> 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/d79d92ab-01cd-41b6-bd88-f2b540f6724fn%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEB_XSq-GVvYHsoOumdheZuDPfD2k9TE7DQ0SeT-5HebzQ%40mail.gmail.com.


Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-09 Thread Joe
Feb  9 13:07:55 raspberrypi systemd[1]: Started WeeWX.
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Initializing 
weewxd version 5.0.0
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Using Python 
3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Located at 
/usr/bin/python3
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Platform 
Linux-6.1.21-v8+-aarch64-with-glibc2.31
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Locale: 
'en_US.UTF-8'
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Entry path: 
/usr/share/weewx/weewxd.py
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: WEEWX_ROOT: /
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Configuration 
file: /etc/weewx/weewx.conf
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: User module: 
/etc/weewx/bin/user
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO __main__: Debug: 0
Feb  9 13:07:56 raspberrypi weewxd[12185]: INFO weewx.engine: Loading 
station type Vantage (weewx.drivers.vantage)
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: StdConvert 
target unit is 0x1
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.wxservices: 
StdWXCalculate will use data binding wx_binding
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Archive will 
use data binding wx_binding
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Record 
generation will be attempted in 'hardware'
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Using archive 
interval of 300 seconds (specified by hardware)
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: 
StationRegistry: Station will not be registered: no station_url specified.
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: Wunderground: 
Posting not enabled.
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: PWSWeather: 
Data for station JTX99 will be posted
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: CWOP: Posting 
not enabled.
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: WOW: Posting 
not enabled.
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.restx: AWEKAS: 
Posting not enabled.
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: 'pyephem' 
detected, extended almanac data is available
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO __main__: Starting up weewx 
version 5.0.0
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Clock error 
is 4.14 seconds (positive is fast)
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.manager: Starting 
backfill of daily summaries
Feb  9 13:07:57 raspberrypi weewxd[12185]: INFO weewx.manager: Daily 
summaries up to date

On Friday, February 9, 2024 at 1:08:35 PM UTC-6 Joe wrote:

>
> START weewx, and it begins publishing records again from the 
> console.

-- 
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/d79d92ab-01cd-41b6-bd88-f2b540f6724fn%40googlegroups.com.


Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-09 Thread Joe

START weewx, and it begins publishing records again from the 
console.

-- 
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/38055abe-fc46-421c-a1f9-1aa9dce59e56n%40googlegroups.com.


Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-09 Thread Joe
Plug in the replacement cable with ferrite cores, and I get this error

eb  9 13:03:58 raspberrypi kernel: [578076.357712] usb 1-1.4: USB 
disconnect, device number 42
Feb  9 13:03:58 raspberrypi kernel: [578076.358554] cp210x ttyUSB1: cp210x 
converter now disconnected from ttyUSB1
Feb  9 13:03:58 raspberrypi kernel: [578076.358689] cp210x 1-1.4:1.0: 
device disconnected
Feb  9 13:06:10 raspberrypi kernel: [578208.959876] usb 1-1.4: new 
full-speed USB device number 43 using xhci_hcd
Feb  9 13:06:11 raspberrypi kernel: [578209.065310] usb 1-1.4: New USB 
device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
Feb  9 13:06:11 raspberrypi kernel: [578209.065345] usb 1-1.4: New USB 
device strings: Mfr=1, Product=2, SerialNumber=3
Feb  9 13:06:11 raspberrypi kernel: [578209.065362] usb 1-1.4: Product: 
CP2102 USB to UART Bridge Controller
Feb  9 13:06:11 raspberrypi kernel: [578209.065377] usb 1-1.4: 
Manufacturer: Silicon Labs
Feb  9 13:06:11 raspberrypi kernel: [578209.065390] usb 1-1.4: 
SerialNumber: 0001
Feb  9 13:06:11 raspberrypi kernel: [578209.071129] cp210x 1-1.4:1.0: 
cp210x converter detected
Feb  9 13:06:11 raspberrypi kernel: [578209.077119] usb 1-1.4: cp210x 
converter now attached to ttyUSB0
Feb  9 13:06:11 raspberrypi mtp-probe: checking bus 1, device 43: 
"/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.4"
Feb  9 13:06:11 raspberrypi mtp-probe: bus: 1, device: 43 was not an MTP 
device
Feb  9 13:06:11 raspberrypi mtp-probe: checking bus 1, device 43: 
"/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.4"
Feb  9 13:06:11 raspberrypi mtp-probe: bus: 1, device: 43 was not an MTP 
device
Feb  9 13:06:13 raspberrypi ModemManager[453]:   [base-manager] 
couldn't check support for device 
'/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.4':
 
not supported by any plugin

On Friday, February 9, 2024 at 1:00:36 PM UTC-6 Joe wrote:

>
> Weewx failed to start or run again.
>
> Feb  9 12:57:01 raspberrypi systemd[1]: Started WeeWX.
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Initializing 
> weewxd version 5.0.0
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Command line: 
> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Using Python 
> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Located at 
> /usr/bin/python3
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Platform 
> Linux-6.1.21-v8+-aarch64-with-glibc2.31
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Locale: 
> 'en_US.UTF-8'
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Entry path: 
> /usr/share/weewx/weewxd.py
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: WEEWX_ROOT: /
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Configuration 
> file: /etc/weewx/weewx.conf
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: User module: 
> /etc/weewx/bin/user
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Debug: 0
> Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO weewx.engine: Loading 
> station type Vantage (weewx.drivers.vantage)
> Feb  9 12:57:02 raspberrypi weewxd[12139]: ERROR weewx.engine: Import of 
> driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No 
> such file or directory: '/dev/ttyUSB0' ( 'serial.serialutil.SerialException'>)
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>  Traceback (most recent call last):
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, 
> in open
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>  self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | 
> os.O_NONBLOCK)
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>  FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>  
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>  During handling of the above exception, another exception occurred:
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>  
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>  Traceback (most recent call last):
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>  self.console = loader_function(config_dict, self)
> Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
>File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, 

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-09 Thread Joe

Weewx failed to start or run again.

Feb  9 12:57:01 raspberrypi systemd[1]: Started WeeWX.
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Initializing 
weewxd version 5.0.0
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Using Python 
3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Located at 
/usr/bin/python3
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Platform 
Linux-6.1.21-v8+-aarch64-with-glibc2.31
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Locale: 
'en_US.UTF-8'
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Entry path: 
/usr/share/weewx/weewxd.py
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: WEEWX_ROOT: /
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Configuration 
file: /etc/weewx/weewx.conf
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: User module: 
/etc/weewx/bin/user
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO __main__: Debug: 0
Feb  9 12:57:02 raspberrypi weewxd[12139]: INFO weewx.engine: Loading 
station type Vantage (weewx.drivers.vantage)
Feb  9 12:57:02 raspberrypi weewxd[12139]: ERROR weewx.engine: Import of 
driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No 
such file or directory: '/dev/ttyUSB0' ()
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 Traceback (most recent call last):
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
   File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, 
in open
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | 
os.O_NONBLOCK)
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:   
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 During handling of the above exception, another exception occurred:
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:   
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 Traceback (most recent call last):
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
   File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 self.console = loader_function(config_dict, self)
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
   File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 return VantageService(engine, config_dict)
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
   File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in __init__
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 Vantage.__init__(self, **config_dict[DRIVER_NAME])
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
   File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 self.port.openPort()
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
   File "/usr/share/weewx/weewx/drivers/vantage.py", line 319, in openPort
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 self.serial_port = serial.Serial(self.port, self.baudrate, 
timeout=self.timeout)
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
   File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in 
__init__
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 self.open()
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
   File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, 
in open
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 raise SerialException(msg.errno, "could not open port {}: 
{}".format(self._port, msg))
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL weewx.engine:  
 serial.serialutil.SerialException: [Errno 2] could not open port 
/dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL __main__: Unable to 
load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such 
file or directory: '/dev/ttyUSB0'
Feb  9 12:57:02 raspberrypi weewxd[12139]: CRITICAL __main__:  
 Exiting...
Feb  9 12:57:02 raspberrypi systemd[1]: weewx.service: Main process exited, 
code=exited, status=4/

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-05 Thread Joe
I replaced the USB cable, and it works now.

I dont have the ferrite cores on it yet though. Trying it without them.




On Monday, February 5, 2024 at 7:04:52 AM UTC-6 Tom Keffer wrote:

> Try removing modemmanager:
>
> *sudo apt purge modemmanager*
>
>
>
> On Mon, Feb 5, 2024 at 3:53 AM Joe  wrote:
>
>>
>> Even tried a new port # on the PI computer.  It sees the davis but hates 
>> it
>>
>>
>> Feb  5 05:48:15 raspberrypi weewxd[4416]: CRITICAL __main__:  
>>  Exiting...
>> Feb  5 05:48:15 raspberrypi systemd[1]: weewx.service: Main process 
>> exited, code=exited, status=4/NOPERMISSION
>> Feb  5 05:48:15 raspberrypi systemd[1]: weewx.service: Failed with result 
>> 'exit-code'.
>> Feb  5 05:48:47 raspberrypi kernel: [206364.060056] usb 1-1.3: USB 
>> disconnect, device number 32
>> Feb  5 05:48:47 raspberrypi kernel: [206364.060992] cp210x ttyUSB0: 
>> cp210x converter now disconnected from ttyUSB0
>> Feb  5 05:48:47 raspberrypi kernel: [206364.061124] cp210x 1-1.3:1.0: 
>> device disconnected
>> Feb  5 05:48:51 raspberrypi kernel: [206368.742960] usb 1-1.2: new 
>> full-speed USB device number 33 using xhci_hcd
>> Feb  5 05:48:52 raspberrypi kernel: [206368.823208] usb 1-1.2: device 
>> descriptor read/64, error -32
>> Feb  5 05:48:52 raspberrypi kernel: [206369.011191] usb 1-1.2: device 
>> descriptor read/64, error -32
>> Feb  5 05:48:52 raspberrypi kernel: [206369.198959] usb 1-1.2: new 
>> full-speed USB device number 34 using xhci_hcd
>> Feb  5 05:48:52 raspberrypi kernel: [206369.279207] usb 1-1.2: device 
>> descriptor read/64, error -32
>> Feb  5 05:48:52 raspberrypi kernel: [206369.467193] usb 1-1.2: device 
>> descriptor read/64, error -32
>> Feb  5 05:48:52 raspberrypi kernel: [206369.575606] usb 1-1-port2: 
>> attempt power cycle
>> Feb  5 05:48:53 raspberrypi kernel: [206370.178963] usb 1-1.2: new 
>> full-speed USB device number 35 using xhci_hcd
>> Feb  5 05:48:53 raspberrypi kernel: [206370.179245] usb 1-1.2: Device not 
>> responding to setup address.
>> Feb  5 05:48:53 raspberrypi kernel: [206370.387214] usb 1-1.2: Device not 
>> responding to setup address.
>> Feb  5 05:48:53 raspberrypi kernel: [206370.594992] usb 1-1.2: device not 
>> accepting address 35, error -71
>> Feb  5 05:49:14 raspberrypi kernel: [206391.719029] usb 1-1.2: new 
>> full-speed USB device number 37 using xhci_hcd
>> Feb  5 05:49:15 raspberrypi kernel: [206391.824466] usb 1-1.2: New USB 
>> device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
>> Feb  5 05:49:15 raspberrypi kernel: [206391.824500] usb 1-1.2: New USB 
>> device strings: Mfr=1, Product=2, SerialNumber=3
>> Feb  5 05:49:15 raspberrypi kernel: [206391.824518] usb 1-1.2: Product: 
>> CP2102 USB to UART Bridge Controller
>> Feb  5 05:49:15 raspberrypi kernel: [206391.824532] usb 1-1.2: 
>> Manufacturer: Silicon Labs
>> Feb  5 05:49:15 raspberrypi kernel: [206391.824545] usb 1-1.2: 
>> SerialNumber: 0001
>> Feb  5 05:49:15 raspberrypi kernel: [206391.830290] cp210x 1-1.2:1.0: 
>> cp210x converter detected
>> Feb  5 05:49:15 raspberrypi kernel: [206391.836351] usb 1-1.2: cp210x 
>> converter now attached to ttyUSB0
>> Feb  5 05:49:15 raspberrypi mtp-probe: checking bus 1, device 37: 
>> "/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2"
>> Feb  5 05:49:15 raspberrypi mtp-probe: bus: 1, device: 37 was not an MTP 
>> device
>> Feb  5 05:49:15 raspberrypi mtp-probe: checking bus 1, device 37: 
>> "/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2"
>> Feb  5 05:49:15 raspberrypi mtp-probe: bus: 1, device: 37 was not an MTP 
>> device
>> Feb  5 05:49:17 raspberrypi ModemManager[453]:   [base-manager] 
>> couldn't check support for device 
>> '/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2':
>>  
>> not supported by any plugin
>> Feb  5 05:50:33 raspberrypi systemd[1]: Started WeeWX.
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Initializing 
>> weewxd version 5.0.0
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Command line: 
>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Using Python 
>> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Located at 
>> /usr/bin/python3
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Platform 
>> Linux-6.1.21-v8+-aarch64-with-glibc2.31
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Locale: 
>> 'en_US.UTF-8'
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Entry path: 
>> /usr/share/weewx/weewxd.py
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: WEEWX_ROOT: /
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Configuration 
>> file: /etc/weewx/weewx.conf
>> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: User module: 
>> /etc/weewx/bin/user
>> Feb  5 05:50

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-05 Thread Tom Keffer
Try removing modemmanager:

*sudo apt purge modemmanager*



On Mon, Feb 5, 2024 at 3:53 AM Joe  wrote:

>
> Even tried a new port # on the PI computer.  It sees the davis but hates it
>
>
> Feb  5 05:48:15 raspberrypi weewxd[4416]: CRITICAL __main__: 
>  Exiting...
> Feb  5 05:48:15 raspberrypi systemd[1]: weewx.service: Main process
> exited, code=exited, status=4/NOPERMISSION
> Feb  5 05:48:15 raspberrypi systemd[1]: weewx.service: Failed with result
> 'exit-code'.
> Feb  5 05:48:47 raspberrypi kernel: [206364.060056] usb 1-1.3: USB
> disconnect, device number 32
> Feb  5 05:48:47 raspberrypi kernel: [206364.060992] cp210x ttyUSB0: cp210x
> converter now disconnected from ttyUSB0
> Feb  5 05:48:47 raspberrypi kernel: [206364.061124] cp210x 1-1.3:1.0:
> device disconnected
> Feb  5 05:48:51 raspberrypi kernel: [206368.742960] usb 1-1.2: new
> full-speed USB device number 33 using xhci_hcd
> Feb  5 05:48:52 raspberrypi kernel: [206368.823208] usb 1-1.2: device
> descriptor read/64, error -32
> Feb  5 05:48:52 raspberrypi kernel: [206369.011191] usb 1-1.2: device
> descriptor read/64, error -32
> Feb  5 05:48:52 raspberrypi kernel: [206369.198959] usb 1-1.2: new
> full-speed USB device number 34 using xhci_hcd
> Feb  5 05:48:52 raspberrypi kernel: [206369.279207] usb 1-1.2: device
> descriptor read/64, error -32
> Feb  5 05:48:52 raspberrypi kernel: [206369.467193] usb 1-1.2: device
> descriptor read/64, error -32
> Feb  5 05:48:52 raspberrypi kernel: [206369.575606] usb 1-1-port2: attempt
> power cycle
> Feb  5 05:48:53 raspberrypi kernel: [206370.178963] usb 1-1.2: new
> full-speed USB device number 35 using xhci_hcd
> Feb  5 05:48:53 raspberrypi kernel: [206370.179245] usb 1-1.2: Device not
> responding to setup address.
> Feb  5 05:48:53 raspberrypi kernel: [206370.387214] usb 1-1.2: Device not
> responding to setup address.
> Feb  5 05:48:53 raspberrypi kernel: [206370.594992] usb 1-1.2: device not
> accepting address 35, error -71
> Feb  5 05:49:14 raspberrypi kernel: [206391.719029] usb 1-1.2: new
> full-speed USB device number 37 using xhci_hcd
> Feb  5 05:49:15 raspberrypi kernel: [206391.824466] usb 1-1.2: New USB
> device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
> Feb  5 05:49:15 raspberrypi kernel: [206391.824500] usb 1-1.2: New USB
> device strings: Mfr=1, Product=2, SerialNumber=3
> Feb  5 05:49:15 raspberrypi kernel: [206391.824518] usb 1-1.2: Product:
> CP2102 USB to UART Bridge Controller
> Feb  5 05:49:15 raspberrypi kernel: [206391.824532] usb 1-1.2:
> Manufacturer: Silicon Labs
> Feb  5 05:49:15 raspberrypi kernel: [206391.824545] usb 1-1.2:
> SerialNumber: 0001
> Feb  5 05:49:15 raspberrypi kernel: [206391.830290] cp210x 1-1.2:1.0:
> cp210x converter detected
> Feb  5 05:49:15 raspberrypi kernel: [206391.836351] usb 1-1.2: cp210x
> converter now attached to ttyUSB0
> Feb  5 05:49:15 raspberrypi mtp-probe: checking bus 1, device 37:
> "/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2"
> Feb  5 05:49:15 raspberrypi mtp-probe: bus: 1, device: 37 was not an MTP
> device
> Feb  5 05:49:15 raspberrypi mtp-probe: checking bus 1, device 37:
> "/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2"
> Feb  5 05:49:15 raspberrypi mtp-probe: bus: 1, device: 37 was not an MTP
> device
> Feb  5 05:49:17 raspberrypi ModemManager[453]:   [base-manager]
> couldn't check support for device
> '/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2':
> not supported by any plugin
> Feb  5 05:50:33 raspberrypi systemd[1]: Started WeeWX.
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Initializing
> weewxd version 5.0.0
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Command line:
> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Using Python
> 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Located at
> /usr/bin/python3
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Platform
> Linux-6.1.21-v8+-aarch64-with-glibc2.31
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Locale:
> 'en_US.UTF-8'
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Entry path:
> /usr/share/weewx/weewxd.py
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: WEEWX_ROOT: /
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Configuration
> file: /etc/weewx/weewx.conf
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: User module:
> /etc/weewx/bin/user
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Debug: 0
> Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO weewx.engine: Loading
> station type Vantage (weewx.drivers.vantage)
> Feb  5 05:50:34 raspberrypi kernel: [206471.195927] cp210x ttyUSB0:
> usb_serial_generic_read_bulk_callback - urb stopped: -32
> Feb  5 05:50:34 raspberrypi kern

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-05 Thread Joe

Even tried a new port # on the PI computer.  It sees the davis but hates it


Feb  5 05:48:15 raspberrypi weewxd[4416]: CRITICAL __main__:  
 Exiting...
Feb  5 05:48:15 raspberrypi systemd[1]: weewx.service: Main process exited, 
code=exited, status=4/NOPERMISSION
Feb  5 05:48:15 raspberrypi systemd[1]: weewx.service: Failed with result 
'exit-code'.
Feb  5 05:48:47 raspberrypi kernel: [206364.060056] usb 1-1.3: USB 
disconnect, device number 32
Feb  5 05:48:47 raspberrypi kernel: [206364.060992] cp210x ttyUSB0: cp210x 
converter now disconnected from ttyUSB0
Feb  5 05:48:47 raspberrypi kernel: [206364.061124] cp210x 1-1.3:1.0: 
device disconnected
Feb  5 05:48:51 raspberrypi kernel: [206368.742960] usb 1-1.2: new 
full-speed USB device number 33 using xhci_hcd
Feb  5 05:48:52 raspberrypi kernel: [206368.823208] usb 1-1.2: device 
descriptor read/64, error -32
Feb  5 05:48:52 raspberrypi kernel: [206369.011191] usb 1-1.2: device 
descriptor read/64, error -32
Feb  5 05:48:52 raspberrypi kernel: [206369.198959] usb 1-1.2: new 
full-speed USB device number 34 using xhci_hcd
Feb  5 05:48:52 raspberrypi kernel: [206369.279207] usb 1-1.2: device 
descriptor read/64, error -32
Feb  5 05:48:52 raspberrypi kernel: [206369.467193] usb 1-1.2: device 
descriptor read/64, error -32
Feb  5 05:48:52 raspberrypi kernel: [206369.575606] usb 1-1-port2: attempt 
power cycle
Feb  5 05:48:53 raspberrypi kernel: [206370.178963] usb 1-1.2: new 
full-speed USB device number 35 using xhci_hcd
Feb  5 05:48:53 raspberrypi kernel: [206370.179245] usb 1-1.2: Device not 
responding to setup address.
Feb  5 05:48:53 raspberrypi kernel: [206370.387214] usb 1-1.2: Device not 
responding to setup address.
Feb  5 05:48:53 raspberrypi kernel: [206370.594992] usb 1-1.2: device not 
accepting address 35, error -71
Feb  5 05:49:14 raspberrypi kernel: [206391.719029] usb 1-1.2: new 
full-speed USB device number 37 using xhci_hcd
Feb  5 05:49:15 raspberrypi kernel: [206391.824466] usb 1-1.2: New USB 
device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
Feb  5 05:49:15 raspberrypi kernel: [206391.824500] usb 1-1.2: New USB 
device strings: Mfr=1, Product=2, SerialNumber=3
Feb  5 05:49:15 raspberrypi kernel: [206391.824518] usb 1-1.2: Product: 
CP2102 USB to UART Bridge Controller
Feb  5 05:49:15 raspberrypi kernel: [206391.824532] usb 1-1.2: 
Manufacturer: Silicon Labs
Feb  5 05:49:15 raspberrypi kernel: [206391.824545] usb 1-1.2: 
SerialNumber: 0001
Feb  5 05:49:15 raspberrypi kernel: [206391.830290] cp210x 1-1.2:1.0: 
cp210x converter detected
Feb  5 05:49:15 raspberrypi kernel: [206391.836351] usb 1-1.2: cp210x 
converter now attached to ttyUSB0
Feb  5 05:49:15 raspberrypi mtp-probe: checking bus 1, device 37: 
"/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2"
Feb  5 05:49:15 raspberrypi mtp-probe: bus: 1, device: 37 was not an MTP 
device
Feb  5 05:49:15 raspberrypi mtp-probe: checking bus 1, device 37: 
"/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2"
Feb  5 05:49:15 raspberrypi mtp-probe: bus: 1, device: 37 was not an MTP 
device
Feb  5 05:49:17 raspberrypi ModemManager[453]:   [base-manager] 
couldn't check support for device 
'/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2':
 
not supported by any plugin
Feb  5 05:50:33 raspberrypi systemd[1]: Started WeeWX.
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Initializing 
weewxd version 5.0.0
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Using Python 3.9.2 
(default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Located at 
/usr/bin/python3
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Platform 
Linux-6.1.21-v8+-aarch64-with-glibc2.31
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Locale: 
'en_US.UTF-8'
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Entry path: 
/usr/share/weewx/weewxd.py
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: WEEWX_ROOT: /
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Configuration 
file: /etc/weewx/weewx.conf
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: User module: 
/etc/weewx/bin/user
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO __main__: Debug: 0
Feb  5 05:50:34 raspberrypi weewxd[4471]: INFO weewx.engine: Loading 
station type Vantage (weewx.drivers.vantage)
Feb  5 05:50:34 raspberrypi kernel: [206471.195927] cp210x ttyUSB0: 
usb_serial_generic_read_bulk_callback - urb stopped: -32
Feb  5 05:50:34 raspberrypi kernel: [206471.196586] cp210x ttyUSB0: 
usb_serial_generic_read_bulk_callback - urb stopped: -32
Feb  5 05:50:34 raspberrypi kernel: [206471.268421] usb 1-1.2: USB 
disconnect, device number 37
Feb  5 05:50:34 raspberrypi kernel: [206471.268765]

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-03 Thread 'Peter Fletcher' via weewx-user
It is very unlikely to be the Pi power supply if the Pi itself is not 
flagging up power problems.

On Friday, February 2, 2024 at 9:23:04 PM UTC-5 Joe wrote:

> Its a standard PI4. No external USB devices are connected except for the 
> Vantage data logger.
> There are coils on both ends of the cable, too.  I'm going to try to find 
> another power supply though.
>
> On Friday, February 2, 2024 at 7:53:40 PM UTC-6 Tom Keffer wrote:
>
>> Is this a serial logger with a serial-to-USB converter? Or, a USB logger? 
>> If the former, try another converter.
>>
>> A couple of ferrite coils might help. See the wiki article on 
>> troubleshooting 
>> Davis stations 
>> 
>> .
>>
>> It's also possible that the power supply of the RPi is failing and can't 
>> deliver enough power. Try another power supply, or a powered USB hub.
>>
>>
>>
>> On Fri, Feb 2, 2024 at 5:36 PM Joe  wrote:
>>
>>> So this has starting being a problem again.  Its not really related to 
>>> version 5.  But it is still happening.
>>>
>>> This is a PI4 using the wifi option and a decent power connection and 
>>> USB cord .
>>>
>>> It seems to be a USB detection / conversion problem.
>>>
>>> I've tried restarting the vantage a few times, and the PI computer pull 
>>> the USB plug, and it restarts the USB device, attempts to begin pulling 
>>> data and gets an error.  
>>>
>>> Very frustrating after working for such a long time.
>>>
>>>
>>>
>>>
>>>
>>>
>>> Feb  2 19:30:56 raspberrypi weewxd[920]: INFO __main__: Starting up 
>>> weewx version 5.0.0
>>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Clock error 
>>> is -197.26 seconds (positive is fast)
>>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.drivers.vantage: 
>>> Clock set to 2024-02-02 19:30:58 CST (1706923858)
>>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Using 
>>> binding 'wx_binding' to database 'weewx.sdb'
>>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager: Starting 
>>> backfill of daily summaries
>>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager: Daily 
>>> summaries up to date
>>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.892512] cp210x ttyUSB0: 
>>> usb_serial_generic_read_bulk_callback - urb stopped: -32
>>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.892962] cp210x ttyUSB0: 
>>> usb_serial_generic_read_bulk_callback - urb stopped: -32
>>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.983918] usb 1-1.3: USB 
>>> disconnect, device number 7
>>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.984264] cp210x ttyUSB0: 
>>> failed set request 0x7 status: -19
>>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.984298] cp210x ttyUSB0: 
>>> failed set request 0x12 status: -19
>>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.984316] cp210x ttyUSB0: 
>>> failed set request 0x0 status: -19
>>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.985025] cp210x ttyUSB0: 
>>> cp210x converter now disconnected from ttyUSB0
>>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.985139] cp210x 1-1.3:1.0: 
>>> device disconnected
>>> Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> SerialException on read.
>>> Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:   
>>>    device reports readiness to read but returned no data (device 
>>> disconnected or multiple access on port?)
>>> Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:   
>>>    Is there a competing process running??
>>> Feb  2 19:31:03 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> Unable to wake up Vantage console
>>> Feb  2 19:31:03 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> DMPAFT try #1; error: Unable to wake up Vantage console
>>> Feb  2 19:31:08 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> Unable to wake up Vantage console
>>> Feb  2 19:31:08 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> DMPAFT try #2; error: Unable to wake up Vantage console
>>> Feb  2 19:31:13 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> Unable to wake up Vantage console
>>> Feb  2 19:31:13 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> DMPAFT try #3; error: Unable to wake up Vantage console
>>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> Unable to wake up Vantage console
>>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> DMPAFT try #4; error: Unable to wake up Vantage console
>>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> DMPAFT max tries (4) exceeded.
>>> Feb  2 19:31:18 raspberrypi weewxd[920]: INFO weewx.engine: Main loop 
>>> exiting. Shutting engine down.
>>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>>> SerialException on write.
>>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:   
>>>    write failed: [Errno 5] Input/output error
>>> Feb  2 19:31:18

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-02 Thread Joe
Its a standard PI4. No external USB devices are connected except for the 
Vantage data logger.
There are coils on both ends of the cable, too.  I'm going to try to find 
another power supply though.

On Friday, February 2, 2024 at 7:53:40 PM UTC-6 Tom Keffer wrote:

> Is this a serial logger with a serial-to-USB converter? Or, a USB logger? 
> If the former, try another converter.
>
> A couple of ferrite coils might help. See the wiki article on troubleshooting 
> Davis stations 
> 
> .
>
> It's also possible that the power supply of the RPi is failing and can't 
> deliver enough power. Try another power supply, or a powered USB hub.
>
>
>
> On Fri, Feb 2, 2024 at 5:36 PM Joe  wrote:
>
>> So this has starting being a problem again.  Its not really related to 
>> version 5.  But it is still happening.
>>
>> This is a PI4 using the wifi option and a decent power connection and USB 
>> cord .
>>
>> It seems to be a USB detection / conversion problem.
>>
>> I've tried restarting the vantage a few times, and the PI computer pull 
>> the USB plug, and it restarts the USB device, attempts to begin pulling 
>> data and gets an error.  
>>
>> Very frustrating after working for such a long time.
>>
>>
>>
>>
>>
>>
>> Feb  2 19:30:56 raspberrypi weewxd[920]: INFO __main__: Starting up weewx 
>> version 5.0.0
>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Clock error 
>> is -197.26 seconds (positive is fast)
>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.drivers.vantage: 
>> Clock set to 2024-02-02 19:30:58 CST (1706923858)
>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Using binding 
>> 'wx_binding' to database 'weewx.sdb'
>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager: Starting 
>> backfill of daily summaries
>> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager: Daily 
>> summaries up to date
>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.892512] cp210x ttyUSB0: 
>> usb_serial_generic_read_bulk_callback - urb stopped: -32
>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.892962] cp210x ttyUSB0: 
>> usb_serial_generic_read_bulk_callback - urb stopped: -32
>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.983918] usb 1-1.3: USB 
>> disconnect, device number 7
>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.984264] cp210x ttyUSB0: failed 
>> set request 0x7 status: -19
>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.984298] cp210x ttyUSB0: failed 
>> set request 0x12 status: -19
>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.984316] cp210x ttyUSB0: failed 
>> set request 0x0 status: -19
>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.985025] cp210x ttyUSB0: cp210x 
>> converter now disconnected from ttyUSB0
>> Feb  2 19:30:59 raspberrypi kernel: [ 1426.985139] cp210x 1-1.3:1.0: 
>> device disconnected
>> Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> SerialException on read.
>> Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:   
>>    device reports readiness to read but returned no data (device 
>> disconnected or multiple access on port?)
>> Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:   
>>    Is there a competing process running??
>> Feb  2 19:31:03 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> Unable to wake up Vantage console
>> Feb  2 19:31:03 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> DMPAFT try #1; error: Unable to wake up Vantage console
>> Feb  2 19:31:08 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> Unable to wake up Vantage console
>> Feb  2 19:31:08 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> DMPAFT try #2; error: Unable to wake up Vantage console
>> Feb  2 19:31:13 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> Unable to wake up Vantage console
>> Feb  2 19:31:13 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> DMPAFT try #3; error: Unable to wake up Vantage console
>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> Unable to wake up Vantage console
>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> DMPAFT try #4; error: Unable to wake up Vantage console
>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> DMPAFT max tries (4) exceeded.
>> Feb  2 19:31:18 raspberrypi weewxd[920]: INFO weewx.engine: Main loop 
>> exiting. Shutting engine down.
>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
>> SerialException on write.
>> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:   
>>    write failed: [Errno 5] Input/output error
>> Feb  2 19:31:18 raspberrypi weewxd[920]: CRITICAL __main__: Caught 
>> WeeWxIOError: Max tries exceeded while getting archive data.
>> Feb  2 19:31:18 raspberrypi weewxd[920]: CRITICAL __main__:  
>>  Waiting 60.0 seconds then retrying...
>> Feb  2 19:32:18 raspberrypi weewxd[

Re: [weewx-user] Vantage Console wakeup failing again....

2024-02-02 Thread Tom Keffer
Is this a serial logger with a serial-to-USB converter? Or, a USB logger?
If the former, try another converter.

A couple of ferrite coils might help. See the wiki article on troubleshooting
Davis stations

.

It's also possible that the power supply of the RPi is failing and can't
deliver enough power. Try another power supply, or a powered USB hub.



On Fri, Feb 2, 2024 at 5:36 PM Joe  wrote:

> So this has starting being a problem again.  Its not really related to
> version 5.  But it is still happening.
>
> This is a PI4 using the wifi option and a decent power connection and USB
> cord .
>
> It seems to be a USB detection / conversion problem.
>
> I've tried restarting the vantage a few times, and the PI computer pull
> the USB plug, and it restarts the USB device, attempts to begin pulling
> data and gets an error.
>
> Very frustrating after working for such a long time.
>
>
>
>
>
>
> Feb  2 19:30:56 raspberrypi weewxd[920]: INFO __main__: Starting up weewx
> version 5.0.0
> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Clock error is
> -197.26 seconds (positive is fast)
> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.drivers.vantage: Clock
> set to 2024-02-02 19:30:58 CST (1706923858)
> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Using binding
> 'wx_binding' to database 'weewx.sdb'
> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager: Starting
> backfill of daily summaries
> Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager: Daily
> summaries up to date
> Feb  2 19:30:59 raspberrypi kernel: [ 1426.892512] cp210x ttyUSB0:
> usb_serial_generic_read_bulk_callback - urb stopped: -32
> Feb  2 19:30:59 raspberrypi kernel: [ 1426.892962] cp210x ttyUSB0:
> usb_serial_generic_read_bulk_callback - urb stopped: -32
> Feb  2 19:30:59 raspberrypi kernel: [ 1426.983918] usb 1-1.3: USB
> disconnect, device number 7
> Feb  2 19:30:59 raspberrypi kernel: [ 1426.984264] cp210x ttyUSB0: failed
> set request 0x7 status: -19
> Feb  2 19:30:59 raspberrypi kernel: [ 1426.984298] cp210x ttyUSB0: failed
> set request 0x12 status: -19
> Feb  2 19:30:59 raspberrypi kernel: [ 1426.984316] cp210x ttyUSB0: failed
> set request 0x0 status: -19
> Feb  2 19:30:59 raspberrypi kernel: [ 1426.985025] cp210x ttyUSB0: cp210x
> converter now disconnected from ttyUSB0
> Feb  2 19:30:59 raspberrypi kernel: [ 1426.985139] cp210x 1-1.3:1.0:
> device disconnected
> Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> SerialException on read.
> Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
>    device reports readiness to read but returned no data (device
> disconnected or multiple access on port?)
> Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
>    Is there a competing process running??
> Feb  2 19:31:03 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> Unable to wake up Vantage console
> Feb  2 19:31:03 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> DMPAFT try #1; error: Unable to wake up Vantage console
> Feb  2 19:31:08 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> Unable to wake up Vantage console
> Feb  2 19:31:08 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> DMPAFT try #2; error: Unable to wake up Vantage console
> Feb  2 19:31:13 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> Unable to wake up Vantage console
> Feb  2 19:31:13 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> DMPAFT try #3; error: Unable to wake up Vantage console
> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> Unable to wake up Vantage console
> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> DMPAFT try #4; error: Unable to wake up Vantage console
> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> DMPAFT max tries (4) exceeded.
> Feb  2 19:31:18 raspberrypi weewxd[920]: INFO weewx.engine: Main loop
> exiting. Shutting engine down.
> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
> SerialException on write.
> Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:
>    write failed: [Errno 5] Input/output error
> Feb  2 19:31:18 raspberrypi weewxd[920]: CRITICAL __main__: Caught
> WeeWxIOError: Max tries exceeded while getting archive data.
> Feb  2 19:31:18 raspberrypi weewxd[920]: CRITICAL __main__: 
>  Waiting 60.0 seconds then retrying...
> Feb  2 19:32:18 raspberrypi weewxd[920]: INFO __main__: retrying...
> Feb  2 19:32:18 raspberrypi weewxd[920]: INFO weewx.engine: Loading
> station type Vantage (weewx.drivers.vantage)
> Feb  2 19:32:18 raspberrypi weewxd[920]: ERROR weewx.engine: Import of
> driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No
> such file or directory: '/dev/ttyUSB0' ( 'serial.serialutil.SerialException'>)
> Feb  2 19:32:18 raspberrypi weewxd[920]: C

[weewx-user] Vantage Console wakeup failing again....

2024-02-02 Thread Joe
So this has starting being a problem again.  Its not really related to 
version 5.  But it is still happening.

This is a PI4 using the wifi option and a decent power connection and USB 
cord .

It seems to be a USB detection / conversion problem.

I've tried restarting the vantage a few times, and the PI computer pull the 
USB plug, and it restarts the USB device, attempts to begin pulling data 
and gets an error.  

Very frustrating after working for such a long time.






Feb  2 19:30:56 raspberrypi weewxd[920]: INFO __main__: Starting up weewx 
version 5.0.0
Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Clock error is 
-197.26 seconds (positive is fast)
Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.drivers.vantage: Clock 
set to 2024-02-02 19:30:58 CST (1706923858)
Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'
Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager: Starting 
backfill of daily summaries
Feb  2 19:30:57 raspberrypi weewxd[920]: INFO weewx.manager: Daily 
summaries up to date
Feb  2 19:30:59 raspberrypi kernel: [ 1426.892512] cp210x ttyUSB0: 
usb_serial_generic_read_bulk_callback - urb stopped: -32
Feb  2 19:30:59 raspberrypi kernel: [ 1426.892962] cp210x ttyUSB0: 
usb_serial_generic_read_bulk_callback - urb stopped: -32
Feb  2 19:30:59 raspberrypi kernel: [ 1426.983918] usb 1-1.3: USB 
disconnect, device number 7
Feb  2 19:30:59 raspberrypi kernel: [ 1426.984264] cp210x ttyUSB0: failed 
set request 0x7 status: -19
Feb  2 19:30:59 raspberrypi kernel: [ 1426.984298] cp210x ttyUSB0: failed 
set request 0x12 status: -19
Feb  2 19:30:59 raspberrypi kernel: [ 1426.984316] cp210x ttyUSB0: failed 
set request 0x0 status: -19
Feb  2 19:30:59 raspberrypi kernel: [ 1426.985025] cp210x ttyUSB0: cp210x 
converter now disconnected from ttyUSB0
Feb  2 19:30:59 raspberrypi kernel: [ 1426.985139] cp210x 1-1.3:1.0: device 
disconnected
Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
SerialException on read.
Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:   
   device reports readiness to read but returned no data (device 
disconnected or multiple access on port?)
Feb  2 19:30:59 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:   
   Is there a competing process running??
Feb  2 19:31:03 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
Unable to wake up Vantage console
Feb  2 19:31:03 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
DMPAFT try #1; error: Unable to wake up Vantage console
Feb  2 19:31:08 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
Unable to wake up Vantage console
Feb  2 19:31:08 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
DMPAFT try #2; error: Unable to wake up Vantage console
Feb  2 19:31:13 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
Unable to wake up Vantage console
Feb  2 19:31:13 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
DMPAFT try #3; error: Unable to wake up Vantage console
Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
Unable to wake up Vantage console
Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
DMPAFT try #4; error: Unable to wake up Vantage console
Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
DMPAFT max tries (4) exceeded.
Feb  2 19:31:18 raspberrypi weewxd[920]: INFO weewx.engine: Main loop 
exiting. Shutting engine down.
Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage: 
SerialException on write.
Feb  2 19:31:18 raspberrypi weewxd[920]: ERROR weewx.drivers.vantage:   
   write failed: [Errno 5] Input/output error
Feb  2 19:31:18 raspberrypi weewxd[920]: CRITICAL __main__: Caught 
WeeWxIOError: Max tries exceeded while getting archive data.
Feb  2 19:31:18 raspberrypi weewxd[920]: CRITICAL __main__:  
 Waiting 60.0 seconds then retrying...
Feb  2 19:32:18 raspberrypi weewxd[920]: INFO __main__: retrying...
Feb  2 19:32:18 raspberrypi weewxd[920]: INFO weewx.engine: Loading station 
type Vantage (weewx.drivers.vantage)
Feb  2 19:32:18 raspberrypi weewxd[920]: ERROR weewx.engine: Import of 
driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No 
such file or directory: '/dev/ttyUSB0' ()
Feb  2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:  
 Traceback (most recent call last):
Feb  2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:    
 File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, in 
open
Feb  2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:    
   self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
Feb  2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:  
 FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Feb  2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine:   
Feb  2 19:32:18 raspberrypi weewxd[920]