I don't know, I'm a SSH only person, I am getting out of my depth now. Gary
On Thursday, 25 February 2021 at 16:21:11 UTC+10 monmul wrote: > I am using VNC Viewer (and always have) rather than SSH....not sure if > that makes any difference? > > On Thursday, 25 February 2021 at 19:13:29 UTC+13 gjr80 wrote: > >> Hmm, different to my Davis on my RPi which shows weewxd rather than >> screen. I will have to defer to Tom or someone who knows about screen. >> >> Gary >> >> On Thursday, 25 February 2021 at 15:58:07 UTC+10 monmul wrote: >> >>> pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop >>> [ ok ] Stopping weewx (via systemctl): weewx.service. >>> pi@WeatherPi:~ $ sudo lsof /dev/ttyUSB0 >>> 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 >>> screen 16582 pi 6u CHR 188,0 0t0 20196 /dev/ttyUSB0 >>> pi@WeatherPi:~ $ >>> >>> >>> >>> On Thursday, 25 February 2021 at 17:46:35 UTC+13 gjr80 wrote: >>> >>>> I thought it was installed by default on RPi OS but seems lt it is not >>>> - it works on my RPi, I must have installed it manually. Try: >>>> >>>> $ sudo apt update >>>> $ sudo apt install lsof >>>> >>>> then try running lsof. >>>> >>>> Gary >>>> >>>> On Thursday, 25 February 2021 at 14:19:30 UTC+10 monmul wrote: >>>> >>>>> pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop >>>>> [ ok ] Stopping weewx (via systemctl): weewx.service. >>>>> pi@WeatherPi:~ $ lsof /dev/ttyUSB0 >>>>> bash: lsof: command not found >>>>> pi@WeatherPi:~ $ minicom -b 19200 -D /dev/ttyUSB0 >>>>> minicom: cannot open /dev/ttyUSB0: Device or resource busy >>>>> pi@WeatherPi:~ $ lsof /dev/ttyUSB0 >>>>> bash: lsof: command not found >>>>> pi@WeatherPi:~ $ sudo lsof /dev/ttyUSB0 >>>>> sudo: lsof: command not found >>>>> pi@WeatherPi:~ $ >>>>> >>>>> >>>>> >>>>> On Thursday, 25 February 2021 at 17:17:03 UTC+13 gjr80 wrote: >>>>> >>>>>> Try prefixing lsof with sudo. >>>>>> >>>>>> Gary >>>>>> >>>>>> On Thursday, 25 February 2021 at 14:15:17 UTC+10 monmul wrote: >>>>>> >>>>>>> pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop >>>>>>> [ ok ] Stopping weewx (via systemctl): weewx.service. >>>>>>> pi@WeatherPi:~ $ lsof /dev/ttyUSB0 >>>>>>> bash: lsof: command not found >>>>>>> pi@WeatherPi:~ $ minicom -b 19200 -D /dev/ttyUSB0 >>>>>>> minicom: cannot open /dev/ttyUSB0: Device or resource busy >>>>>>> pi@WeatherPi:~ $ lsof /dev/ttyUSB0 >>>>>>> bash: lsof: command not found >>>>>>> pi@WeatherPi:~ $ >>>>>>> >>>>>>> >>>>>>> On Thursday, 25 February 2021 at 02:13:31 UTC+13 [email protected] >>>>>>> wrote: >>>>>>> >>>>>>>> Make sure you stop weewx first before trying minicom. There cannot >>>>>>>> be anything else using the port. To see what devices are using a port: >>>>>>>> >>>>>>>> *lsof /dev/ttyUSB0* >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Feb 23, 2021 at 9:19 PM monmul <[email protected]> wrote: >>>>>>>> >>>>>>>>> No change in USB port. >>>>>>>>> >>>>>>>>> pi@WeatherPi:~ $ >>>>>>>>> pi@WeatherPi:~ $ minicom -b 19200 -D /dev/ttyUSB0 >>>>>>>>> minicom: cannot open /dev/ttyUSB0: Device or resource busy >>>>>>>>> pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop >>>>>>>>> [ ok ] Stopping weewx (via systemctl): weewx.service. >>>>>>>>> pi@WeatherPi:~ $ minicom -b 19200 -D /dev/ttyUSB0 >>>>>>>>> minicom: cannot open /dev/ttyUSB0: Device or resource busy >>>>>>>>> pi@WeatherPi:~ $ >>>>>>>>> pi@WeatherPi:~ $ >>>>>>>>> pi@WeatherPi:~ $ >>>>>>>>> pi@WeatherPi:~ $ screen /dev/ttyUSB0 19200 >>>>>>>>> >>>>>>>>> [screen is terminating] >>>>>>>>> pi@WeatherPi:~ $ screen /dev/ttyUSB0 19200 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> [screen is terminating] >>>>>>>>> pi@WeatherPi:~ $ TEST >>>>>>>>> bash: TEST: command not found >>>>>>>>> pi@WeatherPi:~ $ >>>>>>>>> >>>>>>>>> >>>>>>>>> On Monday, 22 February 2021 at 23:15:28 UTC+13 gjr80 wrote: >>>>>>>>> >>>>>>>>>> OK, so WeeWX cannot connect to your Envoy, I am no Envoy expert >>>>>>>>>> but I am told they behave just like a console. First thing I would >>>>>>>>>> do is >>>>>>>>>> test connectivity from your RPi to the Envoy. Any chance the Envoy >>>>>>>>>> is now >>>>>>>>>> on a different USB port? Not sure if you remember the Establishing >>>>>>>>>> connectivity >>>>>>>>>> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station> >>>>>>>>>> >>>>>>>>>> testing Tom got you to work through a couple of years back, but that >>>>>>>>>> is a >>>>>>>>>> good place to start. The instructions are now in the wiki rather >>>>>>>>>> than the >>>>>>>>>> User Guide but the link I have provided should work. >>>>>>>>>> >>>>>>>>>> Gary >>>>>>>>>> On Monday, 22 February 2021 at 19:43:26 UTC+10 monmul wrote: >>>>>>>>>> >>>>>>>>>>> Feb 22 22:39:02 WeatherPi systemd[1]: Starting LSB: weewx >>>>>>>>>>> weather system... >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: >>>>>>>>>>> Initializing weewx version 4.4.0 >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: Using >>>>>>>>>>> Python 2.7.13 (default, Aug 22 2020, 10:03:02) #012[GCC 6.3.0 >>>>>>>>>>> 20170516] >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: Platform >>>>>>>>>>> Linux-4.19.66-v7+-armv7l-with-debian-9.13 >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: Locale is >>>>>>>>>>> 'en_NZ.UTF-8' >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24960] INFO __main__: PID file >>>>>>>>>>> is /var/run/weewx.pid >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24948]: Starting weewx weather >>>>>>>>>>> system: weewx. >>>>>>>>>>> Feb 22 22:39:03 WeatherPi systemd[1]: Started LSB: weewx weather >>>>>>>>>>> system. >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24964] INFO __main__: Using >>>>>>>>>>> configuration file /etc/weewx/weewx.conf >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24964] INFO __main__: Debug is 1 >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24964] DEBUG __main__: >>>>>>>>>>> Initializing engine >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24964] INFO weewx.engine: >>>>>>>>>>> Loading station type Vantage (weewx.drivers.vantage) >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24964] DEBUG >>>>>>>>>>> weewx.drivers.vantage: Driver version is 3.2.1 >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24964] DEBUG >>>>>>>>>>> weewx.drivers.vantage: Option loop_request=1 >>>>>>>>>>> Feb 22 22:39:03 WeatherPi weewx[24964] DEBUG >>>>>>>>>>> weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud >>>>>>>>>>> 19200; >>>>>>>>>>> timeout 4.00 >>>>>>>>>>> Feb 22 22:39:04 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:39:04 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>> DHCPv6 lease >>>>>>>>>>> Feb 22 22:39:07 WeatherPi weewx[24964] DEBUG >>>>>>>>>>> weewx.drivers.vantage: Retry #0 failed >>>>>>>>>>> Feb 22 22:39:11 WeatherPi weewx[24964] DEBUG >>>>>>>>>>> weewx.drivers.vantage: Retry #1 failed >>>>>>>>>>> Feb 22 22:39:12 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:39:12 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>> DHCPv6 lease >>>>>>>>>>> Feb 22 22:39:15 WeatherPi weewx[24964] DEBUG >>>>>>>>>>> weewx.drivers.vantage: Retry #2 failed >>>>>>>>>>> Feb 22 22:39:17 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:39:17 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>> DHCPv6 lease >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] DEBUG >>>>>>>>>>> weewx.drivers.vantage: Retry #3 failed >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] ERROR >>>>>>>>>>> weewx.drivers.vantage: Unable to wake up console >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] ERROR weewx.engine: >>>>>>>>>>> Import of driver failed: Unable to wake up Vantage console (<class >>>>>>>>>>> 'weewx.WakeupError'>) >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** Traceback (most recent call last): >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/engine.py", line 119, in >>>>>>>>>>> setupStation >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** self.console = loader_function(config_dict, self) >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 39, >>>>>>>>>>> in >>>>>>>>>>> loader >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** return VantageService(engine, config_dict) >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>>> 1898, in >>>>>>>>>>> __init__ >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** Vantage.__init__(self, **config_dict[DRIVER_NAME]) >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>>> 515, in >>>>>>>>>>> __init__ >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** self._setup() >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>>> 1317, in >>>>>>>>>>> _setup >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** self.port.wakeup_console(max_tries=self.max_tries) >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** File "/usr/share/weewx/weewx/drivers/vantage.py", line >>>>>>>>>>> 118, in >>>>>>>>>>> wakeup_console >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** raise weewx.WakeupError("Unable to wake up Vantage >>>>>>>>>>> console") >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL weewx.engine: >>>>>>>>>>> **** WakeupError: Unable to wake up Vantage console >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL __main__: Unable >>>>>>>>>>> to load driver: Unable to wake up Vantage console >>>>>>>>>>> Feb 22 22:39:19 WeatherPi weewx[24964] CRITICAL __main__: >>>>>>>>>>> **** Exiting... >>>>>>>>>>> Feb 22 22:39:20 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:39:20 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>> DHCPv6 lease >>>>>>>>>>> Feb 22 22:39:27 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:39:27 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>> DHCPv6 lease >>>>>>>>>>> Feb 22 22:39:35 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:39:35 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>> DHCPv6 lease >>>>>>>>>>> Feb 22 22:39:42 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:39:42 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>> DHCPv6 lease >>>>>>>>>>> Feb 22 22:39:50 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:39:50 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>> DHCPv6 lease >>>>>>>>>>> Feb 22 22:39:54 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:39:54 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>> DHCPv6 lease >>>>>>>>>>> Feb 22 22:40:00 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>> Feb 22 22:40:00 WeatherPi dhcpcd[372]: >>>>>>>>>>> >>>>>>>>>>> On Monday, 22 February 2021 at 21:43:34 UTC+13 gjr80 wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> We need to see the log from when you try starting WeeWX. >>>>>>>>>>>> Restart WeeWX and let it run for an archive period or two, then >>>>>>>>>>>> goto the >>>>>>>>>>>> log and take an extract from when WeeWX was restarted through >>>>>>>>>>>> until the two >>>>>>>>>>>> archive periods have passed. Post the log back here without >>>>>>>>>>>> alteration. >>>>>>>>>>>> It’s important you capture the full WeeWX startup. >>>>>>>>>>>> >>>>>>>>>>>> Gary >>>>>>>>>>>> >>>>>>>>>>>> On Monday, 22 February 2021 at 18:28:14 UTC+10 monmul wrote: >>>>>>>>>>>> >>>>>>>>>>>>> My Davis system has been running really well for the last 2 >>>>>>>>>>>>> years. Needed no maintenance from me etc. Then the Envoy started >>>>>>>>>>>>> tripping >>>>>>>>>>>>> the circuit fuse (I think it was the Envoy rather than the power >>>>>>>>>>>>> chord as I >>>>>>>>>>>>> replaced with new Envoy and tripping stopped). I directly changed >>>>>>>>>>>>> out the >>>>>>>>>>>>> Envoy and rebooted the system expecting that all would be back to >>>>>>>>>>>>> normal. >>>>>>>>>>>>> Nope! >>>>>>>>>>>>> >>>>>>>>>>>>> No data appears to be coming through: >>>>>>>>>>>>> >>>>>>>>>>>>> Here are my diagnostic so far: >>>>>>>>>>>>> >>>>>>>>>>>>> pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop >>>>>>>>>>>>> [ ok ] Stopping weewx (via systemctl): weewx.service. >>>>>>>>>>>>> pi@WeatherPi:~ $ sudo weewxd >>>>>>>>>>>>> pi@WeatherPi:~ $ ps -a >>>>>>>>>>>>> PID TTY TIME CMD >>>>>>>>>>>>> 15482 pts/1 00:00:00 ps >>>>>>>>>>>>> pi@WeatherPi:~ $ kill -HUP 15482 >>>>>>>>>>>>> bash: kill: (15482) - No such process >>>>>>>>>>>>> pi@WeatherPi:~ $ tail -f /var/log/syslog >>>>>>>>>>>>> Feb 22 21:17:10 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>>>> Feb 22 21:17:10 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>>>> DHCPv6 lease >>>>>>>>>>>>> Feb 22 21:17:14 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>>>> Feb 22 21:17:14 WeatherPi dhcpcd[372]: wlan0: soliciting a >>>>>>>>>>>>> DHCPv6 lease >>>>>>>>>>>>> Feb 22 21:17:17 WeatherPi dhcpcd[372]: wlan0: Router >>>>>>>>>>>>> Advertisement from fe80::724f:57ff:feb7:82a1 >>>>>>>>>>>>> >>>>>>>>>>>>> Any guidance would be much appreciated. >>>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>> 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/9262ce89-1094-4a06-8ee8-b2e08181924en%40googlegroups.com >>>>>>>>> >>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/9262ce89-1094-4a06-8ee8-b2e08181924en%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/8ec37005-da0b-4606-978c-cce095a3eed6n%40googlegroups.com.
