2023-02-09 08:33:01 +01:00
|
|
|
# Universal_HamRadio_Remote_HTML5
|
|
|
|
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.
|
|
|
|
|
2023-02-09 08:42:10 +01:00
|
|
|
<b>Modification pour compatible audio<b> F4IYT Xavier<br>
|
2023-02-09 08:42:34 +01:00
|
|
|
Add: line 214 on UHRR<br>
|
2023-02-09 08:42:10 +01:00
|
|
|
#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>
|
2023-02-09 08:33:01 +01:00
|
|
|
|
|
|
|
<b>More info on the wiki page:</b> https://github.com/F4HTB/Universal_HamRadio_Remote_HTML5/wiki
|
|
|
|
|
|
|
|
<b>News:</b> https://github.com/F4HTB/Universal_HamRadio_Remote_HTML5/wiki/History<br>
|
|
|
|
|
|
|
|
Caution:
|
|
|
|
It is designed for Raspberry Pi OS (32-bit) Lite (actually "Minimal image based on Debian Buster").
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
2023-02-09 08:39:33 +01:00
|
|
|
![UHRR_Pict](http://xavier.debert.free.fr/QRZ.COM/2023-02-09_08-36-28.png)
|
2023-02-09 08:33:01 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Assuming your raspberry pi hostname is set to UHRR, you can access it at https://UHRR.local:8888/
|
|
|
|
Note the HTTP <b> S </b>.
|
|
|
|
You can configure all of this by logging into https://UHRR.local: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 :)
|
|
|
|
|