The software webscrapes data from wsprnet.org, filter out calls from the balloons and decode additional telemetry. Currently the script supports upload to:
- habhub tracker ( https://tracker.habhub.org/ )
- aprs-fi ( https://aprs.fi ).
There are existing functions to load/save flightdata from csv/wsprnet-archive-files. ( http://wsprnet.org/drupal/downloads )
The protocol for the telemetry is described here:
First clone the repo:
git clone https://github.com/sm3ulc/hab-wspr
The package requires some extra modules that need to be installed via pip or similar
apt install python3-httplib2 python3-requests python3-bs4
For windows users install anaconda with python 3.
pip install httplib2 pip install bs4
Edit balloon.ini and add aprs-is user etc. Add balloons on the format:
[ habhub name, ham callsign for the balloon , band in mhz, channel, timeslot ]
timeslot = 0 to disable use of timeslots. 1-5, use correspondent slot 00, 02, 04 etc.
Uploads to APRS-IS is done by adding the SSID "-12" to the default balloon-callsign.
To run on linux: (with default config file balloon.ini)
python3 webscrape.py
The scripts work with a database in sqlite. It can be used to do all kinds of output/export like checking the last sent spots:
sqlite3 wsprdb.db 'select * from sentspots order by time_sent desc limit 30'
Adjust your balloon.ini or other configfile like test.ini.
Goto http://wsprnet.org/drupal/downloads or
wget http://wsprnet.org/archive/wsprspots-2019-12.csv.gz
Extract data from archive and append filtered spots to spots.csv in and then process.
python3 webscrape.py --archive wsprspots-2019-12.csv.gz --conf test.ini
Read csv-file from spots.csv and process.
python3 webscrape.py --csv spots.csv