Sounds like all the other usb related problems, but before we try going 
deeper please try /dev/ttyUSB0 in mixed case in your weewx.conf file. Linux 
is case-specific.

On Thursday, February 13, 2025 at 2:26:46 PM UTC-8 Brian LeDuc wrote:

> Hi-
>
> I"m new to all this but have been working for a few days trying to get 
> weewx working iwth a WMII on a pi b+.  I have done the intall from the root 
> cmd prompt following the debian directions and installed the wmII driver in 
> the user folder.  I continue to have connectivity issues and errors- 
> looking mostly like driver issues maybe?  any help from anyone who has done 
> this setup with a WMII would be greatly appreciated, thanks!
>
> Error from the log:
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Initializing 
> weewxd version 5.1.0
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Command line: 
> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Using Python: 
> 3.7.3 (default, Dec 20 2019, 18:57:59) 
>                                          [GCC 8.3.0]
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Located at:   
> /usr/bin/python3
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Platform:     
> Linux-4.19.97+-armv6l-with-debian-10.3
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Locale:       
> 'en_US.UTF-8'
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Entry path:   
> /usr/share/weewx/weewxd.py
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: WEEWX_ROOT:   
> /etc/weewx
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Config file: 
>  /etc/weewx/weewx.conf
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: User module: 
>  /etc/weewx/bin/user
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Debug:        0
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: User:         weewx
> Feb 12 16:00:40 raspberrypi weewxd[341]: INFO __main__: Group:        weewx
> Feb 12 16:00:41 raspberrypi weewxd[341]: INFO __main__: Groups:       weewx
> Feb 12 16:00:41 raspberrypi weewxd[341]: INFO weewx.engine: Loading 
> station type wmII (user.wmII)
> Feb 12 16:00:41 raspberrypi weewxd[341]: INFO user.wmII: Weather Monitor 
> II: driver version is 1.0
> Feb 12 16:00:41 raspberrypi weewxd[341]: INFO user.wmII: Weather Monitor 
> II: using serial port /dev/ttyusb0
> Feb 12 16:00:41 raspberrypi weewxd[341]: ERROR weewx.engine: Import of 
> driver failed: [Errno 2] could not open port /dev/ttyusb0: [Errno 2] No 
> such file or directory: '/dev/ttyusb0' (<class 'serial.serial
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     **** 
>  Traceback (most recent call last):
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     ****   
>  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 265, in 
> open
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     ****   
>    self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     **** 
>  FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyusb0'
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     ****
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     **** 
>  During handling of the above exception, another exception occurred:
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     ****
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     **** 
>  Traceback (most recent call last):
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     ****   
>  File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     ****   
>    self.console = loader_function(config_dict, self)
> Feb 12 16:00:41 raspberrypi weewxd[341]: CRITICAL weewx.engine:     ****   
>  File "/etc/weewx/bin/user/wmII.py", line 45, in loader
>
>
>
> -Brian
>
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/d3935f96-2638-4b01-b417-c8874edb9c0cn%40googlegroups.com.

Reply via email to