Sorry for bringing an old thread up here. I just posted this to the related wxforum post:
https://www.wxforum.net/index.php?topic=38877I'll copy-paste my post here:
Following this thread and some threads and references elsewhere, I just got my WX station working with direwolf and weewx running on an rpi, and I wanted to point out that there's a small issue with the cwxn.py implementation, at least for APRS use.
At first I thought everything was going great - I was beaconing out the wxnow.txt info and looking at
aprs.fi everything looked good. But then I looked at the info in findu and noticed the dew point seemed to be messed up. Looking at it more closely, that was because the humidity was wrong. Instead of, for example, 92%, it was showing up as 9%. So I took a closer look at the format of the data. The humidity is being formatted as a 3 digit number by cwxn. But the APRS spec and CWOP spec indicate it should be 2 digits, and 00 should be interpreted as 100%. Apparently
aprs.fi is being tolerant of the 3-digit number, but findu is not.
I made a small change to cwxn.py to convert 100 to 0 and to format as %02d instead of %03d. All looks good in both
aprs.fi and findu now.
BTW, in case it's relevant, I'm using the cwxn.py that was posted earlier in this thread by gjr80.
My station:
https://tempestwx.com/station/28304https://www.wunderground.com/dashboard/pws/KCAPACIF205http://www.findu.com/cgi-bin/wxpage.cgi?call=AE6DC-5&last=240https://aprs.fi/info/a/AE6DC-5-Dave AE6DC