Thursday, October 10, 2013

Listening Live to Scanners Feeding Online Streams

I have a few scanners feeding online feeds such as Some of these allow no way to listen directly to the scanner in my shack without listening to the feed online. To solve this, I bought a Behringer MicroMix MX400 mixer. It has 4 inputs and one output. With audio splitters on the scanners, it was an inexpensive way to allow me to easily listen directly to the scanner audio without disconnecting the online feeds.

Wednesday, October 2, 2013

Linux Bash Script to get a TAF Forecast From the Console

Example: $taf kslc

Save the following in a file called taf:
station=$(echo "$1" | tr '[:lower:]' '[:upper:]')
wget -q -O /home/$USER/taftmp$station.TXT
echo " "
more /home/$USER/taftmp
echo " "
rm /home/$USER/taftmp

Python Script to Update Icecast Stream with METAR and TAF

Here are two scripts to retrieve airport METAR and TAF data from the National Weather Service website and then send this data to an Icecast server to update stream metadata.

You can get the scripts here (use wget from a Linux command line):

Save them with whatever names you'd like (probably imetar[AirportName].py). In each script enter the server/stream information and modify the script to download your desired station name. Then run a cron job every hour (or whatever interval you choose) to update your stream metadata with the airport METAR and TAF data.