Editing time announcement at top of hour to include weather

I have located the code for the DTMF commands file with the "saytime.pl" script that allows me to broadcast time and weather using DTMF commands.

I would like to broadcast not only time but also weather conditions at the top of the hour.

Can that edit be done through the Supermon Config Editor or do I have to SSH in? Also, what file does the script reside in?

Hi,
Yesterday i watched a recently uploaded You Tube film from "Ham Radio Crusader" doing exactly this.
Explains what file and even witch line to edit and with what.
Haven't tried it yet myself but it looks quite easy.
Was simply adding your postcode in a line.
Hope you get it working

I watch that video also, but wasn’t that ham pop, not the AllStar code?

I used this several times and works like a charm

or an even easier one

1 Like

On mine, I just have a cron entry for each of the 3 repeaters (2m/1.25/70cm all tied on the same pi)

00 0-23 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/saytime.pl w-KTXCEDAR256 425630 > /dev/null)

This triggers at the top of the hour.
The “w-KTXCEDAR256 425630” gets the wx from weather underground (w-XXX , you can use any WXU station ID) which is my station in the backyard (KTXCEDAR256) , so I know what the temp is at my house, not some random place in town, and then the node number (a separate crontab line for each node 425630 425631 425632)

edit /usr/local/etc/allstar.env (change values to your node/WXU stn/node):

# defines the primary node (node1) number
export NODE1=425631
# if using WxUnderground:
export WUNDERNODE="KTXCEDAR256"

In fact, it just went off….61*F here… (on all 3 machines with a slight echo effect :slight_smile: )

73

Jim