Date   

Re: Switch Between BM and TGIF

William WY7WL
 

this doesn't look right to me... 

M: 2021-02-23 18:47:16.645 DMR, Remote CMD: txTg=passw0rd@...


Re: Switch Between BM and TGIF

Steve N4IRS
 

Nothing before that?

On 2/23/2021 1:42 PM, William WY7WL wrote:

I: 2021-02-23 18:42:04.301 txTg=: 0

I: 2021-02-23 18:42:04.338 txTg=: 0

I: 2021-02-23 18:42:04.427 txTg=: 0

I: 2021-02-23 18:42:04.495 txTg=: 0

I: 2021-02-23 18:42:04.582 txTg=: 0

I: 2021-02-23 18:42:04.653 txTg=: 0




Re: Switch Between BM and TGIF

Steve N4IRS
 

from the command
/opt/MMDVM_Bridge/dvswitch.sh tune passw0rd@...:62031

Show me the MMDVM_Bridge log when you issue the command.

On 2/23/2021 12:34 PM, William WY7WL wrote:
It works in the dvs menu, change networks. That’s didn’t work until I added the tune command in dvswitch.sh maybe I’m all mixed up somehow. Yes it’s in the mmdvm bridge. 


Re: Switch Between BM and TGIF

William WY7WL
 

It works in the dvs menu, change networks. That’s didn’t work until I added the tune command in dvswitch.sh maybe I’m all mixed up somehow. Yes it’s in the mmdvm bridge. 


Re: Switch Between BM and TGIF

Steve N4IRS
 

Is your dvswitch.sh in /opt/MMDVM_Bridge

You said you had it working from the command line what did you type from the command line?

On 2/23/2021 12:10 PM, William WY7WL wrote:
I did that so you could see everything.... no space in the actual line 


Re: Switch Between BM and TGIF

William WY7WL
 

I did that so you could see everything.... no space in the actual line 


Re: Switch Between BM and TGIF

Steve N4IRS
 

No space between passw0rd and @
No space between @ and tgif.network


On 2/23/2021 12:07 PM, William WY7WL wrote:

13 =   /opt/MMDVM_Bridge/dvswitch.sh tune passw0rd @ tgif.network:62031



Re: Switch Between BM and TGIF

William WY7WL
 

13 =   /opt/MMDVM_Bridge/dvswitch.sh tune passw0rd @ tgif.network:62031


Re: Switch Between BM and TGIF

Steve N4IRS
 

Show your macro line

On 2/23/2021 12:06 PM, William WY7WL wrote:
Log shows a runaway TG=0?


Re: Switch Between BM and TGIF

William WY7WL
 

Log shows a runaway TG=0?


Re: Switch Between BM and TGIF

Steve N4IRS
 

When you issue a tune command via dvswitch.sh

it's /opt/dvswitch.sh tune passw0rd@...:62031

So your macro would be:

13 = /opt/MMDVM_Bridge/dvswitch.sh tune passw0rd@...:62031



On 2/23/2021 11:49 AM, William WY7WL wrote:

#################################################################

# Tune to a specific TG/Reflector/Server, etc

# Argument 1 is the TG to tune to.  The argument is mode specific.

#################################################################

