I think I have this working, maybe. The APRS extension to weewx creates a text file with a weather packet, such as:

/272050z4355.97N/06956.34W_031/003g006t000r000P023h37b06495WX-Topsham,Maine

I have a script that reads that file and sends the packet with:

xastir_udp_client localhost 2023 N1JOV-7 (passcode) -to_rf -to_inet "/272050z4355.97N/06956.34W_031/003g006t000r000P023h37b06495WX-Topsham,Maine"

where (passcode) is my 4 digit APRS passcode.

Within Xastir I can see the packets being transmitted via the RF link, and can view them from another APRS station over the RF link.

However, I (perhaps incorrectly) assumed that the weather data would show up under the "weather" tab on aprs.fi:
https://aprs.fi/weather/a/N1JOV-7

I don't see anything, and I also don't see the "raw" weather packets on aprs.fi either.

Am I misunderstanding how weather data works, or is it just not doing what I expected?

-Dj


On 10/1/2018 9:38 PM, Dj Merrill wrote:
I think I have figured out one possibility that I will test once I have some time.

There is a WeeWX extension to generate APRS packets and write them to a file:
https://github.com/cavedon/weewx-aprs

If I can get that to work, I can write a simple bash script that will read that file, and use the Xastir command "xastir_udp_client" to send the data to either the RF port, the Internet, or both. Call the script from a cron job that runs as often as needed.

I should be able to do some simple checks to ensure that the same data isn't sent twice (ie, if the file hasn't been updated, don't do anything).

Assuming all of that works, I'll be able to use WeeWX to send the weather data to the Internet servers directly, and to generate the html files to be able to view the weather station data directly, then enable the above script if I want to send the weather data over RF using Xastir.

I'll let you know how it goes.

-Dj


_______________________________________________
Xastir mailing list
[email protected]
http://xastir.org/mailman/listinfo/xastir

Reply via email to