[arm-allstar] Feature request

Doug Crompton wa3dsp at gmail.com
Fri Nov 16 02:42:00 EST 2018


I actually modified the script again after thinking it. I am attaching a
better updated script. This should work fine. Assuming you are using a
DMK-URI or other FOB where you can pick up bit 5 hang an LED with a 330 ohm
or so resistor in series to ground. It should light when there is an alert.
You can simulate this by doing the following -

echo "test" > /tmp/AUTOSKY/warnings.txt  # to turn it on - alert
echo > /tmp/AUTOSKY/warnings.txt   # To turn it off - no alert

See the script for info on changing bits if required. The script assume the
first node. If you are using a second node you would need to specify it in
the first parameter to the script -   test_alert.sh <node>

Run it in the background after testing  -  test_alert.sh <node> &
Best to copy to /etc/asterisk/local  and run from there if you are changing
anything.
could be called at boot in /etc/rc.local - add line at end.


*73 Doug*

*WA3DSP*

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



On Thu, Nov 15, 2018 at 6:14 PM "Justin Reed via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Doug & David,
>
> I know you guys are busy with other areas of Allstar, but there is
> something I thought of that would benefit my installation and possibly
> others.
>
> Is there a way to automatically assert one of the URI's logic outputs
> when there is an active Autosky alert, and un-assert that output when
> there are no current alerts?
>
> The particular application I have in mind is to use that to signal to my
> 7330 controller to change some parameters based on normal usage vs. when
> there is weather in the area.
>
> I'd prefer using an output on the URI rather than a GPIO on the Pi
> because the URI resides in the repeater cabinet and the Pi is in another
> cabinet, and the DB-25 connector on the URI is already connected to the
> 7330 with that output already wired. It's ready for the software change ;)
>
> Thanks,
> Justin
>
>
> _______________________________________________
>
> 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