[arm-allstar] HF control was Kudos Doug!
Phil Visalli
phil at philv.net
Sat Jan 20 16:16:49 EST 2018
So the short story is that im setting up a node for my HF radio, including
having a way to control the radio via DTMF. Having just a single
standalone node, 99% of it works perfect. I can connect up to my node via
zoiper, enter in a frequency that i want to tune to, bump the dial up or
down in set steps, change the power ect. I've done all that with a script
that leverages rigctl and that autopatch method of calling the scripts.
That's handy because it allows me to enter in dynamic input (like the freq
i want to tune to for example). The ONLY part that's not working perfect
is speaking feedback back to the end user. It works .... but as i
mentioned before, it also keys up the radio and announces over the air as
well.
When you mentioned having a second hub node to announce audio feedback to,
that seemed like it was going to be the answer, but like i said.... if i
use that autopatch method from the hubnode connected to the HF node, as
soon as i hit *62 it keys up the HF node .... and thinking about it a
little more i think that's expected. I could go back to calling a bunch of
different scripts via dtmf like usual(and use a hub node) but having a way
to enter dynamic input is more important to me than having audio feedback.
I think at this point, since it works so well aside from audio feedback,
that im just going to stick with the single HF node setup and forget about
having audio feedback for now. I made my first QSO while about 35 miles
away from my transmitter Thurs night and got a good signal report. Pretty
cool !
Just to answer your questions. I've been using duplex=0 and
linktolink=yes. I found some mention on an old post to the mailing list
suggesting that configuration for an HF node setup and it works. I was not
able to key up over the hf noise until i set duplex and linktolink that
way. Yes the second node was psuedo.... and i tried putting dtmf_dsp=2
into the general section of simpleusb.conf as a longshot. I set up a very
minimal functions stanza on the pseudo node thinking then i could operate
from that node and when i hit *62 the DTMF would pass thru to the HF node
and execute my script, but it did not seem to work so i figured that
dtmf_dsp=2 only worked on actual radio nodes, not on pseudo nodes.
In the end, i have a pretty slick .... pretty close to perfect method to
operate my HF rig when im away from home. I've been working with 2 other
local hams who are creating the same setup so we'll keep tinkering. I
should have a chance this week to document my setup to share. Maybe with a
few other eyeballs looking over it there might be more improvements to be
made.
Phil
K2ELV
On Sat, Jan 20, 2018 at 2:31 AM, "Doug Crompton via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> Phil,
>
> I am trying to wrap my head around what you are doing. On the HF radio
> side you are using COS and PTT or are you using COS and VOX to/from the
> radio? If you establish a connection as long as neither end has COS true
> then it should be unkeyed. You definitely don't want to use duplex=2 in
> rpt.conf but maybe experiment with duplex=1 or 0. I have never done what
> you are doing so I have no first hand knowledge. The second node you setup
> is pseudo correct? So no FOB and therefore no COS? If that is the case
> perhaps it somehow thinks it is full duplex when you come in via zoipier
> and use the patch method. Allstar is full duplex and when using a device
> that is full duplex like a phone or computer and zoipier or iaxrpt it would
> probably assume that. In the windows version of iaxrpt you can select
> duplex but I don't think you have that option in the Android version and I
> have no idea about zoipier. If two people were running full duplex capable
> endpoints like iaxrpt on a computer it would or could be truly full duplex,
> both could remain keyed and talk back and forth. Just thinking out loud
> here about what could be happening.
>
> Maybe it would be better to not use the patch and instead use DTMF to
> functions defined on the node you are coming in on to control the radio.
> The functions would call the script and within the script would localplay
> to that node. I probably need a better understanding of what you are doing.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
>
> On Fri, Jan 19, 2018 at 3:26 PM, "Phil Visalli via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> Im working on trying this out with a second radioless node. The problem
>> i have now is that when i hit *62xxxx, the radioless node is keying up, and
>> keying up the radio on the node with the HF rig. The script runs and
>> works, and it does what its supposed to... its just keying up the radio the
>> whole time. This is why i asked about dtmf_dsp=2 in the other thread. My
>> thought is now to execute the command on the HF node, from the radioless
>> node and im trying to avoid having to use *4 to remote command it. That
>> should work fine. Both nodes are on the same server so i can easily tell
>> localplay what node to talk on.
>>
>> Im trying to wrap my head around why running that script using the
>> autopatch doesn't key up the radio when i execute it on the HF node, but
>> does when i do the exact same thing on a radioless node connected to it.
>>
>>
>> On Thu, Jan 18, 2018 at 4:35 PM, "Doug Crompton via arm-allstar" <
>> arm-allstar at hamvoip.org> wrote:
>>
>>> Phil,
>>>
>>> Unfortunately no if you are sending it on the same node as the radio is
>>> on. Maybe you could use two nodes connected together. One Zoipier and the
>>> other the radio. Then only send the localplay to the zoipier node.
>>>
>>>
>>> *73 Doug*
>>>
>>> *WA3DSP*
>>>
>>> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>>>
>>>
>>>
>>> On Thu, Jan 18, 2018 at 4:18 PM, "Phil Visalli via arm-allstar" <
>>> arm-allstar at hamvoip.org> wrote:
>>>
>>> > I plan on writing it all up when i finish. I"ll def pass it along to
>>> you
>>> > when im done.
>>> >
>>> > I do have one question and i probably should start a new thread, but
>>> here
>>> > goes.....
>>> >
>>> > Is there a way to use something like speaktext to do an announcement,
>>> but
>>> > not key up the radio ? For example i have an option to have allstar
>>> speak
>>> > the frequency that the radio is tuned to.... and it works great, I
>>> hear the
>>> > announcement come over zoiper, but it also keys up the radio and
>>> speaks the
>>> > current frequency over the air. I know that speaktext.sh leverages
>>> > localplay... but im not sure if there is a way to not key up the radio
>>> when
>>> > using localplay (or if there is some other way to accomplish this).
>>> >
>>> > The line of code thats Im using is:
>>> > /usr/local/sbin/speaktext.sh $cur_freq $NODE1
>>> >
>>> > (I set $cur_freq earlier in the script)
>>> >
>>> > ~P
>>> > K2ELV
>>> >
>>> >
>>> > On Wed, Jan 17, 2018 at 3:10 PM, "Doug Crompton via arm-allstar" <
>>> > arm-allstar at hamvoip.org> wrote:
>>> >
>>> > > Phil,
>>> > >
>>> > > Thank you. I am glad it is working so well for you. There are so
>>> many
>>> > > things you can do with Allstar and Linux. Our goal is to not put more
>>> > stuff
>>> > > internal to Allstar other than that which would naturally go there.
>>> So
>>> > many
>>> > > things can be done externally with the many scripting languages that
>>> are
>>> > > available. Allmon, Supermon, Autosky, hamlib, and many of the lesser
>>> > > scripts are prime examples of this.
>>> > >
>>> > > If you think what you have done would be useful to others it would be
>>> > great
>>> > > if you could share a write-up on it. This goes for anyone that has
>>> done
>>> > > things with Allstar that would be useful to others. I would be glad
>>> to
>>> > but
>>> > > them up on the web page. If it needs a little editing I could do that
>>> > also.
>>> > >
>>> > >
>>> > > *73 Doug*
>>> > >
>>> > > *WA3DSP*
>>> > >
>>> > > *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio
>>> >*
>>> > >
>>> > >
>>> > > On Wed, Jan 17, 2018 at 1:45 PM, "Phil Visalli via arm-allstar" <
>>> > > arm-allstar at hamvoip.org> wrote:
>>> > >
>>> > > > I dont know how i missed this before, but i saw it when you
>>> brought it
>>> > up
>>> > > > in another thread recently....
>>> > > >
>>> > > > http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
>>> > > > Allstar_extended_functions_using_autopatch.pdf
>>> > > >
>>> > > > That method works AWESOME! Im currently using that technique to
>>> set
>>> > up a
>>> > > > way to input frequencies to tune to, tuning up and down the band
>>> etc
>>> > on a
>>> > > > node i have set up to work with my 991A on HF. That, along with a
>>> > little
>>> > > > smart plug on got on amazon to turn the radio on and off remotely
>>> and i
>>> > > can
>>> > > > work HF pretty well from zoiper on my phone during breaks at work
>>> :p
>>> > > > _______________________________________________
>>> > > >
>>> > > > 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
>>> >
>>> _______________________________________________
>>>
>>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20180120/b08b104a/attachment-0001.html>
More information about the arm-allstar
mailing list