# Universal_HamRadio_Remote_HTML5 Projet original F4HTB thank's<br>
Universal HamRadio Remote HTML5 interface.  
This is an implementation of a python server and HTML5 frontend to provide a web interface to use your TRX for both RX and TX.  
You can use basic and some advanced functions of your radio.  
You use the speaker and microphone of your computer to communicate.  
This project is more oriented for voice (phone) or CW.  
  
<b>Bug Audio Modification<b> F4IYT Xavier<br>
Add: line 214 on UHRR<br>
#self.inp = alsaaudio.PCM(alsaaudio.PCM_CAPTURE, alsaaudio.PCM_NORMAL, channels=1, rate=8000, format=alsaaudio.PCM_FORMAT_FLOAT_LE, periodsize=256, device=config['AUDIO']['inputdevice'])<br>
		self.inp = alsaaudio.PCM(alsaaudio.PCM_CAPTURE, alsaaudio.PCM_NORMAL, device=config['AUDIO']['inputdevice'])<br>
		self.inp.setchannels(1)<br>
		self.inp.setrate(8000)<br>
		self.inp.setformat(alsaaudio.PCM_FORMAT_FLOAT_LE)<br>
		self.inp.setperiodsize(256)<br>
<br>

For me work on ubuntu server 64bit
On RPI3 work but less cpu for more good signal on same USB exemple MCHF USB audio and PTT and CAT same cable USB
 
Use only if it is legal in your country.  
It is intended for remote use, it is not designed for use on the same computer as an interface even though it will likely work.  
Please don't raise an issue for anything outside of the intended design.  
  
## Install
sudo apt-get install python3-alsaaudio

pip install pyrtlsdr --break-system-packages 

telecharger la source
git clone http://fra1od.freeboxos.fr:3000/magnum88/HamRemote/
chmod +x *.sh
./install.sh

et enfin 
./go.sh

![UHRR_Pict](http://xavier.debert.free.fr/QRZ.COM/2023-02-09_08-36-28.png)

This utility is used to set up an amateur radio station remotely via a web browser.

You need:
- a radio station compatible with Hamlib.
- a cat interface.
- a circuit making it possible to adapt the audio levels between the microphone input, the speaker output and the sound card.

Your host can access it at https://IP_HOST:8888/
Note the HTTP <b> S </b>.
You can configure all of this by logging into https://IP_HOST:8888/CONFIG
If the original configuration is invalid or missing, this will automatically switch to the configuration page.


![func_princ](https://user-images.githubusercontent.com/18350938/99989800-f3a06f00-2daa-11eb-9b45-d695b75904f7.png)

![sound_diagram](https://user-images.githubusercontent.com/18350938/99989819-fe5b0400-2daa-11eb-884f-c09341a03541.png)

Special thanks to :

-Mike W9MDB! and all the hamlib team for all their hard work

-All contributors :)

