[arm-allstar] Radioless Node - push button switch to run connect to hub/node script
David McGough
kb4fxc at inttek.net
Mon Mar 6 04:08:15 EST 2023
Hi Rob,
This will require some fairly simple custom scripting, asterisk itself
doesn't monitor any RPi GPIO signals.
Basically, the /usr/local/sbin/shutdown_monitor.sh script would probably
be a place to start.
73, David K4FXC
On Sun, 5 Mar 2023, Rob Seaman via ARM-allstar wrote:
> Hi All,
>
> I'm building a radioless node for a friend who has interest in Allstar, but little to no interest in computers.
>
> He has given me a well made box, that was previously used a radio test jig setup, so it has a mic, speaker and a row of LED's & momentary SPST push button type switches on the front panel.
>
> One idea I had was to use the momentary switches to connect to some hubs, one for discconnect all and one for a shutdown switch on GPIO pins 9 & 11.
>
> The shutdown switch is easy, as the script already exists in Hamvoip.
>
> I had a search back through the Hamvoip.org list archives and the Allstar Community chat for connect/disconnect via a momentary switch on the GPIO, while there was one or two brief mentions of wanting to do this, I wasn't able to find any other information or scripts.
>
> I read the 'Using the GPIO command with Allstar 06/11/15' found on the Hamvoip website, so have a slightly better understanding, but I'm not clear how Allstar/Hamvoip is to monitor for example, GPIO pin 13 going to ground, therefore execute disconnect all (*76) or pin 15 going to ground, therefore connect to UK Hub (*7341522).
>
> Hope the above makes sense and any tips or assistance would be aprpeciated.
>
> Regards,
>
> Rob...
> VK6LD
>
> _______________________________________________
>
> 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