FlightAware Discussions

New rtl_power heatmap Script Announcement - Coming Soon

Hi All,

I’ve created a pretty crazy python script that does the following:

  1. With a properties file, you configure an rtl_survey
  2. It runs an rtl_power broadband survey and dumps the result into a CSV file
  3. Automatically processes the CSV file and generates the heatmap using keenerd’s script (github.com/keenerd/rtl-sdr-misc). The heatmaps are “split” into a range you desire (ex: one image every 900 mhz, all configurable through the ppty file)
  4. Looks up all seen frequencies stronger than a given threshold and looks them up (per geographical location) on on the Industry Canada Spectrum Direct Website, where we get the licensee information, frequency, and loads more information about who is transmitting.
  5. Generates an HTML report of the frequencies observed, and a graphical “heatmap” with which frequency belongs to whom. Also notes frequencies that were observed which don’t have a published license.
  6. (configurable) e-mails you the whole shabang (without the CSV file).
  7. (configurable) reboots the machine.

I also will give scripts how to make this into a CRON job. Its running on a weekly basis for me and its going pretty good! :slight_smile:

Some data:

  1. Uses mostly stock Python3 libraries, but you will need http2 installed. I provide instructions.
  2. Currently only uses Industry Canada Spectrum Direct, but its based on “handler” pattern where you will specify your frequency handler in the config file according do your country and it returns a standard class result. So we can “plug in” as many handlers for different countries as we want without having to rewrite any of the original code.
  3. Works on the rpi because that’s where I use it :slight_smile:

I’ll publish it here soon!

Sounds cool… can’t wait to see results and see if I can get it to work as well, as I’ve generated a few heatmaps on my PC, and would love to play with the concept more.

Sounds great! Looking forward to it. :smiley:

Sounds great - Im looking at ways of adding more reports to my PiAware - looking forward to it !

I hope, that the heat map can help me to find the optimal position of the antenna in my attic.

Hi All,

Just giving you an update. I’ve received the OK from Industry Canada to use their frequency lookup web site in an automated way.

Now I just have to generate the HTML page and we should be good to go. Out of curiosity, how many of you are interested in this product that are living in the states? Should I write up an FCC frequency lookup per geo area (if there is such a thing?)

Add one for USA from California.

I don’t see why you need permission to access public information. Public data is for public use.

I’m in Wisconsin and interested.