Weather Monitor II and wdisplay

Yeah, I understand. It’s funny that the station’s been running just fine all these years. I think I had to replace the external thermometer and humidity sensor at one point and re-crimp some of the cables, but that’s been it.

try another download update…:wink:

Looks to be working now. Did you change any of the code or just add a debug in?
*debug outdoor hum 75
*debug outdoor hum after offset 75
Current data 09:22:52: Temperature= 70.9 Windspeed =0.0 Gustspeed =0.0 Direction =70 Humidity=75 Barometer=29.9 Daily R
*debug outdoor hum 75
*debug outdoor hum after offset 75
Current data 09:22:54: Temperature= 70.9 Windspeed =0.0 Gustspeed =0.0 Direction =70 Humidity=75 Ba
*debug outdoor hum 75
*debug outdoor hum after offset 75
Read size 1 : 06 Temperature= 70.9 Windspeed =0.0 Gustspeed =0.0 Direction =70 Humidity=75 Barometer=29.9 Daily Rain=0.0 Rain Rate 0.0mm/min
*debug outdoor hum 74
*debug outdoor hum after offset 74
Read size 18 : 01 eb 02 d7 02 00 46 00 a1 4f 31 4a 60 04 00 00 cb e9 ion =70 Humidity=74 Barometer=29.9 Daily Rain=0.0 Rain Rate 0.0mm/min

no, but, I found where the problem was :slight_smile:

OK, great! Thanks for the help!

It took a while to get more than a trace of rain here, but it looks like the Daily total and rain rate are not working although all the other values look good. At this point I’m running the console code in test mode. The laptop is on battery power when it’s connected to the serial port, so I can’t leave it on 24 hours a day. I’m wondering if perhaps I’m not running consolewd long enough? Does the rain values come from the WMII or are they perhaps calculated?

I finally got a decent rainstorm yesterday and I let consolewd run for an hour. During this time, the screen on my Weather Monitor II showed .16 inches of accumulated rain. Daily Rain and Rain Rate in consolewd both stayed at 0. I’m not sure if Daily Rain is calculated over a 24 hour period, but surely the Rain Rate value should change over the course of an hour, right?

HI
I will check on the code and I could add some debug code and you could run that?

Sure, I can do that.

i might have found an issue
try a new update (for consolewd for rapsberry pi 3)

This is being run on a 64 bit Ubuntu system, not a Raspi

ah
it was not very clear
I will make the change for that one and let you know

try a new update…

Okay, I’ll give it a try. We should have thunderstorms on Tuesday. If not, I’ll just pour some water into the rain gauge

Well, this version isn’t printing out any data. I’m not sure if that’s intentional or not. I’m getting stuff like this:
*****Received count = -----------------------------> 1
*****Received count = -----------------------------> 18
ser_read error Resource temporarily unavailable
ser_read error Resource temporarily unavailable
ser_read error Resource temporarily unavailable
ser_read error Resource temporarily unavailable
*****Received count = -----------------------------> 1
*****Received count = -----------------------------> 9
decoding davis wizard/wmii data
*****Received count = -----------------------------> 9
decoding davis wizard/wmii data
ser_read error Resource temporarily unavailable
ser_read error Resource temporarily unavailable
ser_read error Resource temporarily unavailable
*****Received count = -----------------------------> 1
*****Received count = -----------------------------> 18

I spoke a little too soon. Looks like when it gets 19 bytes of data it successfully decodes the data. Still no rain though. I poured a bunch of water into the gauge so it would register for a bit and I’m still getting this:
****Received count = -----------------------------> 19
WMII Data OK
Current data 18:12:26: Temperature= 83.4 Windspeed =0.0 Gustspeed =0.0 Direction =116 Humidity=91 Barometer=29.9 Daily Rain=0.0 Rain Rate 0.0mm/min

let me add some more debug code

try a new update download…

Looks like that got it. I assume rain total is also supposed to be in mm? The data I’m seeing makes sense if that;s the case:
MII Data OK
Current data 15:08:35: Temperature= 70.2 Windspeed =4.8 Gustspeed =1.0 Direction =143 Humidity=100 Barometer=29.9 Daily Rain=1.0 Rain Rate 0.1mm/min
ser_read error Resource temporarily unavailable
ser_read error Resource temporarily unavailable

yes mm
good its OK now :slight_smile: