[arm-allstar] Numeric Keypad for mobile ops

Neil k8it k8it at cac.net
Tue Jan 10 17:15:03 EST 2017


it is not necessary to run the the alexa echo dot on arch.         we will just write a script and talk via ssh or dtmf


Thanks
73 Neil Sablatzky  K8IT
Allstar Node 41838 KITLINK
Allstar Node 42087 KITLINK HUB
IRLP Node exp0068
Echolink K8IT-L
WIRES-X K8IT 11479 Room 21479


From: Simon Keys 
Sent: Tuesday, January 10, 2017 2:59 PM
To: Neil k8it 
Cc: ARM Allstar 
Subject: Re: [arm-allstar] Numeric Keypad for mobile ops


Sounds interesting, have you got Alexa working on Arch? 




On 11/01/2017 4:51 AM, "Neil k8it" <k8it at cac.net> wrote:


  Here is abetter idea.
  Since Iam   blind i working on a Amazon Echo skill app that will respond to my voice commands ad send the commands to the raspberry pi bia regenerated dtmf or bia ssh. both are possible but I have not decided on what approach to use yet.
  anybody want to help


  Thanks
  73 Neil Sablatzky  K8IT
  Allstar Node 41838 KITLINK
  Allstar Node 42087 KITLINK HUB
  IRLP Node exp0068
  Echolink K8IT-L
  WIRES-X K8IT 11479 Room 21479

  --------------------------------------------------
  From: ""Simon Keys via arm-allstar"" <arm-allstar at hamvoip.org>
  Sent: Tuesday, January 10, 2017 2:34 AM
  To: "ARM Allstar" <arm-allstar at hamvoip.org>
  Cc: "Simon Keys" <zl1oe.nz at gmail.com>
  Subject: Re: [arm-allstar] Numeric Keypad for mobile ops


    Hi Doug, I got a bit frustrated trying to hold the steering wheel whilst
    pressing PTT and the keys on the radio!  I thought an easier solution would
    be to have a numeric keypad like this
    <https://www.aliexpress.com/item/New-Mini-18-Keys-USB-Number-Pad-Keypad-Numeric-Keyboard-For-Laptop-Notebook-Free-Shipping/32713439487.html>
    sitting next to the gear shifter, plugged directly into the pi.

    Thanks for the suggestion on the script.

    Regards
    Simon ZL1OE

    On Tue, Jan 10, 2017 at 4:48 PM, "Doug Crompton via arm-allstar" <
    arm-allstar at hamvoip.org> wrote:


      Simon,

      I am not sure I understand. You have a mobile node so you are talking to it
      with a radio. Why can't you use the DTMF pad on the radio to communicate?

      If I assume you have a radio that does not have DTMF and you want to use
      this pad to enter things. You could run a background script that starts at
      boot and constantly looks at output from the keypad. Assuming it is a 0-9
      *#  keypad then the script could look for a *<command># sequence and send
      it to allstar via the client -   /usr/bin/asterisk "rpt fun node
      $command"   where $command was the command formed from the keypad. * would
      always start the command sequence and # would end. The script would look
      roughly like this -

      while true   (endless loop)
      do
      <process the keyboard input>
      if *xxx# sequence found pass to asterisk
      /usr/bin/asterisk "rpt fun node $command"
      done

      Not a hard thing to do assuming you have good communications via USB with
      the keypad.



      *73 Doug*

      *WA3DSP*

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

      On Mon, Jan 9, 2017 at 10:14 PM, "Simon Keys via arm-allstar" <
      arm-allstar at hamvoip.org> wrote:

      > Hi all
      >
      > I purchased a cheap USB numeric keypad in the hope I could use it to
      enter
      > node numbers into my mobile node.  I need to auto-login root and then
      run a
      > simple shell script that waits for numeric input and then connects to > the
      > node after the <enter> key is pressed.
      >
      > Before I do any work on the script, has anyone done this already?
      Anything
      > you'd like to share?
      >
      > Thanks and Happy 2017 to all
      > Simon ZL1OE
      > _______________________________________________
      >
      > 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


    _______________________________________________

    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


    -----
    No virus found in this message.
    Checked by AVG - www.avg.com
    Version: 2016.0.7996 / Virus Database: 4749/13738 - Release Date: 01/09/17


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7996 / Virus Database: 4749/13742 - Release Date: 01/10/17


More information about the arm-allstar mailing list