ha7ilm / openwebrx

Open source, multi-user SDR receiver software with a web interface
https://sdr.hu/openwebrx
GNU Affero General Public License v3.0
989 stars 476 forks source link

Possible to use a remote SDR, and host decoding on a local machine? (akin to rtl_tcp) #59

Closed milesburton closed 7 years ago

milesburton commented 7 years ago

I was having a poke through the code again and I was curious if it would be possible to use a remote SDR. It would make using low powered devices (pi zero, CHIP etc) much more feasible (in a similar fashion to SDRConsole).

As I think the answer is no. I wonder if it would be practical to pipe the rtl_tcp over SSH (bandwidth permitting)

milesburton commented 7 years ago

The answer is yes. This worked a treat:

start_rtl_command="ssh $SERVER rtl_sdr -s {samp_rate} -f {center_freq} -p {ppm} -g {rf_gain} -'".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm)

where $SERVER is your SDR host (you'll need to exchange SSH keys otherwise this'll fail.

milesburton commented 7 years ago

One minor issue you need to focefully close the rtl_tcp executable on the remove server when you close the session