[arm-allstar] Forecast.sh delay or pause if repeater is busy

David Panscik dpanscik at yahoo.com
Tue Apr 14 14:36:11 EDT 2020


 Thanks Doug.  Ill try to get creative with this solution.
Is there a way for crontab to look at RXKEY and make sure its been clear for at least 60 seconds before triggering a script?  If not, then loop.
For example something like the following;
If RXKEY > 60 then
    #Say Long Weather00 6,12,18,21 * * 1-5 /etc/asterisk/local/Forecast.sh
else loopfi




In response to providing a weather report when we have the info on multiple devices, we broadcast the weather report in a region with no internet, no cell coverage, and no landline.
    On Tuesday, April 14, 2020, 09:53:15 AM PDT, Doug Crompton via ARM-allstar <arm-allstar at hamvoip.org> wrote:  
 
 I suppose it would be possible to look at RXKEY in a script and time a
period but there is not direct way to do it. I have no idea what your
Forecast script is doing or IMHO why anyone would play a two minute
forecast on a repeater especially when this information is available to all
of us on any number of devices we carry around. If this is voice and not
TTS then it is also questionable if it is legal especially as just a
general forecast and not an alert.

*73 Doug, WA3DSP*
*http://wa3dsp.org <http://wa3dsp.org>*

On Tue, Apr 14, 2020 at 9:45 AM "David Panscik via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Howdy.
> I have a crontab set to fire Forecast.sh a few times a day.
> The script downloads the weather report from the National Weather Service
> and puts the report on the air.  Its a fairly lengthy report taking
> approximately two minutes to transmit.
> Is there a way to make weather.sh to wait to broadcast if the repeater is
> busy?
> Ideally I would like the script to pause until the repeater has not been
> used for at least 60 seconds.
> Is there a way to do this?
> Thanks!*73*
> DavidKN6GUW
> _______________________________________________
>
> 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/4 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/4 web page - http://hamvoip.org
  


More information about the ARM-allstar mailing list