[arm-allstar] wx activate

Doug Crompton wa3dsp at gmail.com
Sun Jul 1 11:49:57 EST 2018


Dean,

  There are two weather scripts in /usr/local/sbin -  weather.sh and
wx_condition.sh.

weather.sh given your  local zip, airport designator, or wunderground code
will display the temperature and weather conditions. This script is also
used by saytime.pl to say the weather along with the time when it is called
and if desired.

Here is an example of how to add the local weather condition and
temperature to the hourly time broadcast.

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

Notice the *08204* which is my local zip. Adding this or the local airpport
designator or wunderground ID (with w-ID) gives the weather condition and
temperature. Only temperature is given with wunderground.

The wx_condition.sh script will say all of the current weather statistics
to a node again given the zip, airport designator, or wunderground station
ID.

For weather alerts see the AutoSky howto at the hamvoip.org web page.


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*



On Sun, Jul 1, 2018 at 12:11 PM, "Dean Martinson via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Have been poking around in the arcives and would like to activate weather
> and temp.Any ideas?
>
> thanks
> Dean
> K9QB
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>


More information about the arm-allstar mailing list