Author Topic: Weewx on RPi - setting custom comment APRS  (Read 994 times)

0 Members and 1 Guest are viewing this topic.

Offline export!

  • Member
  • *
  • Posts: 3
Weewx on RPi - setting custom comment APRS
« on: December 07, 2020, 01:31:27 PM »
Here's a recent raw aprs packet generated by weewx

2020-12-07 13:15:24 EST: VA3DMZ>APRS,TCPIP*,qAC,NINTH:@071815z4216.26N/08301.38W_347/003g006t035r000p000P000b10162h70.weewx-3.8.2-AcuRite

How do I change the comment at the end of the packet?   

Thanks!

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 6822
Re: Weewx on RPi - setting custom comment APRS
« Reply #1 on: December 07, 2020, 01:42:18 PM »
It looks to me like you are using an Acurite station. Why would you want to change the station type identifier? It isn't intended to be a comment.
https://www.wunderground.com/dashboard/pws/IWINDSOR32
(click on the "i" in circle and it gives you station info)

Your station configuration in WeeWX determines this. This field is not intended to be user customizable.
The settings that you enter affect the reporting telemetric data of particular use.
If everyone could just enter in whatever they wanted into the field then the telemetric data would be useless.

See here:
https://weather.gladstonefamily.net/cgi-bin/wxequip.pl

It is possible that this information is used elsewhere.

You could upgrade WeeWX and then it would change to say 4.2.0-AcuRite  :lol:
« Last Edit: December 07, 2020, 02:14:45 PM by galfert »
Ecowitt GW1000 | Meteobridge on Raspberry Pi
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline vinceskahan

  • Senior Contributor
  • ****
  • Posts: 182
    • home site
Re: Weewx on RPi - setting custom comment APRS
« Reply #2 on: December 08, 2020, 08:30:19 PM »
How do I change the comment at the end of the packet?   

You'd have to hack on the source code.

Look in restx.py around line 1279 for where it assembles that string that's appended to the data, but remember that your hacks will be overwritten by any weewx updates 'and' you would possibly be risking the stability of your posts, and maybe even the stability of your system running reliably, depending on how much you mess with things.

But I'd add a second 'why do you want to do that ???'

WeeWX sites:
  Davis VP2+DFARS to a pi4
  EcoWitt GW1000, WH32 outdoor T+H, multiple WH31 indoor T+H, WH51 soilMoisture, WH34 soilTemp (pi4)
  Davis AirLink (inside)
  PurpleAir (outside)
Home site:        https://www.skahan.net/
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:              CW6881

Offline export!

  • Member
  • *
  • Posts: 3
Re: Weewx on RPi - setting custom comment APRS
« Reply #3 on: December 08, 2020, 11:15:58 PM »

But I'd add a second 'why do you want to do that ???'

I've added an allstar simplex node and I would like to announce it for use on the aprs.fi site.   Ham radio geek stuff.

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 6822
Re: Weewx on RPi - setting custom comment APRS
« Reply #4 on: December 09, 2020, 12:25:28 AM »
Yeah but that would not be something to announce on a weather packet that is also not using a radio. At least I've never seen it. If I'm wrong show me evidence of someone else doing this.


« Last Edit: December 09, 2020, 12:33:18 AM by galfert »
Ecowitt GW1000 | Meteobridge on Raspberry Pi
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline export!

  • Member
  • *
  • Posts: 3
Re: Weewx on RPi - setting custom comment APRS
« Reply #5 on: December 09, 2020, 09:17:24 PM »
Not trying to prove you wrong.   Just posting the question got me to understand I was looking at it from the wrong direction.

I jumped into the Allstar software and quickly found the correct (and extremely easy) way to enable aprs beaconing via the hotspot/node software.

Thanks for focusing my efforts guys.

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 6822
Re: Weewx on RPi - setting custom comment APRS
« Reply #6 on: December 09, 2020, 11:17:47 PM »
Great and I learned something too. I now see that your Allstar is identifying itself as your ID -5....and it is a separate packet from weather as I suspected. I'm not a ham so this is new stuff for me.

2020-12-09 23:12:55 EST: VA3DMZ-5>APRS,TCPIP*,qAC,T2STRAS:=4216.25N/08301.39WrPHG1230/AllStar Node 52889 446.150 tone 127.3
« Last Edit: December 09, 2020, 11:19:51 PM by galfert »
Ecowitt GW1000 | Meteobridge on Raspberry Pi
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole