openwebrx-clone/owrx/config/defaults.py

192 lines
6.6 KiB
Python
Raw Normal View History

2021-02-11 18:31:44 +00:00
from owrx.property import PropertyLayer
defaultConfig = PropertyLayer(
2021-03-30 22:00:38 +00:00
version=7,
2021-02-11 18:31:44 +00:00
max_clients=20,
receiver_name="[Callsign]",
receiver_location="Budapest, Hungary",
receiver_asl=200,
receiver_admin="example@example.com",
receiver_gps=PropertyLayer(lat=47.0, lon=19.0),
2021-02-11 18:31:44 +00:00
photo_title="Panorama of Budapest from Schönherz Zoltán Dormitory",
photo_desc="",
fft_fps=9,
fft_size=4096,
fft_voverlap_factor=0.3,
audio_compression="adpcm",
fft_compression="adpcm",
wfm_deemphasis_tau=50e-6,
digimodes_fft_size=2048,
digital_voice_dmr_id_lookup=True,
digital_voice_nxdn_id_lookup=True,
sdrs=PropertyLayer(
rtlsdr=PropertyLayer(
name="RTL-SDR USB Stick",
type="rtl_sdr",
profiles=PropertyLayer(
**{
"70cm": PropertyLayer(
2021-04-17 22:03:18 +00:00
name="70cm Repeaters",
center_freq=438800000,
rf_gain=29,
samp_rate=2400000,
start_freq=439275000,
start_mod="nfm",
tuning_step="1000",
),
"2m": PropertyLayer(
2021-04-17 22:03:18 +00:00
name="2m",
center_freq=145000000,
rf_gain=29,
samp_rate=2048000,
start_freq=145725000,
start_mod="nfm",
tuning_step="1000",
),
}
),
),
airspy=PropertyLayer(
name="Airspy HF+",
type="airspyhf",
rf_gain="auto",
profiles=PropertyLayer(
**{
"20m": PropertyLayer(
name="20m",
center_freq=14150000,
samp_rate=384000,
start_freq=14070000,
start_mod="usb",
tuning_step="500",
),
"30m": PropertyLayer(
name="30m",
center_freq=10125000,
samp_rate=192000,
start_freq=10142000,
start_mod="usb",
tuning_step="500",
),
"40m": PropertyLayer(
name="40m",
center_freq=7100000,
samp_rate=256000,
start_freq=7070000,
start_mod="lsb",
tuning_step="500",
),
"80m": PropertyLayer(
name="80m",
center_freq=3650000,
samp_rate=384000,
start_freq=3570000,
start_mod="lsb",
tuning_step="500",
),
"49m": PropertyLayer(
name="49m Broadcast",
center_freq=6050000,
samp_rate=384000,
start_freq=6070000,
start_mod="am",
tuning_step="1000",
),
}
),
),
sdrplay=PropertyLayer(
name="SDRPlay RSP2",
type="sdrplay",
antenna="Antenna A",
profiles=PropertyLayer(
**{
"20m": PropertyLayer(
name="20m",
center_freq=14150000,
rf_gain=0,
samp_rate=500000,
start_freq=14070000,
start_mod="usb",
tuning_step="500",
),
"30m": PropertyLayer(
name="30m",
center_freq=10125000,
rf_gain=0,
samp_rate=250000,
start_freq=10142000,
start_mod="usb",
tuning_step="500",
),
"40m": PropertyLayer(
name="40m",
center_freq=7100000,
rf_gain=0,
samp_rate=500000,
start_freq=7070000,
start_mod="lsb",
tuning_step="500",
),
"80m": PropertyLayer(
name="80m",
center_freq=3650000,
rf_gain=0,
samp_rate=500000,
start_freq=3570000,
start_mod="lsb",
tuning_step="500",
),
"49m": PropertyLayer(
name="49m Broadcast",
center_freq=6000000,
rf_gain=0,
samp_rate=500000,
start_freq=6070000,
start_mod="am",
tuning_step="1000",
),
}
),
),
),
waterfall_scheme="GoogleTurboWaterfall",
waterfall_levels=PropertyLayer(min=-88, max=-20),
2021-03-30 22:00:38 +00:00
waterfall_auto_levels=PropertyLayer(min=3, max=10),
waterfall_auto_min_range=50,
tuning_precision=2,
2021-02-11 18:31:44 +00:00
squelch_auto_margin=10,
google_maps_api_key="",
map_position_retention_time=2 * 60 * 60,
callsign_url="https://www.qrzcq.com/call/{}",
2023-01-05 03:52:41 +00:00
usage_policy_url="policy",
session_timeout=0,
2021-02-11 18:31:44 +00:00
decoding_queue_workers=2,
decoding_queue_length=10,
wsjt_decoding_depth=3,
wsjt_decoding_depths=PropertyLayer(jt65=1),
2021-02-11 18:31:44 +00:00
fst4_enabled_intervals=[15, 30],
fst4w_enabled_intervals=[120, 300],
q65_enabled_combinations=["A30", "E120", "C60"],
js8_enabled_profiles=["normal", "slow"],
js8_decoding_depth=3,
services_enabled=False,
services_decoders=["ft8", "ft4", "wspr", "packet"],
aprs_callsign="N0CALL",
aprs_igate_enabled=False,
aprs_igate_server="euro.aprs2.net",
aprs_igate_password="",
aprs_igate_beacon=False,
aprs_igate_symbol="R&",
aprs_igate_comment="OpenWebRX APRS gateway",
2021-04-07 14:20:10 +00:00
# aprs_igate_height=None,
# aprs_igate_gain=None,
# aprs_igate_dir=None,
2021-02-11 18:31:44 +00:00
pskreporter_enabled=False,
pskreporter_callsign="N0CALL",
2021-04-07 14:20:10 +00:00
# pskreporter_antenna_information=None,
2021-02-11 18:31:44 +00:00
wsprnet_enabled=False,
wsprnet_callsign="N0CALL",
).readonly()