From huston at srhuston.net Tue Oct 13 09:26:31 2020 From: huston at srhuston.net (Steve Huston) Date: Tue, 13 Oct 2020 12:26:31 -0400 Subject: [Xastir] firenet.us servers down to one? Message-ID: I noticed this morning that my Xastir client is disconnected from firenet, and reconnection attempts give a nice "port full" message. When I query DNS I see firenet.aprs2.net is a CNAME for firenet.us now, and that returns three IPs, only one of which seems to allow connections: $ for H in `host firenet.us | grep -v IPv6 | awk '{print $NF}'` ; do echo http://${H}:14501/ ; done | xargs curl -s | grep title WG3K-CA Status Page -- Steve Huston - W2SRH - Unix Sysadmin, PICSciE/CSES & Astrophysical Sci Princeton University | ICBM Address: 40.346344 -74.652242 345 Lewis Library |"On my ship, the Rocinante, wheeling through Princeton, NJ 08544 | the galaxies; headed for the heart of Cygnus, (267) 793-0852 | headlong into mystery." -Rush, 'Cygnus X-1' From russo at bogodyn.org Tue Oct 13 09:30:38 2020 From: russo at bogodyn.org (Tom Russo) Date: Tue, 13 Oct 2020 10:30:38 -0600 Subject: [Xastir] firenet.us servers down to one? In-Reply-To: References: Message-ID: <20201013163038.GA15480@bogodyn.org> Yes, I'm having the same issue. Firenet's been up and down a bunch lately. I'd emailed Curt about it and he said that his VM was down and others were doing maintenance. Perhaps it's taking longer than expected to get everything back to normal. On Tue, Oct 13, 2020 at 12:26:31PM -0400, we recorded a bogon-computron collision of the flavor, containing: > I noticed this morning that my Xastir client is disconnected from > firenet, and reconnection attempts give a nice "port full" message. > When I query DNS I see firenet.aprs2.net is a CNAME for firenet.us > now, and that returns three IPs, only one of which seems to allow > connections: > > $ for H in `host firenet.us | grep -v IPv6 | awk '{print $NF}'` ; do > echo http://${H}:14501/ ; done | xargs curl -s | grep title > WG3K-CA Status Page > > -- > Steve Huston - W2SRH - Unix Sysadmin, PICSciE/CSES & Astrophysical Sci > Princeton University | ICBM Address: 40.346344 -74.652242 > 345 Lewis Library |"On my ship, the Rocinante, wheeling through > Princeton, NJ 08544 | the galaxies; headed for the heart of Cygnus, > (267) 793-0852 | headlong into mystery." -Rush, 'Cygnus X-1' > _______________________________________________ > Xastir mailing list > Xastir at lists.xastir.org > 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] From morrison.monahans at sbcglobal.net Thu Oct 29 22:07:19 2020 From: morrison.monahans at sbcglobal.net (Steven Morrison) Date: Fri, 30 Oct 2020 00:07:19 -0500 Subject: [Xastir] How to get CWOP weather on APRS network References: Message-ID: I currently have an APRS i-gate xastir running on a raspberry Pi, and a weather station sending weather reports to APRS-IS network using TCP-IP running on another Raspberry Pi running WeeWx.? I want? get the? weather reports from my weather station transmitted over RF network. I can configure the WeeWx program to generate a report and send it to the xastir Pi, but how can i receive that report and transmit it in xastir? Another approach would be to read the new weather entries sent to APRS-IS for my callsign and transmit them from that report. I don't know how to attack this problem, so suggestions are welcome. Steve From edodd at billiau.net Fri Oct 30 02:17:41 2020 From: edodd at billiau.net (Liz) Date: Fri, 30 Oct 2020 20:17:41 +1100 Subject: [Xastir] How to get CWOP weather on APRS network In-Reply-To: References: Message-ID: <20201030201741.48ab8b5a@billiau.net> On Fri, 30 Oct 2020 00:07:19 -0500 Steven Morrison wrote: > Another approach would be to read the new weather entries sent > to APRS-IS for my callsign and transmit them from that report. I'm still doing that. When I'm driving and see my weather displayed I know that everything in the chain is working, and that includes my internet ;) Liz VK2XSE From morrison.monahans at sbcglobal.net Fri Oct 30 06:26:41 2020 From: morrison.monahans at sbcglobal.net (Steven Morrison) Date: Fri, 30 Oct 2020 08:26:41 -0500 Subject: [Xastir] How to get CWOP weather on APRS network In-Reply-To: <20201030201741.48ab8b5a@billiau.net> References: <20201030201741.48ab8b5a@billiau.net> Message-ID: <58c1d370-0e77-ae70-bf4f-836afdb2de2d@sbcglobal.net> Can you explain how you do this? On 10/30/2020 4:17 AM, Liz wrote: > On Fri, 30 Oct 2020 00:07:19 -0500 > Steven Morrison wrote: > >> Another approach would be to read the new weather entries sent >> to APRS-IS for my callsign and transmit them from that report. > I'm still doing that. When I'm driving and see my weather displayed I > know that everything in the chain is working, and that includes my > internet ;) > > Liz > VK2XSE > _______________________________________________ > Xastir mailing list > Xastir at lists.xastir.org > http://xastir.org/mailman/listinfo/xastir From russo at bogodyn.org Fri Oct 30 13:24:55 2020 From: russo at bogodyn.org (Tom Russo) Date: Fri, 30 Oct 2020 14:24:55 -0600 Subject: [Xastir] How to get CWOP weather on APRS network In-Reply-To: <58c1d370-0e77-ae70-bf4f-836afdb2de2d@sbcglobal.net> References: <20201030201741.48ab8b5a@billiau.net> <58c1d370-0e77-ae70-bf4f-836afdb2de2d@sbcglobal.net> Message-ID: <20201030202455.GA64885@bogodyn.org> I can't explain what Liz is doing, but Xastir supports "wxnow.txt" format weather reports in a somewhat kludgy way. Does your weather station by any chance support such a format? The trick is to run a little perl kludge I wrote that masquerades as a Davis Meteo database server --- but instead of polling the Meteo database it reads the wxnow.txt file and serves it up to Xastir in the right format. That script's called "wxnowsrv.pl" in the Xastir scripts directory. You run this script on the machine where the wxnow.txt file is created, then tell Xastir to connect to it as a "Networked WX" interface. See comments at the top of the script for more detail. On Fri, Oct 30, 2020 at 08:26:41AM -0500, we recorded a bogon-computron collision of the flavor, containing: > Can you explain how you do this? > > On 10/30/2020 4:17 AM, Liz wrote: > > On Fri, 30 Oct 2020 00:07:19 -0500 > > Steven Morrison wrote: > > > > > Another approach would be to read the new weather entries sent > > > to APRS-IS for my callsign and transmit them from that report. > > I'm still doing that. When I'm driving and see my weather displayed I > > know that everything in the chain is working, and that includes my > > internet ;) > > > > Liz > > VK2XSE > > _______________________________________________ > > Xastir mailing list > > Xastir at lists.xastir.org > > http://xastir.org/mailman/listinfo/xastir > _______________________________________________ > Xastir mailing list > Xastir at lists.xastir.org > 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] From morrison.monahans at sbcglobal.net Fri Oct 30 22:57:31 2020 From: morrison.monahans at sbcglobal.net (Steven Morrison) Date: Sat, 31 Oct 2020 00:57:31 -0500 Subject: [Xastir] How to get CWOP weather on APRS network In-Reply-To: <20201030202455.GA64885@bogodyn.org> References: <20201030201741.48ab8b5a@billiau.net> <58c1d370-0e77-ae70-bf4f-836afdb2de2d@sbcglobal.net> <20201030202455.GA64885@bogodyn.org> Message-ID: Thanks for the info. I'll investigate it further.? I'm running a Davis Vantage Pro 2, with Weewx reading the weather station console and forwarding the data to the NWS CWOP program. I should be able to create a report to create the wxnow.txt report. On 10/30/2020 3:24 PM, Tom Russo wrote: > I can't explain what Liz is doing, but Xastir supports "wxnow.txt" format > weather reports in a somewhat kludgy way. Does your weather station by > any chance support such a format? > > The trick is to run a little perl kludge I wrote that masquerades as a > Davis Meteo database server --- but instead of polling the Meteo database > it reads the wxnow.txt file and serves it up to Xastir in the right format. > > That script's called "wxnowsrv.pl" in the Xastir scripts directory. > > You run this script on the machine where the wxnow.txt file is > created, then tell Xastir to connect to it as a "Networked WX" interface. > > See comments at the top of the script for more detail. > > On Fri, Oct 30, 2020 at 08:26:41AM -0500, we recorded a bogon-computron collision of the flavor, containing: >> Can you explain how you do this? >> >> On 10/30/2020 4:17 AM, Liz wrote: >>> On Fri, 30 Oct 2020 00:07:19 -0500 >>> Steven Morrison wrote: >>> >>>> Another approach would be to read the new weather entries sent >>>> to APRS-IS for my callsign and transmit them from that report. >>> I'm still doing that. When I'm driving and see my weather displayed I >>> know that everything in the chain is working, and that includes my >>> internet ;) >>> >>> Liz >>> VK2XSE >>> _______________________________________________ >>> Xastir mailing list >>> Xastir at lists.xastir.org >>> http://xastir.org/mailman/listinfo/xastir >> _______________________________________________ >> Xastir mailing list >> Xastir at lists.xastir.org >> http://xastir.org/mailman/listinfo/xastir From russo at bogodyn.org Fri Oct 30 23:04:17 2020 From: russo at bogodyn.org (Tom Russo) Date: Sat, 31 Oct 2020 00:04:17 -0600 Subject: [Xastir] How to get CWOP weather on APRS network In-Reply-To: References: <20201030201741.48ab8b5a@billiau.net> <58c1d370-0e77-ae70-bf4f-836afdb2de2d@sbcglobal.net> <20201030202455.GA64885@bogodyn.org> Message-ID: <20201031060417.GA86173@bogodyn.org> You might take a look at: https://github.com/weewx/weewx/wiki/cwxn and https://www.wxforum.net/index.php?topic=38817.0 On Sat, Oct 31, 2020 at 12:57:31AM -0500, we recorded a bogon-computron collision of the flavor, containing: > Thanks for the info. I'll investigate it further.?? I'm running a Davis > Vantage Pro 2, with Weewx reading the weather station console and forwarding > the data to the NWS CWOP program. I should be able to create a report to > create the wxnow.txt report. > > > On 10/30/2020 3:24 PM, Tom Russo wrote: > > I can't explain what Liz is doing, but Xastir supports "wxnow.txt" format > > weather reports in a somewhat kludgy way. Does your weather station by > > any chance support such a format? > > > > The trick is to run a little perl kludge I wrote that masquerades as a > > Davis Meteo database server --- but instead of polling the Meteo database > > it reads the wxnow.txt file and serves it up to Xastir in the right format. > > > > That script's called "wxnowsrv.pl" in the Xastir scripts directory. > > > > You run this script on the machine where the wxnow.txt file is > > created, then tell Xastir to connect to it as a "Networked WX" interface. > > > > See comments at the top of the script for more detail. > > > > On Fri, Oct 30, 2020 at 08:26:41AM -0500, we recorded a bogon-computron collision of the flavor, containing: > > > Can you explain how you do this? > > > > > > On 10/30/2020 4:17 AM, Liz wrote: > > > > On Fri, 30 Oct 2020 00:07:19 -0500 > > > > Steven Morrison wrote: > > > > > > > > > Another approach would be to read the new weather entries sent > > > > > to APRS-IS for my callsign and transmit them from that report. > > > > I'm still doing that. When I'm driving and see my weather displayed I > > > > know that everything in the chain is working, and that includes my > > > > internet ;) > > > > > > > > Liz > > > > VK2XSE > > > > _______________________________________________ > > > > Xastir mailing list > > > > Xastir at lists.xastir.org > > > > http://xastir.org/mailman/listinfo/xastir > > > _______________________________________________ > > > Xastir mailing list > > > Xastir at lists.xastir.org > > > http://xastir.org/mailman/listinfo/xastir > _______________________________________________ > Xastir mailing list > Xastir at lists.xastir.org > 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] From edodd at billiau.net Sat Oct 31 16:31:48 2020 From: edodd at billiau.net (Liz) Date: Sun, 1 Nov 2020 10:31:48 +1100 Subject: [Xastir] How to get CWOP weather on APRS network In-Reply-To: <58c1d370-0e77-ae70-bf4f-836afdb2de2d@sbcglobal.net> References: <20201030201741.48ab8b5a@billiau.net> <58c1d370-0e77-ae70-bf4f-836afdb2de2d@sbcglobal.net> Message-ID: <20201101103148.21c2fa42@billiau.net> On Fri, 30 Oct 2020 08:26:41 -0500 Steven Morrison wrote: > Can you explain how you do this? > > On 10/30/2020 4:17 AM, Liz wrote: > > On Fri, 30 Oct 2020 00:07:19 -0500 > > Steven Morrison wrote: > > > >> Another approach would be to read the new weather entries sent > >> to APRS-IS for my callsign and transmit them from that report. > > I'm still doing that. When I'm driving and see my weather displayed > > I know that everything in the chain is working, and that includes my > > internet ;) > > > > Liz > > VK2XSE OK I filter the incoming available data from APRS-IS for local data. weeWx has sent out my data to APRS-IS, and I collect it along with other items of local interest (bushfires, storm warnings) and broadcast them all. This also collects packets from HF APRS users in the district, or those sending data to APRS-IS through the phone system. There is a weeWx extension which is able to produce a wxnow.txt file. Because my weeWx and APRS are on different hardware it became too much effort to sort out as the existing system worked most of the time. Liz VK2XSE From aprs at exemail.com.au Sat Oct 31 17:18:32 2020 From: aprs at exemail.com.au (Ray) Date: Sun, 1 Nov 2020 11:18:32 +1100 Subject: [Xastir] How to get CWOP weather on APRS network In-Reply-To: <20201101103148.21c2fa42@billiau.net> References: <20201030201741.48ab8b5a@billiau.net> <58c1d370-0e77-ae70-bf4f-836afdb2de2d@sbcglobal.net> <20201101103148.21c2fa42@billiau.net> Message-ID: <9dad07a7-0a3e-1ea7-e2b1-4811d5709d51@exemail.com.au> On 1/11/20 10:31 am, Liz wrote: > On Fri, 30 Oct 2020 08:26:41 -0500 > Steven Morrison wrote: > >> Can you explain how you do this? >> >> On 10/30/2020 4:17 AM, Liz wrote: >>> On Fri, 30 Oct 2020 00:07:19 -0500 >>> Steven Morrison wrote: >>> >>>> Another approach would be to read the new weather entries sent >>>> to APRS-IS for my callsign and transmit them from that report. >>> I'm still doing that. When I'm driving and see my weather displayed >>> I know that everything in the chain is working, and that includes my >>> internet ;) >>> >>> Liz >>> VK2XSE > OK > I filter the incoming available data from APRS-IS for local data. > weeWx has sent out my data to APRS-IS, and I collect it along with > other items of local interest (bushfires, storm warnings) and broadcast > them all. This also collects packets from HF APRS users in the > district, or those sending data to APRS-IS through the phone system. > There is a weeWx extension which is able to produce a wxnow.txt file. > Because my weeWx and APRS are on different hardware it became too much > effort to sort out as the existing system worked most of the time. > > Liz > VK2XSE > Be aware that the weewx extension cwxn-0.4 provides for three digits of humidity while the APRS Spec calls for just two digits. It's easy enough to change the Python script (/usr/share/weewx/users/cwxn.py at around line 135) to change the 3 for a 2. If used without that change for APRS the last digit for humidity is chopped off so, e.g., 020% appears on APRS as 02%. For APRS 100% appears as 00% with the correct (for APRS) two digit format. ?????? if data['outHumidity'] < 0 or 100 <= data['outHumidity']: ??????????? data['outHumidity'] = 0 ??????? fields.append("h%03d" % int(data['outHumidity'])) <<<<<< The 3 in this line should be replaced with a 2 as per the following line. ??????? fields.append("h%02d" % int(data['outHumidity']))" I use rsync to get wxnow.txt from the wx server to feed to xastir using the xastir_udp_client. I do it that way because some data I receive is in metric format and first needs to be massaged to meet the APRS spec. My combination shell script and perl isn't very pretty but it works! Ray vk2tv From xastir at deej.net Sat Oct 31 17:30:18 2020 From: xastir at deej.net (Dj Merrill) Date: Sat, 31 Oct 2020 20:30:18 -0400 Subject: [Xastir] How to get CWOP weather on APRS network In-Reply-To: References: Message-ID: <4857e645-c88a-4fca-1d65-521d8cc8edef@deej.net> On 10/30/2020 1:07 AM, Steven Morrison wrote: > I can configure the WeeWx program to generate a report and send it to the xastir Pi, but how can i receive that report and transmit it in xastir? I'm doing it as follows in Linux (Raspberry Pi) with both WeeWx and Xastir running on the same RPi, but you could easily rsync the /dev/shm/aprs.kpt file to a different computer if needed. I have the APRS extension loaded into WeeWx (https://github.com/cavedon/weewx-aprs). In /etc/weewx/weewx.conf I have: # Options for extension 'aprs' [APRS] ??? comment = "RaspberryPi-Xastir-Wx-Topsham,ME" ??? include_position = 1 ??? symbol_code = _ ??? symbol_table = / ??? output_filename = /dev/shm/aprs.pkt Then I have a crontab entry that does: 01,11,21,31,41,51 * * * * /home/xastir/scripts/send-weather-rf.sh > /dev/null and the send-weather-rf.sh script looks like (XXXX is my 4 digit APRS code): #!/bin/bash # weatherpacket=`cat /dev/shm/aprs.pkt` /usr/local/xastir/bin/xastir_udp_client localhost 2023 N1JOV XXXX -to_rf $weatherpacket I am using an older version of Xastar (2.1.1) compiled from source code, and had to make the following change in main.c to make the xastir_udp_client command work for the above.? I do not know if this still needs to be done in later versions. main.c is my custom version, main.c.orig is the original. $ diff main.c main.c.orig 12180,12183c12180,12183 < //??????????????????????????? char path[100+1]; < //??????????????????????????? char info[100+1]; < //??????????????????????????? char *path0 = NULL; < //??????????????????????????? char *info0 = NULL; --- >???????????????????????????? char path[100+1]; >???????????????????????????? char info[100+1]; >???????????????????????????? char *path0 = NULL; >???????????????????????????? char *info0 = NULL; 12187,12188c12187,12188 < //??????????????????????????? path0 = strtok(line,":");?? // Pointer to start of path < //??????????????????????????? info0 = strtok(NULL,"");??? // Pointer to information field --- >???????????????????????????? path0 = strtok(line,":");?? // Pointer to start of path >???????????????????????????? info0 = strtok(NULL,"");??? // Pointer to information field 12190,12197c12190,12196 < //??????????????????????????? xastir_snprintf(path, sizeof(path), "%s", path0); < //??????????????????????????? xastir_snprintf(info, sizeof(info), "%s", info0); < //??????????????????????????? //fprintf(stderr, "path: %s\n", path); < //??????????????????????????? //fprintf(stderr, "info: %s\n", info); < //??????????????????????????? //fprintf(stderr, "line: %s\n", line); < //??????????????????????????? xastir_snprintf(line, sizeof(line), "%s%s%s", path, ",NOGATE:", info); < //??????????????????????????? xastir_snprintf(line, sizeof(line), "%s%s%s", path); < //??????????????????????????? //fprintf(stderr, "line: %s\n", line); --- >???????????????????????????? xastir_snprintf(path, sizeof(path), "%s", path0); >???????????????????????????? xastir_snprintf(info, sizeof(info), "%s", info0); >???????????????????????????? //fprintf(stderr, "path: %s\n", path); >???????????????????????????? //fprintf(stderr, "info: %s\n", info); >???????????????????????????? //fprintf(stderr, "line: %s\n", line); >???????????????????????????? xastir_snprintf(line, sizeof(line), "%s%s%s", path, ",NOGATE:", info); >???????????????????????????? //fprintf(stderr, "line: %s\n", line); 12239c12238 < // *(line + line_offset - 1) = '}'; --- > *(line + line_offset - 1) = '}'; 12242,12243c12241 < //??????????????????????????????? (char *)(line + line_offset - 1),? // Raw data line ???????????????????????????????? (char *)(line + line_offset - 1),? // Raw data line -Dj -- Dj Merrill - N1JOV - EAA Chapter 87 Currently Flying: Glastar Previously: Cessna 150 - Glasair 1 FT - Grumman AA1B