[Xastir] Oregon Scientific wmr200

Jason KG4WSV kg4wsv at gmail.com
Sun Oct 29 10:19:45 PDT 2017


On Sun, Oct 29, 2017 at 11:47 AM, Tom Russo <russo at bogodyn.org> wrote:
>
> Oh, yeah, and looking over Joe's use case, where the wxnow.txt file is
> generated on one Pi and consumed by a different pi in a different part of the
> house, the network daemon approach is ideal --- the daemon would run on
> the machine where wxnow.txt is created, and Xastir on any machine anywhere
> in the house, connecting to that daemon on the other machine for its weather
> data.  No need for samba (ugh) or other file sharing techniques.
>
> So again, my first option described below should be low-hanging fruit for
> anyone who already knows how to write quickie Python network server scripts.
> Or an interesting project for someone who *wants* to know how to do that and
> who has the spare cycles to do the learning.

perl not python, but feel free to hack at

http://www.ece.uah.edu/~jdw/rockets/gps2aprs.txt

This script takes an NMEA sentence and sticks a prefix onto it,
thereby making an (inefficient) APRS position report out of it.  This
is pretty close to what Tom is suggesting, if I'm understanding
correctly. it assumes it is running on the xastir system, but change
"localhost" to the name of the remote pi and you're in business for
remote connectivity.

about the first 20 and the last 20 lines relate to getting data to
xastir via its server port. The stuff in between is extracting data
from a serial port, which isn't relevant.  Reading from a txt file is
a couple of lines easily derived by googling.

In order to get xastir to put it on the air, you'll have to do the
configuration steps to make xastir gateway the weather packets, but I
think that is already documented elsewhere.

and _please_ put coordinates on it, so it's not a position less
weather packet...

-Jason
kg4wsv


More information about the Xastir mailing list