ha7ilm / openwebrx

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

Default squelch level #78

Open sp2ong opened 7 years ago

sp2ong commented 7 years ago

I have use OpenWebRX as local websdr with 2m band. How to set default "squelch auto" ON ???

zanco commented 7 years ago

Hi. If I set the squelch to auto the OpenwebRX PC says: [openwebrx-httpd:ws,0] command: SET squelch_level=3.162277660168379e-7

So, in plugins/dsp/csdr/plugin.py I edited the line self.squelch_level = 0 to 3.162277660168379e-7

Now, when I start the OpenwebRX it is squelched by default.

Note1: set the squelch on an unused frequency Note2: make a backup of the plugin.py before editing

Hope this helps , 73 ' Ben - PE2BZ

JJi-588 commented 7 years ago

I can confirm this to be a working solution. However, do bear in mind that setting the squelch level this way prevents you from setting the squelch level lower in the user interface, when/if it is required.