[Xastir] Davis, Lacrosse weather code modified, need testers.

Tom Russo russo at bogodyn.org
Fri Aug 31 19:46:39 EDT 2012


Davis/Meteo and LaCrosse users:

I have once again hacked on Xastir's weather station code for Davis (with Meteo)
and LaCrosse weather stations.  My latest commit changes Xastir *AND* the
"db2APRS" and "open2300db2APRS" support programs.

My prior commits to Xastir changed the Davis/LaCrosse code in Xastir to honor
the data that was sent for 24-hour, 1-hour, and since-midnight rain information
from the database programs, but in the process caused "total rain" in the 
"Own Weather Data" dialog to be blank if you were running one of these two
weather stations.  That's because neither of those db programs actually
*sends* the total rain (rain since station reset), and prior to that commit
what was really being displayed here was wrong.

This new commit adds Total Rain to the output of the two database programs,
and adds parsing code to the DAVISMETEO code block to handle it.  It also
adds computation of rain-since-midnight for LaCrosse stations, because those
stations don't provide the information.

The LaCrosse code has been tested, because that's the type of weather station
I have.  The Davis/Meteo code, however, has not been tested at all except to
assure that the code compiles.

If you have a Davis weather station and are running Meteo and db2APRS, AND
you are running Xastir CVS, please do a CVS update, rebuild the db2APRS program
and restart that daemon.  Rebuild Xastir, and you should start seeing 
Total Rain populated properly, as well as the other bits of data.

THIS COMMIT DOES NOT CHANGE Davis APRS Data Logger support.  The Data Logger
does not provide total rain and cannot be patched up to do so --- users
of the APRS Data Logger will just have to live with a blank in the "Total 
Rain" box of Own Weather Data.  

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all you get is
 one trick, rational thinking, but when you're good and crazy, oooh, oooh,
 oooh, the sky is the limit!"  --- The Tick




More information about the Xastir mailing list