This RPi3B+ have been running Weewx 4.2.0 for a long time and then a few 
months ago it just started getting USB-errors. I have two other RPI3B+ 
running WMR200 and they have not this issue. So what is wrong with this one?

I have tried to restart Weewx, rebooted RPi, unpluged WMR200 USB but to no 
success. I tried to read the code in wmr200.py to figure out where/why this 
timeout occurs. I even upgraded this RPi to Buster (from Stretch) as the 
other two are running Buster.

Note really sure what the next step would be.

Yes, I know that WMR200 is not supported in newer versions of Weewx and 
that I'm running older versions now.

Dec 14 10:10:36 RPi-3Bp-Arelien weewx[21345] INFO __main__: Starting up 
weewx version 4.2.0
Dec 14 10:10:36 RPi-3Bp-Arelien weewx[21345] DEBUG weewx.engine: Station 
does not support reading the time
Dec 14 10:10:36 RPi-3Bp-Arelien weewx[21345] INFO weewx.engine: Using 
binding 'wx_binding' to database 'weewx.sdb'
Dec 14 10:10:36 RPi-3Bp-Arelien weewx[21345] INFO weewx.manager: Starting 
backfill of daily summaries
Dec 14 10:10:36 RPi-3Bp-Arelien weewx[21345] DEBUG weewx.drivers.wmr200: 
genStartup() phase getting archive packets since 2023-09-14 01:15:00 CEST 
(1694646900)
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] ERROR weewx.drivers.wmr200: 
read_device() USB Error Reason:[Errno 110] Operation timed out
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] ERROR weewx.drivers.wmr200: 
USB polling thread unexpectedly terminated
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] INFO weewx.engine: Main loop 
exiting. Shutting engine down.
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] INFO weewx.drivers.wmr200: USB 
polling thread expired
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] INFO weewx.drivers.wmr200: 
Watchdog received shutdown
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] INFO weewx.drivers.wmr200: 
Watchdog thread exiting
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] INFO weewx.drivers.wmr200: 
Watchdog thread expired
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] INFO weewx.drivers.wmr200: 
Received packet count live:0 archive:0 control:0
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] INFO weewx.drivers.wmr200: 
Received bytes:0 sent bytes:24
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] INFO weewx.drivers.wmr200: 
Packet archive queue len:0 live queue len:0
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] INFO weewx.drivers.wmr200: 
Driver gracefully exiting
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] CRITICAL __main__: Caught 
WeeWxIOError: USB polling thread unexpectedly terminated
Dec 14 10:10:51 RPi-3Bp-Arelien weewx[21345] CRITICAL __main__:     **** 
 Waiting 60 seconds then retrying...
pi@RPi-3Bp-Arelien:~ $ lsusb
Bus 001 Device 006: ID 05e3:0751 Genesys Logic, Inc. microSD Card Reader
Bus 001 Device 004: ID 0fde:ca01 Oregon Scientific WMRS200 weather station
Bus 001 Device 005: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 007: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@RPi-3Bp-Arelien:~ $ lsusb -v -d 0fde:ca01

Bus 001 Device 004: ID 0fde:ca01 Oregon Scientific WMRS200 weather station
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0fde Oregon Scientific
  idProduct          0xca01 WMRS200 weather station
  bcdDevice            3.02
  iManufacturer           0
  iProduct                1
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0022
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      34
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1
pi@RPi-3Bp-Arelien:~ $

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0b430d23-c66b-4bd8-b80d-31c4d790ddfen%40googlegroups.com.

Reply via email to