Thanks Tom for this. I did not remember that it was in the distribution now. The script is running fine on my Raspberry pi with a connection to another pi running my CumulusMX weather station.
Joe Sent from Mail for Windows 10 From: Tom Russo Sent: November 27, 2019 12:26 AM To: Xastir - APRS client software discussion Subject: Re: [Xastir] Ambient Weather Station On Tue, Nov 26, 2019 at 12:10:24PM -0500, we recorded a bogon-computron collision of the <[email protected]> flavor, containing: > > If the Ambient uses the wxnow.txt format, I have a script that was kindly > provided to me by Tom Russo on the Xastir list. You will have to create a > network connected port on xastir and on the ambient computer. If you need > it, email me and I will send it. The wxnow script is actually in the distribution now in the scripts directory (wxnowsrv.pl). It masquerades as a networked weather station (like Davis or LaCrosse do), but reads the wxnow.txt file at fixed intervals. To run it, you provide the path to the file and the period with which it should be checked for changes. You can give it an optional port number to listen on, or it'll pick 5500 by default. /usr/local/share/xastir/scripts/wxnowsrv.pl /path/to/wxnow.txt 60 will check the file every minute for changes. Then you just add a networked WX interface to Xastir, and point it at this server port. Doesn't have to be running on the same machine as Xastir, even. > Joe VA3JLF > > > Sent from Mail for Windows 10 > > From: Curt Mills > Sent: November 26, 2019 9:54 AM > To: Xastir - APRS client software discussion > Subject: Re: [Xastir] Ambient Weather Station > > Does it use its own protocol? If so it's unlikely to be supported by > Xastir. Unless... There was some universal file format that Xastir > doesn't support but somebody may have written a script to parse it and > feed to Xastir (nagging feeling in the back of my mind that I may have > heard about that): If so you might have a chance. WXNOW format maybe? > Somebody else pipe in that knows more please. > > On Mon, Nov 25, 2019 at 6:28 PM Chip Griffin <[email protected]> wrote: > > > > Has anyone connected (or attempted to connect) an Ambient Weather Station > > to Xastir? I don???t have one, but I am looking at one. > > > > > > -- > > Chip > > > > _______________________________________________ > > Xastir mailing list > > [email protected] > > http://xastir.org/mailman/listinfo/xastir > > > > -- > Curt, WE7U http://we7u.wetnet.net http://www.sarguydigital.com > _______________________________________________ > Xastir mailing list > [email protected] > http://xastir.org/mailman/listinfo/xastir > > _______________________________________________ > Xastir mailing list > [email protected] > http://xastir.org/mailman/listinfo/xastir -- Tom Russo KM5VY Tijeras, NM echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m] _______________________________________________ Xastir mailing list [email protected] http://xastir.org/mailman/listinfo/xastir _______________________________________________ Xastir mailing list [email protected] http://xastir.org/mailman/listinfo/xastir
