Strange activity on Davis2 after changing batteries

62 views
Skip to first unread message

Joe

unread,
Jul 11, 2019, 7:30:31 AM7/11/19
to weewx-user
The only thing I've done lately is change out old batteries that showed low on the console.  I plugged it in and changed it so the console never shut off.

Since then I've been getting some errors trying to communicate with the Davis2 console.  Odd never had any problems and now getting communication errors. I only notice because WUNDERGROUND emails me because it stops sending them data. So several times since yesterday I've had to restart the program and now its not doing anything.

Last night, it ran a report, then tried to request loop packets and failure...........

Jul 10 21:06:10 raspberrypi weewx[2185]: ftpupload: Uploaded file /RSS/weewx_rss.xml
Jul 10 21:06:10 raspberrypi weewx[2185]: ftpupload: Uploaded file /smartphone/radar.html
Jul 10 21:06:10 raspberrypi weewx[2185]: ftpupload: Uploaded file /smartphone/barometer.html
Jul 10 21:06:11 raspberrypi weewx[2185]: ftpupload: Uploaded file /smartphone/temp_outside.html
Jul 10 21:06:11 raspberrypi weewx[2185]: ftpupload: Uploaded file /smartphone/index.html
Jul 10 21:06:11 raspberrypi weewx[2185]: ftpupload: Uploaded file /smartphone/rain.html
Jul 10 21:06:12 raspberrypi weewx[2185]: ftpupload: Uploaded file /smartphone/wind.html
Jul 10 21:06:12 raspberrypi weewx[2185]: reportengine: Running report 'RSYNC'
Jul 10 21:06:12 raspberrypi weewx[2185]: reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report 'RSYNC'
Jul 10 21:06:12 raspberrypi weewx[2185]: rsyncgenerator: rsync upload not requested. Skipped.
Jul 10 21:06:20 raspberrypi weewx[2185]: vantage: Requesting 200 LOOP packets.
Jul 10 21:06:25 raspberrypi weewx[2185]: vantage: Retry  #0 failed
Jul 10 21:06:30 raspberrypi weewx[2185]: vantage: Retry  #1 failed
Jul 10 21:06:35 raspberrypi weewx[2185]: vantage: Retry  #2 failed
Jul 10 21:06:40 raspberrypi weewx[2185]: vantage: Retry  #3 failed
Jul 10 21:06:40 raspberrypi weewx[2185]: vantage: Requesting 200 LOOP packets.
Jul 10 21:06:45 raspberrypi weewx[2185]: vantage: Retry  #0 failed
Jul 10 21:06:50 raspberrypi weewx[2185]: vantage: Retry  #1 failed
Jul 10 21:06:55 raspberrypi weewx[2185]: vantage: Retry  #2 failed
Jul 10 21:07:00 raspberrypi weewx[2185]: vantage: Retry  #3 failed
Jul 10 21:07:00 raspberrypi weewx[2185]: vantage: Requesting 200 LOOP packets.
Jul 10 21:07:05 raspberrypi weewx[2185]: vantage: Retry  #0 failed
Jul 10 21:07:10 raspberrypi weewx[2185]: vantage: Retry  #1 failed
Jul 10 21:07:15 raspberrypi weewx[2185]: vantage: Retry  #2 failed
Jul 10 21:07:20 raspberrypi weewx[2185]: vantage: Retry  #3 failed
Jul 10 21:07:20 raspberrypi weewx[2185]: engine: StdReport thread has been terminated
Jul 10 21:07:20 raspberrypi weewx[2185]: restx: Shut down PWSWeather thread.
Jul 10 21:07:20 raspberrypi weewx[2185]: restx: Shut down Wunderground-RF thread.
Jul 10 21:07:20 raspberrypi weewx[2185]: restx: Shut down StationRegistry thread.
Jul 10 21:08:20 raspberrypi weewx[2185]: engine: Debug is 1
Jul 10 21:08:20 raspberrypi weewx[2185]: engine: Initializing engine
Jul 10 21:08:20 raspberrypi weewx[2185]: vantage: Driver version is 3.1.1
Jul 11 06:09:31 raspberrypi weewx[3217]: engine: Debug is 1
Jul 11 06:09:31 raspberrypi weewx[3217]: engine: Initializing engine
Jul 11 06:09:31 raspberrypi weewx[3217]: vantage: Driver version is 3.1.1
^C




