Tom & Liz - you have both given me options to explore. I appreciate your help and may ask for some clarification. Thanks!
dave ------------------------- David G. Bodnar 338 Bower Hill Road Pittsburgh, PA 15228 (412)343-0706 On Sun, Mar 8, 2015 at 12:00 PM, <[email protected]> wrote: > Send Xastir mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://xastir.org/mailman/listinfo/xastir > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xastir digest..." > > > Today's Topics: > > 1. Weather Station Interface (Dave Bodnar) > 2. Re: Weather Station Interface (Tom Russo) > 3. Re: Weather Station Interface (Liz) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 7 Mar 2015 12:18:54 -0500 > From: Dave Bodnar <[email protected]> > To: [email protected] > Subject: [Xastir] Weather Station Interface > Message-ID: > < > cakfrpi0g1qzwfz8_q6+b_zuyx6hrt_dw23hpbfjrmsdh23k...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Good day, all - I have a XASTIR system set up and working well. > > I also have a Rainwise MKIII weather station (see: > http://www.rainwise.com/ > ) and the Ethernet interface that sends data to the Weather Underground. > > I would like to add this same data to XASTIR but the Rainwise units are not > supported. > > I have searched the web for several days and not found anything that seems > practical. > > The most promising option may be to take the data from my unit which looks > like this: > > *2015/03/07 12:15:27 7.2 0090C2EE7B0F 192.168.1.19 255.255.255.0 > 192.168.1.1 1 English mph 36.0 37.0 14.0 57 88 55 30.14 30.26 30.13 0.03 > 0.0 247 3.0 202 66.0 67.0 62.0 * > > and parse it with a script or Python program and use one of the existing > weather station options, Davis, perhaps. > > Unfortunately I have not been able to find the Davis file description and > how I would enter that into the *Networked WX *option box. > > Any help, guidance or suggestions would be appreciated. > > thanks! > dave (N3ENM) > > ------------------------- > David G. Bodnar > 338 Bower Hill Road > Pittsburgh, PA 15228 > (412)343-0706 > > > ------------------------------ > > Message: 2 > Date: Sat, 7 Mar 2015 10:59:23 -0700 > From: Tom Russo <[email protected]> > To: Xastir - APRS client software discussion <[email protected]> > Subject: Re: [Xastir] Weather Station Interface > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > On Sat, Mar 07, 2015 at 12:18:54PM -0500, we recorded a bogon-computron > collision of the <[email protected]> flavor, containing: > > Good day, all - I have a XASTIR system set up and working well. > > > > I also have a Rainwise MKIII weather station (see: > http://www.rainwise.com/ > > ) and the Ethernet interface that sends data to the Weather Underground. > > > > I would like to add this same data to XASTIR but the Rainwise units are > not > > supported. > > > > I have searched the web for several days and not found anything that > seems > > practical. > > > > The most promising option may be to take the data from my unit which > looks > > like this: > > > > *2015/03/07 12:15:27 7.2 0090C2EE7B0F 192.168.1.19 255.255.255.0 > > 192.168.1.1 1 English mph 36.0 37.0 14.0 57 88 55 30.14 30.26 30.13 0.03 > > 0.0 247 3.0 202 66.0 67.0 62.0 * > > > > and parse it with a script or Python program and use one of the existing > > weather station options, Davis, perhaps. > > > > Unfortunately I have not been able to find the Davis file description and > > how I would enter that into the *Networked WX *option box. > > > > Any help, guidance or suggestions would be appreciated. > > Your best bet is probably to craft a daemon similar to either the Davis or > Lacrosse daemons tucked away in the Xastir source tree. These listen on > a network port for connections from clients, then for each connection > throw a data packet at the listening client. > > The LaCrosse daemon is already faking out Xastir by claiming to be a > Davis, so > you might as well copy what it's doing. > > The LaCrosse daemon (which I use) works by reading a mysql database to get > the weather info. That database is populated by a different program (one > from the "open2300" suite). But you needn't really go there. If your > weather unit provides all the data Xastir needs, all your own daemon need > do is read that data and reformat it. > > The data provided by the daemon to Xastir is basically already in APRS > weather report format, but Xastir doesn't just spit it back out --- it > parses the data and stores it internally, then reconstructs it when the > time > comes to transmit. > > The strings out of the daemon would look like this: > > c158s004g...t053r000p000h35b10247xDvs > > This is read as "wind course 158, speed 4knts, gust not computed. > Temperature > 53 degrees F, no rain last hour, no rain last 24 hrs. Relative humidity > 35%, barometric pressure 1024.7mb, weather station type Davis." The last > is a lie, because Xastir doesn't grok other station types. > > If you can get a program to spit out data in that format to a network port, > you've got the problem solved, and can connect Xastir to that network > port. > The code for listening to the port for connections and maintaining client > lists > is present in both the Davis and LaCrosse codes (db2APRS and > open2300db2APRS, > respectively). 'twould just be a matter of gutting them to take out the > parts that read the mysql database and changing it to read your own > station's > data somehow. > > You'll have a fun coding project, for sure. Especially if your station > doesn't provide some of the information that Xastir is expecting in exactly > the way that Xastir is expecting it. But you can burn those bridges when > you come to them. > > -- > Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/ > Tijeras, NM QRPL#1592 K2#398 SOC#236 > http://kevan.org/brain.cgi?DDTNM > echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] > [n-z][a-m] > > > ------------------------------ > > Message: 3 > Date: Sun, 8 Mar 2015 08:35:35 +1100 > From: Liz <[email protected]> > To: [email protected] > Subject: Re: [Xastir] Weather Station Interface > Message-ID: <[email protected]> > Content-Type: text/plain; charset=US-ASCII > > On Sat, 7 Mar 2015 12:18:54 -0500 > Dave Bodnar <[email protected]> wrote: > > > Good day, all - I have a XASTIR system set up and working well. > > > > I also have a Rainwise MKIII weather station (see: > > http://www.rainwise.com/ ) and the Ethernet interface that sends data > > to the Weather Underground. > > > > I would like to add this same data to XASTIR but the Rainwise units > > are not supported. > > > > I have searched the web for several days and not found anything that > > seems practical. > > > > The most promising option may be to take the data from my unit which > > looks like this: > > > > *2015/03/07 12:15:27 7.2 0090C2EE7B0F 192.168.1.19 255.255.255.0 > > 192.168.1.1 1 English mph 36.0 37.0 14.0 57 88 55 30.14 30.26 30.13 > > 0.03 0.0 247 3.0 202 66.0 67.0 62.0 * > > > > and parse it with a script or Python program and use one of the > > existing weather station options, Davis, perhaps. > > > > Unfortunately I have not been able to find the Davis file description > > and how I would enter that into the *Networked WX *option box. > > > > Any help, guidance or suggestions would be appreciated. > > > > thanks! > > dave (N3ENM) > > > > Dave, did you look at Weewx? It can read the Rainwise, and send to > CWOP, so it can produce the data in an appropriate format. > Weewx group is at [email protected] > Liz > VK2XSE > > > ------------------------------ > > _______________________________________________ > Xastir mailing list > [email protected] > http://xastir.org/mailman/listinfo/xastir > > > End of Xastir Digest, Vol 85, Issue 1 > ************************************* > _______________________________________________ Xastir mailing list [email protected] http://xastir.org/mailman/listinfo/xastir
