DVSwitch running on 2nd Raspberry Pi


John Springman - KB3AWQ
 

I am looking for the same answers.  I have a pi3  with Hamvoip and a 2nd pi 3 that I installed dvswitch on.  I think it is pretty well set up as it shows in the hotspot section of Brandmeister but I guess Im not sure where to go from here.  If someone has a write of of this particular install sep by step that would be great.  I have 513963 on Allstar and DMR 3142473 which depending the hotspot is showing 314247311 as on.  If your able to help me through this please reply or send me an email fpcaptain at yahoo.

Thanks
John KB3AWQ


Steve N4IRS
 

Frank,
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 pyUC.py.

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 <https://github.com/DVSwitch/Analog_Bridge/blob/master/ASL/rpt.conf.txt>
instead of setting the rxchannel to 127.0.0.1, 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:
[USRP]
address = 127.0.0.1                     ; 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 pyUC.py

When I try to execute pyUC.py (by typing pyUC.py) I get "a -bash: pyUC.py: 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 192.168.1.9 on my network

Please help






larry_n7fm
 

Frank which directory are you issuing the pyUC.py command from? If the same directory as the one holding pyUC.py script try ./pyUC.py.

Otherwise make sure the path is know.

Larry - N7FM

On 12/25/20 3:51 PM, Frank C. D'Amato wrote:
When I try to execute pyUC.py (by typing pyUC.py) I get "a -bash: pyUC.py: command not found"
Why would I get this error?


Frank C. D'Amato
 

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 pyUC.py

When I try to execute pyUC.py (by typing pyUC.py) I get "a -bash: pyUC.py: 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 192.168.1.9 on my network

Please help