Here where it says JUL 11, I've restarted the program several times,


root@raspberrypi:/var/log# tail -f debug
Jul 10 21:07:20 raspberrypi weewx[2185]: engine: StdReport thread has been terminated
Jul 10 21:07:20 raspberrypi weewx[2185]: restx: Shut down PWSWeather thread.
Jul 10 21:07:20 raspberrypi weewx[2185]: restx: Shut down Wunderground-RF thread.
Jul 10 21:07:20 raspberrypi weewx[2185]: restx: Shut down StationRegistry thread.
Jul 10 21:08:20 raspberrypi weewx[2185]: engine: Debug is 1
Jul 10 21:08:20 raspberrypi weewx[2185]: engine: Initializing engine
Jul 10 21:08:20 raspberrypi weewx[2185]: vantage: Driver version is 3.1.1
Jul 11 06:09:31 raspberrypi weewx[3217]: engine: Debug is 1
Jul 11 06:09:31 raspberrypi weewx[3217]: engine: Initializing engine
Jul 11 06:09:31 raspberrypi weewx[3217]: vantage: Driver version is 3.1.1
Jul 11 06:13:55 raspberrypi weewx[3260]: engine: Debug is 1
Jul 11 06:13:55 raspberrypi weewx[3260]: engine: Initializing engine
Jul 11 06:13:55 raspberrypi weewx[3260]: vantage: Driver version is 3.1.1
Jul 11 06:14:42 raspberrypi weewx[3328]: engine: Debug is 1
Jul 11 06:14:42 raspberrypi weewx[3328]: engine: Initializing engine
Jul 11 06:14:42 raspberrypi weewx[3328]: vantage: Driver version is 3.1.1

...................
And here below, I did a reboot of the PI computer and the whole thing is just stopped...





Linux raspberrypi 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jul 10 14:07:40 2019 from jp-main-mint-19
root@raspberrypi:~# cd /var/log/
root@raspberrypi:/var/log# tail -f debug
\Jul 11 06:15:32 raspberrypi kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Jul 11 06:15:32 raspberrypi kernel: [    0.000000] pcpu-alloc: [0] 0 
Jul 11 06:15:32 raspberrypi kernel: [    2.056903] dwc_otg: Microframe scheduler enabled
Jul 11 06:15:32 raspberrypi kernel: [    2.163902] dwc_otg: FIQ enabled
Jul 11 06:15:32 raspberrypi kernel: [    2.163928] dwc_otg: NAK holdoff enabled
Jul 11 06:15:32 raspberrypi kernel: [    2.163940] dwc_otg: FIQ split-transaction FSM enabled
Jul 11 06:15:32 raspberrypi kernel: [    2.164001] Module dwc_common_port init
Jul 11 06:15:38 raspberrypi weewx[2179]: engine: Debug is 1
Jul 11 06:15:38 raspberrypi weewx[2179]: engine: Initializing engine
Jul 11 06:15:38 raspberrypi weewx[2179]: vantage: Driver version is 3.1.1




I'm not really sure what to do as I've restarted/start/stopped/start and did a reboot of the computer.  Suggestions from anyone would be great.

Joe

unread,
Jul 11, 2019, 8:05:32 AM7/11/19
to weewx-user

It's still sitting at the VANTAGE DRIVER VERSION 3.1.1 too....................

Thomas Keffer

unread,
Jul 11, 2019, 9:58:02 AM7/11/19
to weewx-user
It looks like you have two instances of weewx running at the same time. Make sure you stop all instances, then try again.

On Thu, Jul 11, 2019 at 5:05 AM Joe <my.droid....@gmail.com> wrote:

It's still sitting at the VANTAGE DRIVER VERSION 3.1.1 too....................

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7534db35-cf18-498a-8a5a-178b0618c8ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joe

unread,
Jul 11, 2019, 11:39:35 AM7/11/19
to weewx-user
Odd because when I do a PS -A and list the processes I dont see any instances of WEEWX running at all.