function tune() {

    if [ $# -eq 0 ]; then

        getABInfoValue last_tune

    else

        remoteControlCommand "txTg=$1"

tune passw0rd@...

    fi

}



Re: Switch Between BM and TGIF

William WY7WL
 
Edited

#################################################################

# Tune to a specific TG/Reflector/Server, etc

# Argument 1 is the TG to tune to.  The argument is mode specific.

#################################################################

function tune() {

    if [ $# -eq 0 ]; then

        getABInfoValue last_tune

    else

        remoteControlCommand "txTg=$1"

tune passw0rd @tgif.network (no space there)

    fi

}


Re: Switch Between BM and TGIF

Steve N4IRS
 

What does your dvswitch.sh command look like?

On 2/23/2021 11:45 AM, William WY7WL wrote:
Whats the line going to look like? I've tried DMR, tune, Tune.... 

I: 2021-02-23 16:43:42.729 USRP packet type: USRP_TYPE_TEXT (WY7WL) -> 3164636

I: 2021-02-23 16:43:48.274 Tune macro: *13 will invoke "/opt/MMDVM_Bridge/dvswitch.sh mode Tune"

I: 2021-02-23 16:43:48.307 Macro result was 65024



Re: Switch Between BM and TGIF

William WY7WL
 

Whats the line going to look like? I've tried DMR, tune, Tune.... 

I: 2021-02-23 16:43:42.729 USRP packet type: USRP_TYPE_TEXT (WY7WL) -> 3164636

I: 2021-02-23 16:43:48.274 Tune macro: *13 will invoke "/opt/MMDVM_Bridge/dvswitch.sh mode Tune"

I: 2021-02-23 16:43:48.307 Macro result was 65024


Re: Switch Between BM and TGIF

William WY7WL
 

Ok thanks Steve, just wanted to be sure I didn't miss something. 


Re: Switch Between BM and TGIF

Steve N4IRS
 

You can create a macro(s).

see /opt/Analog_Bridge/dvsm.macro

On 2/23/2021 10:41 AM, William WY7WL wrote:
Tune command now working via dvswitch.sh! I've been changing between the two networks under the dvs default network menu....

How do I now setup a command via the dvswitch phone app to change networks?


Re: pyUC Client Installation issue

JerryL
 

HI Ken,
Thanks for the reply.  I'm running on the computer installed Mint 18.3, not a virtual machine.  I think I am running with Pulse.  I have not seen ALSA on anything.  I guess you think I should either load ALSA or find how to enable it if it is installed and then disable Pulse.  I am running several audio programs (RX/TX).  None seem to be bothered by Pulse, but I'll give ALSA a try.  It certainly looks like the pyUC Client is worth getting to work.  I want to use that with my Python Server (Installation Guide Appendix E)  loaded on Mint 18.3.  My DVswitch Raspberry/Android installations are working perfectly.  Thanks for your help.  ~Jerry


Re: Switch Between BM and TGIF

William WY7WL
 

Tune command now working via dvswitch.sh! I've been changing between the two networks under the dvs default network menu....

How do I now setup a command via the dvswitch phone app to change networks?


Re: pyUC Client Installation issue

Ken Kayser
 

Hi Jerry,  What hardware platform are you running?  Is Mint running as the base OS or is it a virtual machine?  I believe the issue you are having stems from ALSA not being the primary audio subsystem in your environment.  If you have Pulse Audio running, try disabling it unless you are using it for something else.  There are various posts on how do disable Pulse Audio.  On some systems you can just delete it.  But doing that on Mint is not recommended.  Hope this helps.


pyUC Client Installation issue

JerryL
 

Hi Steve,

I am running Mint 18.3 because that is the last version that can run Allstar's Web Transceiver.  I don't think I'd have a problem if I was running Mint 19 or 20.  They have an more recent version of python from what I understand.

Initially I installed the pyUC Client per pages B-4 & B-5 in the 45 page Installation and User Guide.  I got a 'bs4' module not found error.  Mint 18.3's contains python3.5.  I found where I could install bs4 with the command sudo apt-get install bs4.  After doing that the pyUC Client popped on the screen along with a terminal screen behind it scrolling the following error message:

(the date and time every second plus) - TX thread:read() got an unexpected keyword argument 'exception-on overflow;

I was able to hear very good audio from my Logitech USB headset while connected to 91 World Wide.   However I could not transmit.  Mint 18.3 nor the pyUC Client did not see/recognize the TX microphone in the headset.

Is there a fix for this?

Jerry Long, KB3OIL

901 - 920 of 9532