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 <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station> . 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 <my.droid.phone.1...@gmail.com> 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' (<class > 'serial.serialutil.SerialException'>) > 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]: CRITICAL weewx.engine: **** > During handling of the above exception, another exception occurred: > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > 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/share/weewx/weewx/engine.py", line 115, in setupStation > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > self.console = loader_function(config_dict, self) > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > return VantageService(engine, config_dict) > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in __init__ > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > Vantage.__init__(self, **config_dict[DRIVER_NAME]) > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__ > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > self.port.openPort() > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > File "/usr/share/weewx/weewx/drivers/vantage.py", line 319, in openPort > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > self.serial_port = serial.Serial(self.port, self.baudrate, > timeout=self.timeout) > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in > __init__ > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > self.open() > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in > open > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > raise SerialException(msg.errno, "could not open port {}: > {}".format(self._port, msg)) > Feb 2 19:32:18 raspberrypi weewxd[920]: CRITICAL weewx.engine: **** > serial.serialutil.SerialException: [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 __main__: Unable to load > driver: [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 __main__: **** > Exiting... > Feb 2 19:32:18 raspberrypi systemd[1]: weewx.service: Main process > exited, code=exited, status=4/NOPERMISSION > Feb 2 19:32:18 raspberrypi systemd[1]: weewx.service: Failed with result > 'exit-code'. > Feb 2 19:32:18 raspberrypi systemd[1]: weewx.service: Consumed 1.013s CPU > time. > > -- > 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/d891413b-664b-48fa-9f6e-ed66acaff4dbn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/d891413b-664b-48fa-9f6e-ed66acaff4dbn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEBkqnFs3Jok7a17f0dk5Dc9akSvGWiPMrCB4-q4H3TjTA%40mail.gmail.com.