On Thursday, July 11, 2019 at 8:58:02 AM UTC-5, Thomas Keffer wrote:
It looks like you have two instances of weewx running at the same time. Make sure you stop all instances, then try again.

On Thu, Jul 11, 2019 at 5:05 AM Joe <my.droid...@gmail.com> wrote:

It's still sitting at the VANTAGE DRIVER VERSION 3.1.1 too....................

--
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...@googlegroups.com.

Joe

unread,
Jul 11, 2019, 11:40:51 AM7/11/19
to weewx-user
root        12  0.0  0.0      0     0 ?        S<   10:31   0:00 [netns]
root        13  0.0  0.0      0     0 ?        S<   10:31   0:00 [perf]
root        14  0.0  0.0      0     0 ?        S    10:31   0:00 [khungtaskd]
root        15  0.0  0.0      0     0 ?        S<   10:31   0:00 [writeback]
root        16  0.0  0.0      0     0 ?        S<   10:31   0:00 [crypto]
root        17  0.0  0.0      0     0 ?        S<   10:31   0:00 [bioset]
root        18  0.0  0.0      0     0 ?        S<   10:31   0:00 [kblockd]
root        19  0.1  0.0      0     0 ?        S    10:31   0:00 [kworker/0:1]
root        20  0.0  0.0      0     0 ?        S<   10:31   0:00 [rpciod]
root        21  0.0  0.0      0     0 ?        S    10:31   0:00 [kswapd0]
root        22  0.0  0.0      0     0 ?        S    10:31   0:00 [fsnotify_mark]
root        23  0.0  0.0      0     0 ?        S<   10:31   0:00 [nfsiod]
root        29  0.0  0.0      0     0 ?        S<   10:31   0:00 [kthrotld]
root        30  0.0  0.0      0     0 ?        S<   10:31   0:00 [VCHIQ-0]
root        31  0.0  0.0      0     0 ?        S<   10:31   0:00 [VCHIQr-0]
root        32  0.0  0.0      0     0 ?        S<   10:31   0:00 [VCHIQs-0]
root        33  0.0  0.0      0     0 ?        S<   10:31   0:00 [iscsi_eh]
root        34  0.0  0.0      0     0 ?        S<   10:31   0:00 [dwc_otg]
root        35  0.0  0.0      0     0 ?        S<   10:31   0:00 [DWC Notificatio]
root        36  0.0  0.0      0     0 ?        S    10:31   0:00 [kworker/u2:1]
root        37  0.0  0.0      0     0 ?        S    10:31   0:00 [VCHIQka-0]
root        38  0.0  0.0      0     0 ?        S<   10:31   0:00 [SMIO]
root        39  0.0  0.0      0     0 ?        S<   10:31   0:00 [deferwq]
root        40  0.0  0.0      0     0 ?        S    10:31   0:00 [kworker/u2:2]
root        41  0.0  0.0      0     0 ?        S    10:31   0:00 [mmcqd/0]
root        42  0.0  0.0      0     0 ?        S    10:31   0:00 [kworker/0:2]
root        43  0.0  0.0      0     0 ?        S    10:31   0:00 [jbd2/mmcblk0p2-]
root        44  0.0  0.0      0     0 ?        S<   10:31   0:00 [ext4-rsv-conver]
root       159  0.0  0.4   2892  2204 ?        Ss   10:31   0:00 udevd --daemon
root       278  0.0  0.4   2888  1976 ?        S    10:31   0:00 udevd --daemon
root       292  0.0  0.4   2888  1968 ?        S    10:31   0:00 udevd --daemon
root      1528  0.0  0.2   1756   984 ?        S    10:31   0:00 /usr/sbin/ifplugd -i lo -q -f -u0 -d10 -w -I
root      1554  0.0  0.2   1756  1236 ?        S    10:31   0:00 /usr/sbin/ifplugd -i eth0 -q -f -u0 -d10 -w -I
root      1812  0.0  0.7   4904  3132 ?        Ss   10:31   0:00 dhclient -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
root      1919  0.0  0.5  28004  2640 ?        Sl   10:31   0:00 /usr/sbin/rsyslogd -c5
root      1966  0.0  2.7  24348 12456 ?        Ss   10:31   0:00 /usr/sbin/apache2 -k start
www-data  2004  0.0  1.1  24372  5264 ?        S    10:31   0:00 /usr/sbin/apache2 -k start
www-data  2006  0.0  1.1  24372  5264 ?        S    10:31   0:00 /usr/sbin/apache2 -k start
www-data  2007  0.0  1.1  24372  5264 ?        S    10:31   0:00 /usr/sbin/apache2 -k start
www-data  2009  0.0  1.1  24372  5264 ?        S    10:31   0:00 /usr/sbin/apache2 -k start
www-data  2010  0.0  1.1  24372  5264 ?        S    10:31   0:00 /usr/sbin/apache2 -k start
root      2026  0.0  0.4   3832  1820 ?        Ss   10:31   0:00 /usr/sbin/cron
104       2033  0.0  0.3   3184  1592 ?        Ss   10:31   0:00 /usr/bin/dbus-daemon --system
ntp       2090  0.0  0.7   5524  3204 ?        Ss   10:31   0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 102:104
root      2125  0.0  0.6   6224  2868 ?        Ss   10:31   0:00 /usr/sbin/sshd
nobody    2138  0.0  0.3   2024  1400 ?        Ss   10:31   0:00 /usr/sbin/thd --daemon --triggers /etc/triggerhappy/triggers.d/ --socket /var/run/thd.socket --pidfile /var/run/thd.pid --user nobody /dev/input/event*
root      2219  0.0  0.3   3752  1708 tty1     Ss+  10:31   0:00 /sbin/getty --noclear 38400 tty1
root      2220  0.0  0.3   3752  1644 tty2     Ss+  10:31   0:00 /sbin/getty 38400 tty2
root      2221  0.0  0.3   3752  1644 tty3     Ss+  10:31   0:00 /sbin/getty 38400 tty3
root      2222  0.0  0.3   3752  1700 tty4     Ss+  10:31   0:00 /sbin/getty 38400 tty4
root      2223  0.0  0.3   3752  1708 tty5     Ss+  10:31   0:00 /sbin/getty 38400 tty5
root      2224  0.0  0.3   3752  1644 tty6     Ss+  10:31   0:00 /sbin/getty 38400 tty6
root      2225  0.0  0.3   2072  1588 ttyAMA0  Ss+  10:31   0:00 /sbin/getty -L ttyAMA0 115200 vt100
root      2226  0.1  1.0   9268  4496 ?        Ss   10:36   0:00 sshd: root@pts/0 
root      2230  0.4  0.9   5652  4028 pts/0    Ss   10:36   0:00 -bash
root      2243  0.0  0.3   3392  1480 pts/0    S+   10:37   0:00 tail -f debug
root      2244  0.2  1.0   9268  4540 ?        Ss   10:38   0:00 sshd: root@pts/1 
root      2248  0.5  0.8   5612  3992 pts/1    Ss   10:38   0:00 -bash
root      2318  0.0  0.4   4464  2108 pts/1    R+   10:40   0:00 ps aux

Joe

unread,
Jul 11, 2019, 11:53:04 AM7/11/19
to weewx-user
DISREGARD:

root      2385  0.0  0.0      0     0 ?        S    10:47   0:00 [kworker/0:0]
root      2420 59.1  6.9  69264 31064 ?        Sl   10:48   2:25 python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
root      2442  0.0  0.3   3392  1508 pts/0    S+   10:48   0:00 tail -f syslog
root      2449  0.0  0.0      0     0 ?        S    10:50   0:00 [kworker/u2:0]
root      2450  0.0  0.4   4464  2080 pts/1    R+   10:52   0:00 ps -aux




My USB connection was not working for some reason.  I looked at the SYSLOG and it said there was a USB connection error so I unplugged/plugged in the USB cord to the console and it started back up.

This error was preventing weewx from loading properly.  I had no idea, so I know what to look for later if the USB cord is not cutting it.

Thanks for the replies.
Reply all
Reply to author
Forward
0 new messages