[arm-allstar] Control GPIO from Allmon

Doug Crompton wa3dsp at gmail.com
Thu Mar 23 16:16:55 EST 2017


Jason,

  Here is what you need to do -

In /etc/asterisk/simpleusb.conf define the gpio -

;rxaudiodelay=0         ; rx audio delay for squelch tail elimination.
Valid values
                        ; from 0-24 in 20ms increments. Typical values 5-10

*gpio1=out0 ; in, out0 or out1*


I just put it at the end of the first node after rxaudiodelay.

Then in /srv/http/supermon/controlpanel.ini add the following -





*labels[] = "GPIO 1 on"cmds[] = "rpt cmd %node% cop 62 GPIO1=1"labels[] =
"GPIO 1 off"cmds[] = "rpt cmd %node% cop 62 GPIO1=0"*
This can be anywhere in the list just don't break up any other labels/cmd
sequences. I just put it at the end.

I have not tested this beyond running it and not getting an error. I think
the GPIO1= is correct but if it does not work change the = to a space.

You can define other GPIO's depending on which one you want to use. see -

http://latinovoip.net/allstar-and-the-gpio-fan-script-for-dmk-engineering-uri/

http://ohnosec.org/drupal/node/177



*73 Doug*

*WA3DSP*

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

On Thu, Mar 23, 2017 at 2:35 PM, "Justin Reed via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Is there a way to toggle a gpio output in the URI from the allmon2 or
> supermon page? Point and click would be preferred. Something similar to how
> it's done within IRLPvcon?
>
> Regards,
> 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