[arm-allstar] BBB Sources
Christopher Kovacs
w0anm73 at gmail.com
Thu Jan 22 22:46:52 EST 2015
Hi Harry,
The error is the result of *sed* utility not finding the
*wx_scripts.conf_NEW* file.
sed: can't read wx_scripts.conf_NEW: No such file or directory
This file should be located in the directory* /usr/local/bin/Weather. * The
file is used as template for creating the wx_scripts.conf file and should
be present. It is unclear why this file is missing as the scripts only
read this file and do not remove/delete this file.
Do you have a backup? Could there be other files missing?
73,
Chris, w0anm
On Thu, Jan 22, 2015 at 8:45 PM, Christopher Kovacs <w0anm73 at gmail.com>
wrote:
> Hi Harry,
>
> Let's that this off list
>
> {mycall at charter.net)
>
> 73,
>
> Chris, w0anm
> On Jan 22, 2015 8:39 PM, "harry" <hromano at earthlink.net> wrote:
>
>>
>>
>> > KMNSTMIC3
>>
>> >
>>
>> > When selecting the desired station and review the captured information
>> to make
>>
>> > sure that this has all of the values you want to capture. For example,
>> some
>>
>> > stations do not include precipitation. I prefer the “rapid fire”
>> stations
>>
>> > since they update most frequently. You will use the “Station ID” for the
>>
>> > configuration file.
>>
>> >
>>
>> > For more information, refer to:
>>
>> > http://www.w0anm.com/dokuwiki/doku.php?id=irlp:wx_scripts_doc
>>
>> >
>>
>> > Please enter the Underground Weather Station ID
>>
>> > (for example, KMNROGER1): kflnaple17
>>
>> >
>>
>> > Checking/Adding crontab entry for user root...
>>
>> >
>>
>> > # Underground Weather for station: KFLNAPLE17
>>
>> > */16 * * * * (/usr/local/bin/Weather/getWxRpt_ug KFLNAPLE17 &>
>> /dev/null 2>&1)
>>
>> > # Underground Weather (pressure trends) for station: KFLNAPLE17
>>
>> > 0 */6 * * * (/usr/local/bin/Weather/trend KFLNAPLE17 &> /dev/null 2>&1)
>>
>> >
>>
>> > Crontab already has entry for KFLNAPLE17.. (see above)
>>
>> >
>>
>> > ----------------------------------------
>>
>> > weather forecast setup...
>>
>> > ----------------------------------------
>>
>> >
>>
>> > Weather Forecast Setup. This script will allow you to get your NWS
>> weather
>>
>> > forecast messages by a DTMF sequence and will announce the weather
>> conditions
>>
>> > via your node audio.
>>
>> >
>>
>> > You will need to have the NWS Weather Zone ID information prior to
>> running this script.
>>
>> >
>>
>> > Refer to the following URL:
>>
>> >
>>
>> > http://www.weather.gov/alerts
>>
>> >
>>
>> > Select the "Warnings By State" under "Active Alerts". Select the "Zone
>> List"
>>
>> > listed by the desired state. You will see the "Zone Code", now pick
>> from the
>>
>> > various State Counties displayed and write this Zone Code down for
>> reference.
>>
>> >
>>
>> > For example, Under Minnesota you wil find - Wright. The Zone Code for
>>
>> > this county is MNZ059. If you want to to have forecast for other areas,
>>
>> > make a note of those counties and you can re-execute the script and
>> enter the
>>
>> > additional counties.
>>
>> >
>>
>> >
>>
>> >
>>
>> >
>>
>> > Press any key to continue...
>>
>> >
>>
>> > Please enter the NWS Zone forecast ID
>>
>> > (for example, MNZ059): flz069
>>
>> >
>>
>> > Checking/Adding crontab entry for user root...
>>
>> >
>>
>> > # NWS Alert for FLZ069 in Collier
>>
>> > */14 * * * * (/usr/local/bin/Weather/getWxAlert FLZ069 "Collier
>> County" &> /dev/null 2>&1)
>>
>> >
>>
>> > Crontab already has entry for FLZ069.. (see above)
>>
>> >
>>
>> >
>>
>> > Enter Allstar Node Number:1998
>>
>> > sed: can't read wx_scripts.conf_NEW: No such file or directory
>>
>> -bash: Browse: command not found
>>
>> [root at bbbcom ~]#
>>
>> [root at bbbcom ~]# Do you want to enable over the air weather alerts?
>> [y,n,q]? y
>>
>> -bash: Do: command not found
>>
>> [root at bbbcom ~]# y
>>
>> -bash: y: command not found
>>
>> [root at bbbcom ~]# ----------------------------------------
>>
>> -bash: ----------------------------------------: command not found
>>
>> [root at bbbcom ~]# Stanza Modification Example for:
>>
>> -bash: Stanza: command not found
>>
>> [root at bbbcom ~]# /etc/asterisk/rpt.conf
>>
>> -bash: /etc/asterisk/rpt.conf: Permission denied
>>
>> [root at bbbcom ~]# ----------------------------------------
>>
>> -bash: ----------------------------------------: command not found
>>
>> [root at bbbcom ~]# You will need to edit the /etc/asterisk/rpt.conf
>> file to include the localplay
>>
>> -bash: You: command not found
>>
>> [root at bbbcom ~]# entries under your node's functions stanza.
>>
>> >
>>
>> > Below is an example. Please update dtmf sequence to your
>> requriements.
>>
>> >
>>
>> > (/etc/asterisk/rpt.conf)
>>
>> >
>>
>> > [functions]
>>
>> >
>>
>> > ; Play local wx report, *986
>>
>> > 986=localplay,/tmp/wx/wxreport_ug/KFLNAPLE17/cur_WxRpt_ug
>>
>> > ; Play local wx alert, *987
>>
>> > 987=localplay,/tmp/wx/alert/FLC021/alert_short
>>
>> > ; Play local wx forecast, *988
>>
>> > 988=localplay,/tmp/wx/forecast/FLZ069/wx_forecast
>>
>> >
>>
>> >
>>
>> > -----------------NOTE-------------------
>>
>> >
>>
>> > You can run this script multiple times to add additional weather
>> stations
>>
>> > to your crontab or features.
>>
>> >
>>
>> > ----------------------------------------
>>
>> > Setup/Update Completed
>>
>> > ----------------------------------------
>>
>> > [root at bbbcom ~]#
>>
>>
>> _______________________________________________
>>
>> arm-allstar mailing list
>> arm-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB web page -
>> http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20150122/361940f5/attachment-0001.html>
More information about the arm-allstar
mailing list