8000 GitHub - bklofas/wsprdaemon at v3.0
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bklofas/wsprdaemon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wsprdaemon (WD) Under development version v3.0a

This branch is currently under development. Server mode is largely finished, debugged and running at wsprdaemon.org and wd1.wsprdeamon.org The client mode is running at AI6VN/KH6 but it isn't really ready for even alpha testing at other sites.

A Debian/Raspberry Pi WSPR decoding and noise level graphing service

This is a large bash script which utilizes kiwirecorder.py and other library and utility commands to record WSPR spots from one or more Kiwis, audio adapters and (for VHF/UHF) RTL-SDRs and reliably post them to wsprnet.org.

Schedules can be configured to switch between bands at different hours of the day, or at sunrise/sunset-relative times.

Signals obtained from multiple receivers on the same band ( e.g a 40M vertical and 500' Beverage ) can be merged together with only the best SNR posted to wsprnet.org.

In addition WD can be configured to, at the same time, create graphs of the background noise level for display on the computer running WD and/or at graphs.wsprnet.org.

WD can run on almost any Debian Linux system and is tested on Stretch and Buster for Raspberry Pi 3 and 4, and Ubuntu 18.04LTS on x86. A Pi 3b can decode 14+ bands; a Pi 4 can decode 30+ bands.

Greenfield Installation

On a Raspberry Pi, install as user 'pi'.

On other Debian/Ubuntu servers, create a wsprdaemon user to install and run WD on your system. That user will need sudo access for installation, and auto sudo permissions is needed if WD is configured to display graphics on the server's own web page.

To configure user 'wsprdaemon' to sudo:

su -
adduser wsprdaemon sudo
exit

While logged on as user 'pi' or 'wsprdaemon':

Download wsprdaemon.sh from this site by executing:

cd ~
git clone https://github.com/rrobinett/wsprdaemon.git
cd wsprdaemon
./wsprdaemon.sh -V

This first run of WD will install many, many utilities and libraries, and for some you will be prompted to agree to the installation. Some/all of them will require sudo permission. I configure wsprdaemon as a member of the sudoers group and thus am never prompted for a password, but your experience may vary.

At the end of a successful installation, WD creates a prototype configuration file at ~/wsprdaemon/wsprdaemon.conf. You will need to edit that file to reflect your desired configuration running ./wsprdaemon.sh -V until WD just prints out its's version number. Once configured, run './wsprdaemon.sh -a' to start the daemon. It will automatically start after a reboot or power cycle.

To upgrade from 2.6*:

  1. cd ~/wsprdaemon
  2. stop WD with '~/wsprdaemon/wsprdaemon.sh -z'
  3. execute 'git pull'
  4. free disk space with 'rm -rf /tmp/wsprdaemon/*'
  5. clean out legacy noise data with 'rm -rf /home/pi/wsprdaemon/signal_levels/*'
  6. start WD with '~/wsprdaemon/wsprdaemon.sh -a'

Installation on a system running wsprdaemon that was not installed using 'git clone'

Stop WD with:

'./wsprdaemon.sh -z'

Save away (i.e.rename) your exisiting ~/wsprdaemon directory, including its wsprdaemon.conf file:

mv ~/wsprdaemon/ ~/wsprdaemon.save"

Follow the instructions for "Greenfield Installation", but don't end by starting WD with

'./wsprdaemon.sh -a'

Copy your saved wsprdaemon.conf file into the directory created by the clone:

cp ~/wsprdaemon.save/wsprdaemon.conf ~/wsprdaemon/"

Then start WD with

./wsprdaemon.sh -a

Upgrading WD in a cloned directory to the latest master version

Execute 'git pull'

Usage

After installation and configuration is completed, run:

Command Description
~/wsprdaemon/wsprdaemon.sh -a Starts WD running as a background linux service which will automatically start after any reboot or power cycle of your server
~/wsprdaemon/wsprdaemon.sh -z Stop any running WD, but it will start again after a reboot/power cycle
~/wsprdaemon/wsprdaemon.sh -s Display the status of the WD service
~/wsprdaemon/wsprdaemon.sh -h Help menu

Since I have no QA department, installations, especially on non-Pi systems, may encounter problems which I have not seen. However WD has been running for months at many top spotting sites and I hope you find it useful, not frustrating.

About

A Debian/Raspberry Pi WSPR decoding service

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 95.9%
  • Python 4.1%
0