[arm-allstar] Feature request for single shutdown and boot gpio setup button switch.
kd4ont
kd4ont at yahoo.com
Sun Jul 16 02:16:11 EST 2017
Sorry I let this post go for so long before clarifying. Yes, I'm aware of custom dtmf commands. I was asking about hardware controlled switches. If you have direct physical access to the node.
I've seen scripts for other distros that can do this. I've seen a hat add on that can do what I'm looking for too. Unfortunately, when I followed the instructions for a debian or retropie distro, in writing the python script, I failed because I didn't either know what I was doing, or couldn't get it hooked into the right thing, on your distro, to make it work.
Rarely, but sometimes, dtmf will not respond. I am looking for hardware solution for forced graceful shutdown and or reboot.
Like for my node, if I invoke *73node, it seems to refuse dtmf discos. I need a more forceful graceful shutdown. Some nodes are so active that trying to bust in with a dtmf disco, does nothing, time after time. I don't want to yank the power cord to the pi.
-------- Original message --------
From: Doug Crompton via arm-allstar <arm-allstar at hamvoip.org>
Date: 07/15/2017 15:09 (GMT-05:00)
To: ARM Allstar <arm-allstar at hamvoip.org>
Cc: Doug Crompton <wa3dsp at gmail.com>
Subject: Re: [arm-allstar] Feature request for single shutdown and boot gpio
setup button switch.
Dave,
Yes that is correct. As long as you are not using something that is
already assigned. 55 would not work as it is a macro designator and would
try to run macro 5. Use the 83x to 89x area if you don't want to use
something leading in A,B,C,D. BTW most all handhelds including Baofengs
have ABCD. On the Baofeng's it is the top row when you are transmitting.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Sat, Jul 15, 2017 at 2:39 PM, "Dave Sheppard via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> Doug,
> In these lines:
>
> > ;A1=cmd,/usr/local/sbin/sayip.sh 27225 ; Say local IP to radio
> > ;A3=cmd,/usr/local/sbin/saypublicip.sh 27225 ; Say Public IP to radio
> > ;B1=cmd,/usr/local/sbin/halt.sh 27225 ; Halt the system (linux
> total shutdown)
> > ;B3=cmd,/usr/local/sbin/reboot.sh 27225 ; Reboot the system
> > ;B6=cmd,/usr/local/sbin/astres.sh ; Restart Asterisk
>
> The DTMF choice would replace A1, A3, etc.? In other words, if I want to
> use
> *55 to say the local IP, would I replace A1 with *55? 55? Or am I totally
> out in left field?
>
> Thanks,
> Dave S. W2PAX
> Naples, FL
> csxtbonevalley at comcast.net
>
>
> _______________________________________________
>
> 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
>
>
_______________________________________________
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