Open patelkes opened 7 years ago
@patelkes Could you please post these lines from your config_webrx.py configuration file? Thank you!
My current problem is: $ play_sdr -b 1536 -s 2048 -f 3600000 -x 16 -g 35 -y 0 -| nmux --bufsize 512000 --bufcnt 98 --port 4951 --address 127.0.0.1 [openwebrx-main] Waiting for I/Q server to start... Failed to start SDRplay RSP device.
Hi Find following code
""" config_webrx: configuration options for OpenWebRX
This file is part of OpenWebRX, an open-source SDR receiver software with a web UI. Copyright (c) 2013-2015 by Andras Retzler randras@sdr.hu
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
In addition, as a special exception, the copyright holders state that config_rtl.py and config_webrx.py are not part of the Corresponding Source defined in GNU AGPL version 3 section 1.
(It means that you do not have to redistribute config_rtl.py and config_webrx.py if you make any changes to these two configuration files, and use them for running your web service with OpenWebRX.) """
the Wiki:
web_port=8073 server_hostname="localhost" # If this contains an incorrect value, the web UI may freeze on load (it can't open websocket) max_clients=4
receiver_name="[Callsign]"
receiver_location="Budapest, Hungary"
receiver_qra="JN97ML"
receiver_asl=200
receiver_ant="Longwire"
receiver_device="RTL-SDR"
receiver_admin="example@example.com"
receiver_gps=(47.000000,19.000000)
photo_height=350
photo_title="Panorama of Budapest from Schönherz Zoltán Dormitory"
photo_desc="""
You can add your own background photo and receiver information.
Receiver is operated by: %[RX_ADMIN]
Device: %[RX_DEVICE]
Antenna: %[RX_ANT]
Website: http://localhost
"""
the following steps:
sdrhu_key = ""
sdrhu_public_listing = False
dsp_plugin="csdr" fft_fps=9 fft_size=4096 #Should be power of 2 fft_voverlap_factor=0.3 #If fft_voverlap_factor is above 0, multiple FFTs will be used for creating a line on the diagram.
samp_rate = 2048000 center_freq = 147000 rf_gain = 30 #in dB. For an RTL-SDR, rf_gain=0 will set the tuner to auto gain mode, else it will be in manual gain mode. ppm = 0
audio_compression="adpcm" #valid values: "adpcm", "none" fft_compression="adpcm" #valid values: "adpcm", "none"
start_rtl_thread=True
""" Note: if you experience audio underruns while CPU usage is 100%, you can:
samp_rate
,fft_voverlap_factor
to 0,fft_fps
and fft_size
,max_clients
.
"""the corresponding lines.)
AFEDRI-SDR, RTL-SDR in direct sampling mode, etc. in the Wiki:
outputs the I/Q samples... Some examples of configuration are available here (default is RTL-SDR):
{rf_gain} -".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm)
start_rtl_command="/home/kesh/SDRPlayPorts/build/play_sdr -b 1536 -i 0 -v 1 -s {samp_rate} -f {center_freq} -x 16 -g {rf_gain} -y 0 -".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm) format_conversion="csdr convert_s16_f"
{samp_rate} -f {center_freq} -x 16 -g {rf_gain} -y 0 -".format(rf_gain=rf_gain, center_freq=center_freq, sam$
{rf_gain} -l16 -a0 -q -r-".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm)
""" To use a HackRF, compile the HackRF host tools from its "stdout" branch: git clone https://github.com/mossmann/hackrf/ cd hackrf git fetch git checkout origin/stdout cd host mkdir build cd build cmake .. -DINSTALL_UDEV_RULES=ON make sudo make instal """
-".format(samp_rate=samp_rate)
int({samp_rate} * 2.2)'` 2>&1)".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate)
format_conversion in order to correctly play an I/Q file.
flowcontrol {sr} 20 ".format(sr=samp_rate21.05)
https://github.com/simonyiszk/openwebrx/wiki/Using-GrOsmoSDR-as-signal-source )
shown_center_freq = center_freq #you can change this if you use an upconverter
client_audio_buffer_size = 5
start_freq = center_freq start_mod = "nfm" #nfm, am, lsb, usb, cw
iq_server_port = 4951 #TCP port for ncat to listen on. It will send I/Q data over its connections, for internal use in OpenWebRX. It is only accessible from the localhost by default.
https://github.com/simonyiszk/openwebrx/wiki/Calibrating-waterfall-display-levels
waterfall_colors = "[0x000000ff,0x0000ffff,0x00ffffff,0x00ff00ff,0xffff00ff,0xff0000ff,0xff00ffff,0xffffffff]" waterfall_min_level = -88 #in dB waterfall_max_level = -20 waterfall_auto_level_margin = (5, 40)
0x9dc4e0ff, 0xfff775ff, 0xff8a8aff, 0xb20000ff]"
happens:
[waterfall_auto_level_margin[0]]
[waterfall_auto_level_margin[1]] # # |____|____|____|> signal power
| \_waterfall_auto_level_margin[1]_/
# current_max_power_level __|
csdr_dynamic_bufsize = False # This allows you to change the buffering mode of csdr. csdr_print_bufsizes = False # This prints the buffer sizes used for csdr processes. csdr_through = False # Setting this True will print out how much data is going into the DSP chains.
nmux_memory = 50 #in megabytes. This sets the approximate size of the circular buffer used by nmux.
as [server_hostname] """ print "[openwebrx-config] Detecting external IP address..." import urllib2 server_hostname=urllib2.urlopen("http://icanhazip.com").read()[:-1] print "[openwebrx-config] External IP address detected:", server_hostname """
On Fri, Aug 4, 2017 at 3:00 AM, Keith Benoit notifications@github.com wrote:
@patelkes https://github.com/patelkes Could you please post these lines from your config_webrx.py configuration file? Thank you!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/krippendorf/SDRPlayPorts/issues/5#issuecomment-320029668, or mute the thread https://github.com/notifications/unsubscribe-auth/AE-QPfmbc9pzPQcaPASygkwTDhyGhG6Eks5sUfy8gaJpZM4MMWMQ .
Thank you very much!
Hi krippendorf
I was able to use this on my ubuntu 16.04 xenial on linux pc(nuc) as a openwebrx signal source...
I used convert s16 and -b 1546 -s 2048 for VHF feqvency using sdrplay api 2.09 it started working flowlessly. Thank you mate..At this stage it only use First A antenna.
Can you add options to make it work with antenna B and Hi-Z?
You are very near to real working solution. Even you are not programmer, you can do it as you have a attitude to make it work....
Best Regards
Patelkes