[arm-allstar] Weather Conditions standalone script

Kevin Bednar II n2kmb.r at gmail.com
Mon Jun 12 09:58:49 EST 2017


works well i just gave it a shot a little handy script

On Mon, Jun 12, 2017 at 12:20 AM, "Jeremy Utley via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> I have uploaded the modified script into my personal Git repo on Github.
> It
> can be downloaded with the following URL:
>
> https://raw.githubusercontent.com/nq0m/allstar-scripts/master/say_wx.pl
>
> For anyone who would like to experiment with this script in the meantime,
> the following instructions *should* help you to install it.
>
> 1. Log into your node, use the "9" option to drop to the shell
> 2. Enter the command "cd /usr/local/sbin"
> 3. Enter the command "wget
> https://raw.githubusercontent.com/nq0m/allstar-scripts/master/say_wx.pl"
> 4. Enter the command "chmod 755 /usr/local/sbin/say_wx.pl"
> 5. Edit the /etc/asterisk/rpt.conf file, and add a line similar to the
> following:
>
> 883=cmd,/usr/local/sbin/say_wx.pl (wxid) (node-id)
>
> Note I chose the 883 command to go along with the 880/881/882 of AutoSky -
> you can choose whatever DTMF code you wish.  The wxid option can be
> anything
> supported by the weather.sh script - either zip code, airport designator,
> or
> WUnderground ID.
>
> The script works great on both my currently active nodes, but no guarantees
> on results for anyone else.
>
> Doug, feel free to do any cleanup you might need - my edit job was quick,
> so
> some of the indenting may be a little off.
>
> Jeremy, NQ0M
>
> -----Original Message-----
> From: Jeremy Utley [mailto:jerutley at gmail.com]
> Sent: Sunday, June 11, 2017 3:07 PM
> To: 'ARM Allstar' <arm-allstar at hamvoip.org>
> Cc: 'Doug Crompton' <wa3dsp at gmail.com>
> Subject: RE: [arm-allstar] Weather Conditions standalone script
>
> Will happily do so, Doug!  I'm really surprised nobody had done this yet!
>
> Jeremy, NQ0M
>
> -----Original Message-----
> From: arm-allstar [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of
> "Doug Crompton via arm-allstar"
> Sent: Sunday, June 11, 2017 2:52 PM
> To: ARM Allstar <arm-allstar at hamvoip.org>
> Cc: Doug Crompton <wa3dsp at gmail.com>
> Subject: Re: [arm-allstar] Weather Conditions standalone script
>
> Jeremy,
>
>  Yes, send me a copy of the script it might be useful to some. we could
> include it in the next update.
>
> Doug
>
> On Sun, Jun 11, 2017 at 3:02 PM, "Jeremy Utley via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > I don't know if anyone had bothered to do this yet, but I had a need,
> > so I did it today.
> >
> >
> >
> > We all know the saytime.pl script can accept a zip code, airport code,
> > or WUnderground ID to call weather.sh script and include weather
> conditions.
> > I
> > wanted to split this into it's own script so I could tie it to a DTMF
> > command.  So, I made a copy of the saytime.pl script to become
> > say_wx.pl, and stripped out the time functions, so it only gives
> > weather
> conditions.
> > If anyone is interested (assuming I didn't just reinvent the wheel)
> > I'm happy to put this script up onto my github page for anyone to use!
> >
> >
> >
> > Jeremy, NQ0M
> >
> > _______________________________________________
> >
> > 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
> >
> >
> _______________________________________________
>
> 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
>
>
> _______________________________________________
>
> 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
>



-- 
Kevin Bednar II

N2KMB


Ham Radio is a Great Hobby


More information about the arm-allstar mailing list