hab-wspr/README.md

70 wiersze
1.6 KiB
Markdown
Czysty Zwykły widok Historia

2019-09-10 19:22:09 +00:00
# hab-wspr
2019-10-13 19:11:16 +00:00
## High altittude ballon tracking via WSPR
2019-09-10 19:23:46 +00:00
2019-11-16 14:26:19 +00:00
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 ).
2019-11-16 14:14:01 +00:00
2019-11-16 14:19:39 +00:00
There are existing functions to load/save flightdata from csv/wsprnet-archive-files. ( http://wsprnet.org/drupal/downloads )
2019-10-13 19:11:16 +00:00
The protocol for the telemetry is described here:
2019-11-16 14:19:39 +00:00
* https://qrp-labs.com/flights/s4.html
2019-10-13 19:11:16 +00:00
# Installation
2019-11-16 14:19:39 +00:00
First clone the repo:
git clone https://github.com/sm3ulc/hab-wspr
2019-10-13 19:11:16 +00:00
The package requires some extra modules that need to be installed via pip or similar
2019-10-13 19:45:49 +00:00
apt install python-httplib2 python-requests python3-bs4
2019-10-13 19:11:16 +00:00
# Configuration
2019-11-16 14:14:01 +00:00
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 ]
Uploads to APRS-IS is done by adding the SSID "-12" to the default balloon-callsign.
2019-10-13 19:11:16 +00:00
To run:
2019-10-13 19:16:34 +00:00
python3 webscrape.py
2019-11-16 14:14:01 +00:00
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'
2019-12-22 10:10:08 +00:00
# Testing
Adjust your balloon.ini
Goto http://wsprnet.org/drupal/downloads or
wget http://wsprnet.org/archive/wsprspots-2019-12.csv.gz
Extract data from archive and save filtered spots to spots.csv and then process.
python3 webscrape.py --archive wsprspots-2019-12.csv.gz --conf test.ini
Read csv-file from spots.csv and process.
<pre>python3 webscrape.py
--csv spots.csv
</pre>