Running wview on my RasPi connected to Oregon Scientific WMR200A weather station.
In case anybody else comes across this problem ...
Last night, I upgraded my RasPi to pick up the new bash against the Shellshock exploit. I rebooted after to make sure everything was clean. I run the RasPi as a headless server, so I never was close to the physical RasPi, OreSci, cables or anything. As always, I ssh'ed in from my laptop in my easy chair.
After I rebooted, wview stopped working. I rebooted again. Still nothing. I reset the WMR200 console. Nothing. I power-cycled the RasPi. Nothing. Checking the logs, I saw this repeating:
Sep 27 00:30:15 raspberrypi wviewd[2881]: : wmrInit: found D0-D9 framed protocol Sep 27 00:30:15 raspberrypi wviewd[2881]: : wmrInit: waiting for first sensor packets (this may take some time): Sep 27 00:30:15 raspberrypi wviewd[2881]: : wview requires one packet from each sensor suite (except rain) before it can complete initialization. Sep 27 00:30:15 raspberrypi wviewd[2881]: : If one of your sensors is out of range or malfunctioning, wview will not complete initialization. Sep 27 00:30:15 raspberrypi wviewd[2881]: : wmrInit: waiting for sensors: Wind Rain Temp Pressure Sep 27 00:30:16 raspberrypi wviewd[2881]: : received RAIN packet... Sep 27 00:30:36 raspberrypi wviewd[2881]: : wmrInit: waiting for sensors: Wind Temp Pressure Sep 27 00:30:38 raspberrypi wviewd[2881]: : received PRESSURE packet... Sep 27 00:30:57 raspberrypi wviewd[2881]: : wmrInit: waiting for sensors: Wind Temp Sep 27 00:31:17 raspberrypi wviewd[2881]: : wmrInit: waiting for sensors: Wind Temp Sep 27 00:31:37 raspberrypi wviewd[2881]: : wmrInit: waiting for sensors: Wind Temp Sep 27 00:31:41 raspberrypi wviewd[2881]: : wmr: Sending reset to console... Sep 27 00:31:49 raspberrypi wviewd[2881]: : received RAIN packet... Sep 27 00:31:58 raspberrypi wviewd[2881]: : wmrInit: waiting for sensors: Wind Temp Sep 27 00:32:18 raspberrypi wviewd[2881]: : wmrInit: waiting for sensors: Wind Temp Sep 27 00:32:35 raspberrypi wviewd[2881]: : received RAIN packet...
I could see on the WMR200 console that the Wind and Temp displays were blank.
Even after waiting several minutes, nothing. I reset the Wind sensor. Nothing. I changed the Wind sensor batteries, reset it and reset the WMR200 console. Still nothing.
Finally, I pulled the USB cable from the WMR200 console, and the Wind and Temp displays suddenly filled in with correct values , without me having to reset the console. I immediately plugged the USB cable back in, and everything magically started working again. vwview was pulling the data and populating its web pages, doing the SSH to my web server, and all was right again with the world.
Lesson learned: if something like this happens again, start with the USB cable on the WMR200 console, even though it makes absolutely no sense from doing a software upgrade on the RasPi.
JimR