It's quite possible that at some point you had two instances of weewxd running simultaneously.
In any case, glad to hear that you are up and running. On Tue, Jan 11, 2022 at 5:47 PM Timothy Bryan <[email protected]> wrote: > I have a rpi 3 +B with a usb keyboard, a bluetooth mouse and ther logger > connected. I ran Vince's procedure and as far as I can interpret the > readouts, they showed logger connected, unconnected then reconnected again. > > I then ran 'sudo lsof /dev/ttyusb0' and got this message: > > lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs > Output information may be incomplete. > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME > python3 616 root 4u CHR 188,0 0t0 256 /dev/ttyUSB0 > pi@raspberrypi:~ $ sudo tail -f /var/log/syslog > > Dunno what that means. > > At about that point weewx had started getting data from the logger again > and continues to do so now. We'll see if it continues to hang in there. > > Incidentally, I also tried running 'screen' and 'minicom' utilities > according to the 'Establishing connectivity' instructions provided in the > Trouble Shooting article and got 'command not found' messages. > > Thank YOU GUYS for hanging in there with me, > > Tim > On Tuesday, January 11, 2022 at 11:45:17 AM UTC-10 [email protected] wrote: > >> In addition to Vince's suggestions, check and see if there is a competing >> process trying to access the serial port. Try: >> >> *sudo lsof /dev/ttyUSB0* >> >> Finally, if none of that works, make sure you have connectivity to the >> logger in the Vantage. See the wiki article *Establishing connectivity >> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#establishing-connectivity>* >> . >> >> >> On Tue, Jan 11, 2022 at 11:51 AM vince <[email protected]> wrote: >> >>> What model pi ? >>> Do you have other stuff attached to your pi's USB ports ? >>> >>> I'd try the following: >>> >>> - run 'lsusb' to see what it sees >>> - unplug the logger from the pi >>> - run 'dmesg' to see if it detected that >>> - then run 'lsusb' and see if the output is any different >>> - then plug the logger back into the pi >>> - and run 'dmesg' again to see if it detected the plugging back in >>> - and run 'lsusb' to see if it sees the logger again >>> >>> >>> On Tuesday, January 11, 2022 at 11:17:06 AM UTC-8 [email protected] >>> wrote: >>> >>>> I tried all the above with no success. When I tried purging >>>> modemmanager, I got a message saying it was not installed and so not >>>> purged. After that weewx was not able to 'wake' the console. I then >>>> cleared the memory of the logger by disconnecting the power from the >>>> console (AC and battery) and continued to get the error messages. I think >>>> you should be able to see those messages in the log file I included >>>> here...if I did everything right. Thank you for your patience. >>>> >>>> Tim >>>> >>>> On Monday, January 10, 2022 at 4:32:46 PM UTC-10 Timothy Bryan wrote: >>>> >>>>> Thank you, Will do. I'll get back to you... >>>>> >>>>> On Monday, January 10, 2022 at 4:08:45 PM UTC-10 [email protected] >>>>> wrote: >>>>> >>>>>> We have seen this a few times. Things to try: >>>>>> >>>>>> 1. Try unplugging the logger, then plugging it back in. >>>>>> >>>>>> 2. If that doesn't work, try purging "modemmanager": >>>>>> >>>>>> >>>>>> *sudo apt purge modemmanager* >>>>>> >>>>>> 3. If that doesn't work, try clearing the logger memory >>>>>> <http://www.weewx.com/docs/hardware.htm#vantage_clear_console_memory> >>>>>> . >>>>>> >>>>>> If that doesn't work, let us know, but this time include more of the >>>>>> log, and please do not use a screenshot. See the wiki article *Help! >>>>>> Posting to weewx user >>>>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user>*. >>>>>> >>>>>> -tk >>>>>> >>>>>> On Mon, Jan 10, 2022 at 5:41 PM Timothy Bryan <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> It's connected via USB to the Davis logger >>>>>>> >>>>>>> On Monday, January 10, 2022 at 3:33:08 PM UTC-10 vince wrote: >>>>>>> >>>>>>>> How is your VP2 connected to the pi ? Are you using some >>>>>>>> non-Davis logger or the like ? >>>>>>>> >>>>>>>> -- >>>>>>> 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/3499e270-2f85-4661-9e39-01a284855fc6n%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/weewx-user/3499e270-2f85-4661-9e39-01a284855fc6n%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 [email protected]. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/e911691d-e324-4f3b-82d0-f56a81a1d91fn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/e911691d-e324-4f3b-82d0-f56a81a1d91fn%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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/6b2aada8-e4e8-48c8-862e-7bbfc0c2cc28n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/6b2aada8-e4e8-48c8-862e-7bbfc0c2cc28n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEA1U9oTK_Hk-tUt_9p0Opnfxhwq41b6ViKXYOsakWCsSw%40mail.gmail.com.
