openwebrx/README.md

89 lines
4.6 KiB
Markdown
Raw Normal View History

2014-11-29 01:07:10 +01:00
OpenWebRX
2014-11-28 21:55:31 +01:00
=========
2014-11-29 01:07:10 +01:00
OpenWebRX is a multi-user SDR receiver software with a web interface.
2014-11-29 18:47:50 +01:00
![OpenWebRX](/screenshot.png?raw=true)
2014-11-29 01:07:10 +01:00
It has the following features:
- <a href="https://github.com/simonyiszk/csdr">libcsdr</a> based demodulators (AM/FM/SSB),
2014-11-29 01:10:36 +01:00
- filter passband can be set from GUI,
2014-11-29 01:07:10 +01:00
- waterfall display can be shifted back in time,
2014-11-29 01:10:36 +01:00
- it extensively uses HTML5 features like WebSocket, Web Audio API, and &lt;canvas&gt;.
2014-11-29 01:07:10 +01:00
- it works in Google Chrome, Chromium (above version 37) and Mozilla Firefox (above version 28),
- currently supports RTL-SDR and HackRF; other SDR hardware may be easily added.
2014-11-29 01:07:10 +01:00
2015-09-30 16:06:30 +02:00
**News (2015-08-18)**
- My BSc. thesis written on OpenWebRX is <a href="http://openwebrx.org/bsc-thesis.pdf">available here.</a>
- Several bugs were fixed to improve reliability and stability.
- OpenWebRX now supports compression of audio and waterfall stream, so the required network uplink bandwidth has been decreased from 2 Mbit/s to about 200 kbit/s per client! (Measured with the default settings. It is also dependent on `fft_size`.)
2015-08-17 20:53:48 +02:00
- OpenWebRX now uses <a href="https://github.com/simonyiszk/csdr#sdrjs">sdr.js</a> (*libcsdr* compiled to JavaScript) for some client-side DSP tasks.
2016-02-14 18:54:18 +01:00
- Receivers can now be listed on <a href="http://sdr.hu/">SDR.hu</a>.
- License for OpenWebRX is now Affero GPL v3.
**News (2015-02-14)**
2016-02-14 18:51:22 +01:00
- The DDC in *csdr* has been [manually optimized](https://github.com/simonyiszk/csdr/blob/2b54054a9f5de9a908ee075b488a5ee74f41ba18/libcsdr.c#L300) for ARM NEON, so it runs around 3 times faster on the Raspberry Pi 2 than before.
- Also we use *ncat* instead of *rtl_mus*, and it is 3 times faster.
2016-02-14 18:53:06 +01:00
- OpenWebRX now supports URLs like: `http://localhost:8073/#freq=145555000,mod=usb`
2016-02-14 18:51:22 +01:00
- UI improvements were made, thanks to John Seamons and Gnoxter.
2015-09-30 16:06:30 +02:00
2016-02-14 19:33:52 +01:00
> When upgrading OpenWebRX, please make sure that you upgrade *csdr*, and install the new dependency, *ncat*!
2016-01-24 00:03:08 +01:00
2016-02-14 18:53:48 +01:00
## OpenWebRX servers on SDR.hu
2016-02-14 18:23:34 +01:00
2016-02-14 18:53:48 +01:00
[SDR.hu](http://sdr.hu) is a site which lists the active, public OpenWebRX servers. Your receiver [can also be part of it](http://sdr.hu/openwebrx), if you want.
![sdr.hu](/screenshot-sdrhu.png?raw=true)
2015-09-30 16:06:30 +02:00
2014-11-29 01:07:10 +01:00
## Setup
2014-11-29 18:50:25 +01:00
OpenWebRX currently requires Linux and python 2.7 to run.
2014-11-29 01:07:10 +01:00
First you will need to install the dependencies:
2014-11-29 01:07:47 +01:00
2014-11-29 01:07:10 +01:00
- <a href="https://github.com/simonyiszk/csdr">libcsdr</a>
- <a href="http://sdr.osmocom.org/trac/wiki/rtl-sdr">rtl-sdr</a>
2016-01-24 00:03:08 +01:00
- ncat (On Debian/Ubuntu, it is in the *nmap* package).
2016-02-14 18:26:00 +01:00
> By the way, *nmap* is a tool commonly used for auditing network security, and it is not used by OpenWebRX in any way. We need to install it, because the *ncat* command is packaged with it.
2016-01-24 00:03:08 +01:00
>
> *ncat* is a better *netcat* alternative, which is used by OpenWebRX for internally distributing the I/Q data stream. It also solves the problem of having different versions of *netcat* on different Linux distributions, which are not compatible by their command-line arguments.
2014-11-29 01:07:10 +01:00
After cloning this repository and connecting an RTL-SDR dongle to your computer, you can run the server:
python openwebrx.py
You can now open the GUI at <a href="http://localhost:8073">http://localhost:8073</a>.
2014-11-29 01:12:17 +01:00
Please note that the server is also listening on the following ports (on localhost only):
2014-11-29 01:07:47 +01:00
2014-11-29 01:07:10 +01:00
- port 4951 for the multi-user I/Q server.
Now the next step is to customize the parameters of your server in `config_webrx.py`.
2014-11-29 01:13:15 +01:00
Actually, if you do something cool with OpenWebRX (or just have a problem), please drop me a mail:
2014-11-29 01:13:38 +01:00
*Andras Retzler, HA7ILM &lt;randras@sdr.hu&gt;*
2014-11-29 01:13:15 +01:00
2014-11-29 01:07:10 +01:00
## Usage tips
2014-11-29 14:09:03 +01:00
You can zoom the waterfall display by the mouse wheel. You can also drag the waterfall to pan across it.
2014-11-29 14:05:39 +01:00
2014-11-29 01:07:47 +01:00
The filter envelope can be dragged at its ends and moved around to set the passband.
2014-11-29 01:07:10 +01:00
2014-11-29 14:09:03 +01:00
However, if you hold down the shift key, you can drag the center line (BFO) or the whole passband (PBS).
2014-11-29 01:07:47 +01:00
2015-10-11 18:50:12 +02:00
## Setup tips
2014-11-29 13:56:56 +01:00
2015-10-11 18:52:45 +02:00
If you have any problems installing OpenWebRX, you should check out the <a href="https://github.com/simonyiszk/openwebrx/wiki">Wiki</a> about it, which has a page on the <a href="https://github.com/simonyiszk/openwebrx/wiki/Common-problems-and-their-solutions">common problems and their solutions</a>.
2014-11-29 13:56:56 +01:00
2015-10-11 18:51:37 +02:00
Sometimes the actual error message is not at the end of the terminal output, you may have to look at the whole output to find it.
2014-11-30 18:00:53 +01:00
2016-02-14 19:28:06 +01:00
If you want to run OpenWebRX on a remote server instead of *localhost*, do not forget to set *server_hostname* in `config_webrx.py`.
2015-11-29 17:55:45 +01:00
## Licensing
2015-11-29 17:59:12 +01:00
OpenWebRX is available under Affero GPL v3 license (<a href="https://tldrlegal.com/license/gnu-affero-general-public-license-v3-(agpl-3.0)">summary</a>).
2015-11-29 17:55:45 +01:00
2015-11-29 18:02:35 +01:00
OpenWebRX is also available under a commercial license on request. Please contact me at the address *&lt;randras@sdr.hu&gt;* for other licensing options.