Рет қаралды 9,347
Let's put a weather station on the air, allowing us to get weather updates on our HT's and other APRS-enabled radios.
Steps covered in this video:
sudo su - root
apt-get install weewx
follow prompts to setup weewx
cd /tmp
wget github.com/cavedon/weewx-aprs...
wee_extension --install=master.zip
vi /etc/weewx/weewx.conf
[APRS]
output_filename = /dev/shm/aprs.pkt
include_position = 1 ### change this to 1
symbol_table = /
symbol_code = _
comment = ""
systemctl stop weewx
systemctl start weewx
confirm /dev/shm/aprs.pkt exists after 10 minutes or so
apt-get install direwolf # gives us "kissutil"
cd /usr/local/bin/
wget raw.githubusercontent.com/cra...
chmod 755 aprs-send-weather.sh
vi aprs-send-weather.sh
User serviceable parts:
USER="KM6XXX-3"
PASS="12345"
gen PASS password here: apps.magicbug.co.uk/passcode/...
exit # become pi user again
send packet over RF, get "aprs-send-weather.sh"
/usr/local/bin/aprs-send-weather.sh
Tell cron to run that at the top of every hour
crontab -e ## append the following line
0 * * * * /usr/local/bin/aprs-send-weather.sh