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

Pass values to webrx.py #89

Open stevegpgh opened 7 years ago

stevegpgh commented 7 years ago

I wanted to pass the center frequency and bandwidth to OpenWebRx via a script that request those values from the owner at start up. I am running Raspian on a Pi3 using a RTL-SDR and have implemented it using direct sampling mode. But because of the 2.4 bandwidth limit, if I want to switch bands I need to close OpenWebRX, edit the config_webrx, save it then restart OpenWebRX. I thought a script to handle an input of the desired frequency and relaying that to the config file would accomplish that. My issue is on getting the values from the script and implementing them in the config file.

I assume capturing the values in the shell script would be pretty easy: read -p "Enter frequency in Mhz: " a f=a*1000000

ha7ilm commented 7 years ago

Thanks for the thoughts on that.

I am working on center frequency change capability, so that you will be able to change that from the UI (and also other hardware parameters like gain and PPM).

2017-07-29 19:04 GMT+02:00 stevegpgh notifications@github.com:

I wanted to pass the center frequency and bandwidth to OpenWebRx via a script that request those values from the owner at start up. I am running Raspian on a Pi3 using a RTL-SDR and have implemented it using direct sampling mode. But because of the 2.4 bandwidth limit, if I want to switch bands I need to close OpenWebRX, edit the config_webrx, save it then restart OpenWebRX. I thought a script to handle an input of the desired frequency and relaying that to the config file would accomplish that. My issue is on getting the values from the script and implementing them in the config file.

I assume capturing the values in the shell script would be pretty easy: read -p "Enter frequency in Mhz: " a f=a*1000000

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/simonyiszk/openwebrx/issues/89, or mute the thread https://github.com/notifications/unsubscribe-auth/AFoUMCFsdMy-_iSkqtjPEQWSW0DUhJqKks5sS2YagaJpZM4OnaEn .

stevegpgh commented 7 years ago

That's great news.   If you are looking for additional items at any point (though I am sure you are busy enough as is):1.  From the UI, a way to key enter the center frequency (rather than dragging)2.  Enabling client use on iOS devices3.  Handling multiple RTL-SDRs in Q-Branch (for HF)4.  If max users = 1, then possibly allow the user to change the center frequency to any band (though that may disagree with your objective?)5.  An easier way to set the default range setting for the colors of the waterfall I appreciate all the work you have put into this application! Steve

  From: András Retzler <notifications@github.com>

To: simonyiszk/openwebrx openwebrx@noreply.github.com Cc: stevegpgh sgold@rocketmail.com; Author author@noreply.github.com Sent: Thursday, August 10, 2017 4:35 AM Subject: Re: [simonyiszk/openwebrx] Pass values to webrx.py (#89)

Thanks for the thoughts on that.

I am working on center frequency change capability, so that you will be able to change that from the UI (and also other hardware parameters like gain and PPM).

2017-07-29 19:04 GMT+02:00 stevegpgh notifications@github.com:

I wanted to pass the center frequency and bandwidth to OpenWebRx via a script that request those values from the owner at start up. I am running Raspian on a Pi3 using a RTL-SDR and have implemented it using direct sampling mode. But because of the 2.4 bandwidth limit, if I want to switch bands I need to close OpenWebRX, edit the config_webrx, save it then restart OpenWebRX. I thought a script to handle an input of the desired frequency and relaying that to the config file would accomplish that. My issue is on getting the values from the script and implementing them in the config file.

I assume capturing the values in the shell script would be pretty easy: read -p "Enter frequency in Mhz: " a f=a*1000000

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/simonyiszk/openwebrx/issues/89, or mute the thread https://github.com/notifications/unsubscribe-auth/AFoUMCFsdMy-_iSkqtjPEQWSW0DUhJqKks5sS2YagaJpZM4OnaEn .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

DanielCraig commented 7 years ago

How about an admin panel or login, to designate the one allowed to set center freq?

ha7ilm commented 7 years ago

@DanielCraig That is being worked on.