<div dir="ltr"><div><div>OK Chris, I have a typo again. Its KMERAYMO3 I put a "zero" in stead of a "oh".<br><br></div>I guess its there a way to wipe out everything? and start the weather script from scratch?<br><br></div>I have done a restart.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 13, 2015 at 3:32 PM, Christopher Kovacs <span dir="ltr"><<a href="mailto:w0anm73@gmail.com" target="_blank">w0anm73@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you are not using these areas, it is best if you remove them from the cron as they will generate lots of cpu usage unnecessarily.<div><br></div><div>Since the audio files are present, the data did get pulled down from the NWS site at some time.</div><div><br></div><div>Did you restart asterisk (astres.sh) or (asterisk -rx "rpt reload") after you made changes to the /etc/asterisk/rpt.conf file?</div><div><br></div><div>What happens if you type:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>asterisk -rx "rpt fun <span style="font-size:12.8000001907349px">41812</span> *986"</div></blockquote><div><br></div><div>You should hear your weather report for <span style="font-size:12.8000001907349px">KMERAYM03. </span><b style="font-size:12.8000001907349px">HOWEVER, </b><span style="font-size:12.8000001907349px">I just check on the weather underground site, and it does not know of this station ID. </span><i><b><span style="font-size:12.8000001907349px">Please verify that this is a good UndergroundWeather ID.</span></b></i></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=kmeraym03" target="_blank">http://www.wunderground.com/cgi-bin/findweather/getForecast?query=kmeraym03</a></span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">If you type:</span></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>asterisk -rx "rpt fun 41812 *987"</div><div><br></div></blockquote>You should hear a message about "no alerts" unless you have a weather alert.</div><div><br></div><div>and finally, if you type:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div> asterisk -rx "rpt fun 41821 *988"</div></blockquote><br><div>you should hear the local forecast for your area, if none of these play, you'll need to check for errors in the rpt.conf file.</div><div><br></div><div><br></div><div>73,</div><div><br></div><div>Chris, w0anm</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 13, 2015 at 1:55 PM, Robert Newberry <span dir="ltr"><<a href="mailto:N1XBM@amsat.org" target="_blank">N1XBM@amsat.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I have some counties in there and locations I am no longer interested in. So I just do not have any reference to them in my rpt.conf. I do not believe that should be an issue.<br><br></div>I fixed the typo.<br><br></div>I checked /tmp/wx and I have alert_short.ul, wx_forecast.ul, and cur_WxRpt_ug.ul.<br><br></div>Here is below my copy/paste you asked for.<br><div><div><div><div><br>[root@raymond51000 ~]# crontab -l<br>03 03 * * * cd /usr/local/sbin; ./astdb.php<br>00 0-23 * * * (source /usr/local/etc/allstar.env ; /usr/local/sbin/<a href="http://saytime.pl" target="_blank">saytime.pl</a> $NODE1 > /dev/null)<br># NWS Alert for MEC017 in oxford<br>*/14 * * * * (/usr/local/bin/Weather/getWxAlert MEC017 "oxford" &> /dev/null 2>&1)<br><br># Underground Weather for station: KMEBROWN6<br>*/16 * * * * (/usr/local/bin/Weather/getWxRpt_ug KMEBROWN6 &> /dev/null 2>&1)<br><br># Underground Weather (pressure trends) for station: KMEBROWN6<br>0 */6 * * * (/usr/local/bin/Weather/trend KMEBROWN6 &> /dev/null 2>&1)<br><br># National Wx Service Forecast based on Zone: MEZ012<br>*/16 * * * * (/usr/local/bin/Weather/getWxFor MEZ012 &> /dev/null 2>&1)<br><br># NWS Alert for MEC031 in York County<br>*/14 * * * * (/usr/local/bin/Weather/getWxAlert MEC031 "York County" &> /dev/null 2>&1)<br><br># Underground Weather for station: KMEMAINE2<br>*/16 * * * * (/usr/local/bin/Weather/getWxRpt_ug KMEMAINE2 &> /dev/null 2>&1)<br><br># Underground Weather (pressure trends) for station: KMEMAINE2<br>0 */6 * * * (/usr/local/bin/Weather/trend KMEMAINE2 &> /dev/null 2>&1)<br><br># National Wx Service Forecast based on Zone: MEZ018<br>*/16 * * * * (/usr/local/bin/Weather/getWxFor MEZ018 &> /dev/null 2>&1)<br><br># NWS Alert for MEC005 in Cumberland<br>*/14 * * * * (/usr/local/bin/Weather/getWxAlert MEC005 "Cumberland" &> /dev/null 2>&1)<br><br># Underground Weather for station: KMERAYM03<br>*/16 * * * * (/usr/local/bin/Weather/getWxRpt_ug KMERAYM03 &> /dev/null 2>&1)<br><br># Underground Weather (pressure trends) for station: KMERAYM03<br>0 */6 * * * (/usr/local/bin/Weather/trend KMERAYM03 &> /dev/null 2>&1)<br><br># National Wx Service Forecast based on Zone: MEZ019<br>*/16 * * * * (/usr/local/bin/Weather/getWxFor MEZ019 &> /dev/null 2>&1)<br><br>[root@raymond51000 ~]#<br><br></div></div></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 13, 2015 at 2:05 PM, Christopher Kovacs <span dir="ltr"><<a href="mailto:w0anm73@gmail.com" target="_blank">w0anm73@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>What are you trying to play? Weather alert, forecast, or reports? Remember can take up to 20 minutes for the data to be downloaded based upon the cron entries.</div><div><br></div><div><br></div>Did you run wx_config.sh script to configure? If so, can you post the cron entries using the command below:<div><br></div><div> crontab -l</div><div><br></div><div>County ID is for Alerts and has a "C" in the ID, NWS Zones is for Forecast and has a "Z" in the ID, and the weather underground begins with K. (I am currently updated the howto for the next release)</div><div><br></div><div>In the above rpt.conf file you have a typo:</div><span><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>; Play local wx alert, *987</div></div><div><div>987=localpay,/tmp/wx/alert/MEC005//alert_short</div></div></blockquote><div><br></div></span><div><b>should be:</b></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span><div><div>; Play local wx alert, *987</div></div></span><div><div>987=localplay,/tmp/wx/alert/MEC005/alert_short</div></div><div><br></div></blockquote>Since you followed the howto, did you see any audio files (*.ul) files in the /tmp/wx directories?<div><br></div><div><br></div><div>73,</div><div><br></div><div>Chris w0anm</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Apr 13, 2015 at 12:36 PM, Robert Newberry <span dir="ltr"><<a href="mailto:N1XBM@amsat.org" target="_blank">N1XBM@amsat.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div>On a new BBB I ran the weather script. For whatever reason I can not play the weather. I'm pretty sure everything is fine with the script since that's automatic.<br><br></div>I think the problem might be how I added it to the rpt.conf. Here is a copy/paste of my rpt.conf.<br><br>functions=functions41812<br>; Play local wx report, *986<br>986=localplay,/tmp/wx/wxreport_ug/KMERAYM03/cur_WxRpt_ug<br>; Play local wx alert, *987<br>987=localpay,/tmp/wx/alert/MEC005//alert_short<br>; Play local wx forecast, *988<br>988=localplay,/tmp/wx/forecast/MEZ019/wx_forecast<br>phone_functions=functions41812<br><br></div>I followed this .pdf <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/bbb_wx_howto.pdf" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/bbb_wx_howto.pdf</a><br><br></div>I seem to remember something about the NWS swapping the county and zone list, and the instructions, not fixed, but even the wx underground isn't working so my problem must be somewhere else.<br><br></div>Thank you<br><div><div><div><br></div></div></div></div>
<br></div></div>_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br></blockquote></div><br></div>