Re: DVSwitch running on 2nd Raspberry Pi

Steve N4IRS

pyUC is a client program written in Python3. It requires a system with a graphic interface (Linux window manager, Microsoft Windows, Apple MAC. it is not intended to run on the server. That is not to say it CAN'T be run on the server. I just want you to understand the program.

When you run a Linux program it either must be in you path or you must explicitly tell Linux the full path. Since pyUC is a python program run it with python3

The md380-emulator is installed and set to start on boot by the image or install script.

To connect your DVSwitch Server to your HAMVOIP node:

Add a private node to HAMVOIP. Use this as a guide for the node stanza <>
instead of setting the rxchannel to, set it to the address of your DVSwitch Server
Once you have the private node setup and working on HAMVOIP change the [USRP] stanza in Analog_Bridge.ini:
address =                     ; IP address of USRP partner (Allstar/Asterisk or another Analog_Bridge)
txPort = 32001                          ; Transmit USRP frames on this port
rxPort = 34001                          ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY                 ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)
usrpGain = 1.10                         ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
usrpAGC = -20,10,100                    ; Set the agc threshold (db), slope (db) and decay (ms)
tlvAudio = AUDIO_UNITY                  ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35                          ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

Set the address above to the IP address of your HAMVOIP node.

Steve N4IRS 

On 12/25/20 6:51 PM, Frank C. D'Amato wrote:

I set up a Raspberry Pi last week with Hamvoip.  The Allstar Node is up and running and RF is connected.  It has a private node 1999 also.

I installed DVSwitch on the second Pi (No ALS)

I followed the DVSwitch Installation and User Guide v1.61.pdf instructions but am stuck at the pyUC

I unzipped the USRP Client and copied it to home/pyUC

I ran the following command;
sudo apt-get install python3-pyaudio
sudo apt-get install portaudio19-dev
sudo apt-get install python3-pil.imagetk

I edited the pyUC.ini file
and did a sudo chmod 775

When I try to execute (by typing I get "a -bash: command not found"
Why would I get this error?

My MMDVM_Bridge shows my callsign when I key my radio to the designated TG
My ANALOG_Bridge shows my callsign when I key my radio to the designated TG

I don't see any instructions on setting up the MD-380 Emulator, or how to finally connect the DVSwitch to my Hamvoip Allstar Node located at on my network

Please help

Join { to automatically receive all group messages.