If you notice spammers in the forum, please notify Bas ON5HB, so they can be removed and banned. Give a link in the chatbox or send a PM to me. Thanks.
Quote from: 9a7aof on Jul 21, 2025, 01:26 PMHi Phil,
also downloaded all files from Steven's github with git clone..... (I am old School linux user, since 1996)
I edit these two files and start npm run build.
I Added MW, 180m and Troika band to watefall.js and BandsMenu.svelte
After this I have new waterfall and Bands look.
I attach my edited files:
/home/websdr/PhantomSDR-Plus/frontend/src/waterfall.js to waterfall.js
/home/websdr/PhantomSDR-Plus/frontend/src/components/BandsMenu.svelte
Result is here:
http://9a7aof.ddns.net:8906
Best regards,
Darko, 9a7aof
QuoteHello Darko,
Weird, but I did edit the waterfall.js and recompile and it made no change, so that had me scratching my head. ha
Steven will find the issue. I did not use the pre-built packages. I downloaded the individual packages and built my system that way.
Phil
Quote from: 9a7aof on Jul 21, 2025, 06:04 AMQuote from: Phil - NY4Q on Jul 20, 2025, 10:31 PMSteven,
Do I need to recompile the system after the grid square change? I ask because the wasterfall.js file only has a frequency plan for ITU 1 in the bands section for 40m.
I'm not sure how you are generating that file.
Phil
Hi Phil,
simply edit the waterfall.js located in the
PhantomSDR-Plus/frontend/src directory and compile the UI again.
# PhantomSDR-Plus v2.0.0 Configuration Example - SDRPlay RSP1A
# This configuration is optimized for SDRPlay RSP1A
# Usage: rx_sdr -d driver=sdrplay -f 4000000 -s 8000000 - | ./spectrumserver --config config.toml
[server]
port=8906 # Server port for web interface (80 for HTTP, 443 for HTTPS)
html_root="frontend/dist/" # Path to web interface files
otherusers=1 # Show other users' listening frequencies (1=enabled, 0=disabled)
threads=2 # Number of processing threads (RSP1A benefits from multiple threads)
[websdr]
register_online=true #false # Register WebSDR on https://sdr-list.xyz (true=public, false=private)
name="PhSDR+ 2.0.0 with RSP1A (test) " # Station name displayed on sdr-list.xyz and web interface
#name="9A7AOF PhantomSDRplus-2.0.0 with RSP1A " # Station name displayed on sdr-list.xyz and web interface
antenna="Fan Dipole" # Antenna description shown to users
grid_locator="JN86da" # 4 or 6 character grid locator for distance calculations
#hostname="" # Domain name for public access (leave empty for local use)
hostname="9a7aof.ddns.net" # Domain name for public access (leave empty for local use)
operator="9a7aof" # Operator name/callsign displayed in station info
email="9a7aof_at_gmail.com" # Contact email for station information
callsign_lookup_url="https://www.qrz.com/db/" # URL for callsign lookups in server info panel
chat_enabled=true # Enable/disable chat functionality (new in v2.0.0)
[limits]
# Connection limits to prevent server overload
audio=100 # Maximum audio connections
waterfall=100 # Maximum waterfall connections
events=100 # Maximum event connections
[input]
# SDRPlay RSP1A optimized settings - HF/VHF coverage
sps=8000000 # Input sample rate (RSP1A: up to 10MHz, 8MHz = 8MHz bandwidth)
fft_size=524288 #FFT bins
#fft_size=1048576 # FFT bins for spectral analysis (large for good resolution)
fft_threads=2 # Number of FFT processing threads
brightness_offset=-8 #-6 # Waterfall brightness adjustment (RSP1A typically darker)
frequency=4000000 # Center frequency in Hz (4MHz for HF coverage)
signal="iq" # Signal type: "iq" for complex samples (RSP1A provides IQ)
accelerator="none" #"opencl" # GPU acceleration recommended for high sample rates
#audio_sps=44100 # Audio sample rate for demodulated output (CD quality)
audio_sps=12000 #44100 # Audio sample rate for demodulated output (CD quality)
audio_compression="flac" # Audio compression: "flac" (lossless only)
waterfall_size=1024 #2048 # Waterfall display width in pixels
waterfall_compression="zstd" # Waterfall compression: "zstd" only
smeter_offset=-10 # S-meter calibration offset in dB (RSP1A specific)
[input.driver]
name="stdin" # Input driver: "stdin" for piped data from rx_sdr
format="s16" # Sample format for RSP1A: s16 (16-bit signed integers)
[input.defaults]
# Default settings when users first connect
frequency=3675000 # Default frequency to display (3.645MHz - 80m amateur band)
modulation="LSB" # Default modulation mode: LSB for HF amateur bands
#!/bin/bash
cd /home/websdr/PhantomSDR-Plus/
## Files to load
FIFO=fifo.fifo
[ ! -e "$FIFO" ] && mkfifo $FIFO
#Without PGA
#rx888_stream/target/release/rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 60000000 --pga -d -r -g 80 -a 0 -m low -o - > $FIFO
#RSP1A
rx_sdr -f 4000000 -s 8000000 -d driver=sdrplay -g RFGR=1 -t rfnotch_ctrl=false -F CS16 - > $FIFO
#exit
#!/bin/bash
cd /home/websdr/PhantomSDR-Plus/
### STOP CRASH Injections!!!!
##If no other rules apply, flushing is easier
iptables -D INPUT -m string --algo kmp --string "%3C%" -j DROP
iptables -D INPUT -m string --algo kmp --string "device.rsp" -j DROP
iptables -A INPUT -m string --algo kmp --string "%3C%" -j DROP
iptables -A INPUT -m string --algo kmp --string "device.rsp" -j DROP
## Files to load
FIFO=fifo.fifo
#TOML=config-rx888mk2.toml
TOML=config-rsp1a.toml
[ ! -e "$FIFO" ] && mkfifo $FIFO
service receiver restart
sleep 2
./build/spectrumserver --config $TOML < $FIFO
#exit
chmod +x start-receiver.sh
chmod +x start-websdr.sh
cd /home/websdr/PhantomSDR-Plus/
./start-receiver.sh
./start-websdr.sh
[Unit]
Description=PhantomSDRPlus WebSDR
Requires=network-online.target
Before=websdr.service
[Service]
PIDFile=/run/receiver.pid
ExecStart=/home/websdr/PhantomSDR-Plus/start-receiver.sh
Type=exec
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=receiver.service
[Unit]
Description=PhantomSDRPlus WebSDR
Requires=network-online.target
After=receiver.service
[Service]
PIDFile=/run/websdr.pid
ExecStart=/home/websdr/PhantomSDR-Plus/start-websdr.sh
Type=exec
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
Alias=websdr.service
systemctl enable receiver
systemctl enable websdr
systemctl start receiver
systemctl start websdr
Quoteroot@swo:/home/websdr/rx_tools# service receiver status
● receiver.service - PhantomSDRPlus WebSDR
Loaded: loaded (/etc/systemd/system/receiver.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2025-07-20 06:37:21 CEST; 1 day 4h ago
Main PID: 833 (start-receiver.)
Tasks: 5 (limit: 4167)
Memory: 3.9M
CPU: 2h 3min 47.685s
CGroup: /system.slice/receiver.service
├─833 /bin/bash /home/websdr/PhantomSDR-Plus/start-receiver.sh
└─834 rx_sdr -f 4000000 -s 8000000 -d driver=sdrplay -g RFGR=1 -t rfnotch_ctrl=false -F CS16 -
Quoteroot@swo:/home/websdr/rx_tools# service websdr status
● websdr.service - PhantomSDRPlus WebSDR
Loaded: loaded (/etc/systemd/system/websdr.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2025-07-20 06:37:19 CEST; 1 day 4h ago
Main PID: 757 (start-websdr.sh)
Tasks: 12 (limit: 4167)
Memory: 60.1M
CPU: 1d 17h 12min 40.651s
CGroup: /system.slice/websdr.service
├─757 /bin/bash /home/websdr/PhantomSDR-Plus/start-websdr.sh
└─878 ./build/spectrumserver --config config-rsp1a.toml
Quote from: Phil - NY4Q on Jul 20, 2025, 10:31 PMSteven,
Do I need to recompile the system after the grid square change? I ask because the wasterfall.js file only has a frequency plan for ITU 1 in the bands section for 40m.
I'm not sure how you are generating that file.
Phil
Page created in 0.011 seconds with 8 queries.