[Xastir] Request to add Davis Vantage Pro WX format input

Tom Russo russo at bogodyn.org
Thu Mar 15 13:07:26 EDT 2012


On Thu, Mar 15, 2012 at 09:17:03AM -0700, we recorded a bogon-computron collision of the <aa9vi at yahoo.com> flavor, containing:
> Hi Guys, 
> Would it be possible to add the WX format output from the program "Weather Display" into Xastir so it can be integrated into the station's APRS output string?? You currently have Meteo with MySQL doing this but I have had a HECK of a HARD time getting Meteo to do anything with my Davis Vantage Pro2.? I was very successful getting this program called Weather Display to play nicely with MySQL.? Xastir just isn't parsing the .txt output string (or I'm not doing something right).
> 
> So, Weather Display outputs a file called? WXNOW.TXT and it is in this form:
> Mar 14 2012 11:06
> 240/003g003t071r000p000P000h73b10146
> 
> I think the procedure is to open Xastir and specify the a networked WX station and enter the MYSQL port.? But I keep getting an error.? Meteo isn't supported anymore so I'm hoping someone could incorporate Weather Display's output into Xastir.

No, the procedure is to run a separate daemon that reads the MySQL data and
feeds Xastir a string of weather data in a specific format.  That's why you're
getting an error just pointing Xastir directly at the MySQL port.  This is
documented in the INSTALL documenation file in the Xastir source directory.
It looks like nobody ever made a Wiki entry for it, so the definitive docs
are the ones in the source (as is mostly the case).

See the program "db2APRS" in the Xastir source directories under the "Davis"
subdirectory.  This is the daemon you have to run.  You have to build it 
separately from Xastir (it isn't built from the top level), and have to run it 
along side meteo and mysql (meteo populates the mysql database, and db2APRS 
reads the database and feeds Xastir).  Then you point Xastir at the port that 
db2APRS listens on (1313, if I'm remembering correctly, or at least that's the 
port on which the LaCrosse-specific clone of this daemon runs (its source is 
in the LaCrosse directory of the Xastir source)).

The Davis APRS data logger accessory for the Vantage Pro can let you feed
Xastir directly from the weather station.  In that case, you just point Xastir
at the serial port to which the logger's attached.  But if you've just go the
weather station, you have to go the Meteo->MySQL->db2APRS route.

-- 
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