CQ Blind Hams

CQBH 54 Adding weather data announcements to auto-sky in allstar


Listen Later

From NE5V

The weather_data.php script works as a companion to AutoSky.  It is not a replacement.  It uses AutoSky to obtain any information on warnings in your area. 

Go to www.kd8tig.com/downloads and look for the file:  weather_data.tgz.  Then copy it to a directory on your node.  I used /usr/local/sbin.

 

A cleaner and faster way to get this is to ssh into your node, and in the directory of your choice execute the following command.  I will use my example.

cd /usr/local/sbin

wget http://www.kd8tig.com/downloads/weather_data.tgz


Once you have this file in the /usr/local/sbin directory by using one of these methids do the following:


tar zxvf weather_data.tgz

 

The resulting file is weather_data.php

 

If you find that file, you need to make it executable.  To do this type

Chmod + x weather_data.php

 If you are not in the directory where the file exists then include the full pathname to the file such as /usr/local/sbin/weather_data.php

At this point, it's a good idea to test the script in case you encounter any problems.  I went to option 9 on the hamvoip menu which is the Bash shell prompt. and ran the script with a radio turned on to see what happened.

Then you can add a function in the [functions stanza located in rpt.conf to call the script.  It could look something like this.

83=cmd,/usr/local/sbin/weather_data


Once the function is created and files are loaded, go to option 11 on the main menu of the node, which is the asterisk client.

 

Type

Rpt reload

 

This reloads rpt.conf

 

Then, when AutoSky issues a warning, you can press *83 to see what the warning is.  If there are no warnings or watches, invoking the script will report no active watches or warnings.  

 

You can choose any function.  I chose *83 since *81 and *82 are time and weather related. 

...more
View all episodesView all episodes
Download on the App Store

CQ Blind HamsBy Joel Case

  • 4.6
  • 4.6
  • 4.6
  • 4.6
  • 4.6

4.6

5 ratings


More shows like CQ Blind Hams

View all
Maccessibility by Maccessibility

Maccessibility

16 Listeners

icqpodcast's Amateur / Ham Radio Podcast by ICQ Podcast

icqpodcast's Amateur / Ham Radio Podcast

64 Listeners

9to5Mac Happy Hour by 9to5Mac

9to5Mac Happy Hour

718 Listeners

Double Tap by Double Tap Productions Inc.

Double Tap

24 Listeners