The software webscrapes data from wsprnet.org, filter out calls from the balloons and decode additional telemetry and apload to habhub tracker / aprs-fi
Go to file
sm3ulc 015c0c2e30 docs update 2021-11-18 19:37:04 +01:00
.gitignore again.. 2019-10-13 21:14:19 +02:00
LICENSE Initial commit 2019-09-10 21:09:25 +02:00
README.md docs update 2021-11-18 19:37:04 +01:00
balloon.ini docs update 2021-11-18 19:24:40 +01:00
balloon.py Big update with timeslots, loggging, command line options 2019-12-22 11:37:00 +01:00
maidenhead.py again.. 2019-10-13 21:14:19 +02:00
sonde_to_aprs.py new wsprnet format 2021-01-19 21:05:22 +01:00
sonde_to_html.py new wsprnet format 2021-01-19 21:05:22 +01:00
telemetry.py new wsprnet format 2021-01-19 21:05:22 +01:00
webscrape.py new wsprnet format 2021-01-19 21:05:22 +01:00

README.md

hab-wspr

High altittude ballon tracking via WSPR

The software webscrapes data from wsprnet.org, filter out calls from the balloons and decode additional telemetry. Currently the script supports upload to:

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:

Installation

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

Configuration

Edit balloon.ini and add aprs-is user etc. Add balloons on the format:

[ habhub name, aprs-wspr-call, band in mhz, channel, timeslot, datetime, html_push, aprs-ssid, aprs_comment]

habhub name = fancy name to use on habhub

aprs-wspr-call = call to use for aprs data

band in mhz - band to use, i.e 20m band is 14 Mhz

channel - channelnumber 0 to 15

timeslot - 0 to disable use of timeslots. 1-5, use correspondent slot 00, 02, 04 etc.

datetime - starttime in isoformat to calculate duration

html_push 1 to push html page otherwise 0, ONLY for one balloon

aprs-ssid - the ssid to use with aprs-call

aprs_comment - comment to use for comment in aprs-packet

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'

Testing

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