GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - N4MI73/streamdeck-hamradio: Stream Deck integration for ham radio — mode launchers, propagation dashboard, rotator control, and custom icons

BranchesTags
Open more actions menu

Latest commit

 

History

95 Commits
95 Commits

Folders and files

NameName
Last commit message
Last commit date
HamShackFeed
HamShackFeed
 
 
dashboard
dashboard
 
 
hamshackfeedpro
hamshackfeedpro
 
 
icons
icons
 
 
manualshelf
manualshelf
 
 
propmon
propmon
 
 
rigcontrol
rigcontrol
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

Stream Deck for Ham Radio — N4MI

A complete Stream Deck integration for amateur radio operators running Windows, built with PowerShell scripts, a locally-hosted propagation dashboard, and a server-powered ham radio content aggregator. One press launches your complete software stack for any operating mode, controls your antenna rotator, or opens your personalized operating portal.

Developed by Dan Marshall, N4MI (Grovetown, GA — EM83) with assistance from Claude AI.

📖 Full blog series: n4mi.tech


What This Does

  • One-press mode launchers — FT8/FT4, CW, and SSB each launch their complete app stack in the correct order with the right delays, popup reminders for ACLog configuration, and automatic privilege elevation where needed
  • Clean shutdown — closes all apps in correct dependency order with rotator return-to-North reminder
  • Propagation dashboard — locally-hosted HTML page with live solar indices, band conditions, DX cluster spots, and propagation maps, launched with one button press
  • Storm alert system — three-level alert banner (CAUTION / WARNING / CRITICAL) using WeatherFlow Tempest lightning data and NOAA NWS alerts; warns when it's time to lower the tower
  • Rotator control — sends azimuth commands directly to PSTRotatorAz via UDP; compass direction buttons plus preset DX region headings
  • Web launcher — opens your ham radio browser tabs (QRZ, LoTW, Clublog, PSKReporter, DX Cluster) in a dedicated Chrome profile
  • HamShackFeed — single-file ham radio content aggregator; pulls blogs, podcasts, and YouTube channels into one searchable dashboard with favorites, read tracking, and a built-in podcast player
  • HamShackFeed Pro — server-powered version of HamShackFeed with SQLite persistence, direct RSS fetching (no API key needed), background refresh, and cross-device access
  • ManualShelf — locally-hosted PDF and image manual catalog; browse, search, tag, and open radio manuals and settings screenshots with auto-generated thumbnails; cross-computer visibility via NAS exchange folder
  • PropMon — always-on Docker service on the NAS that fetches HF propagation and tower/weather alert data, applies band-condition rating, and serves it as JSON — a backend for other tools, including the N4MI Desktop Instrument Series ESP32 hardware project. Moved 2026-10-19 to n4mi-shack-server
  • IC-7610 rig control — band, mode, filter, ±100 kHz, split (up 5 / up 1), preamp and NR/NB buttons that drive the IC-7610 over its LAN port, so the logger and WSJT-X keep the USB port; see rigcontrol/ (added 2026-10; optional Tune/Rotate web links added 2026-11)
  • Custom icons — full set of 144×144 PNG icons generated with Python/Pillow, consistent design language across all buttons

Want the dashboard or HamShackFeed Pro always on? An always-on server edition of both apps, run as Docker containers and deployed with Portainer, lives in n4mi-shack-server. This repo remains the Windows / local-computer edition that the blog series describes, and both versions keep working.


Before You Download

  • These projects were developed for my personal ham radio station and computing environment.
  • Many components contain settings, file paths, hardware references, API keys, COM ports, network addresses, and other configuration details specific to my station.
  • Think of these projects as examples and starting points rather than turnkey applications.
  • Most users should expect to customize the software for their own station, operating style, and computer environment.
  • The good news is that modern AI assistants such as Claude, ChatGPT, Gemini, or similar tools can often help adapt these projects to your specific needs much faster than building them from scratch.
  • If you are comfortable experimenting and customizing, you may find these projects useful as a foundation for your own shack tools.

Requirements

Hardware

  • Elgato Stream Deck (any model; 15-key MK.2 or larger recommended)
  • Windows 10/11 PC
  • Yaesu rotator + ERC Mini USB interface (for rotator control features)

Software (all free)

  • Stream Deck software (Elgato)
  • Advanced Launcher plugin by BarRaider (from Stream Deck Plugin Store)
  • Python 3.13 (for dashboard server and HamShackFeed Pro)
    • ⚠️ Check "Add Python to PATH" during installation
  • PowerShell 7 (download) — required for HamShackFeed Pro launcher

Ham Radio Software (paths configured in scripts)

  • ACLog — N3FJP Amateur Contact Log
  • WSJT-X — FT8/FT4 digital modes
  • JTAlert — alert overlay for WSJT-X
  • MRP40 — Morse code decoder (CW workflow)
  • PSTRotatorAz — rotator control software

PropMon (optional, requires separate infrastructure)

PropMon is a Docker service, not a script — it needs a Docker host (Portainer confirmed working) rather than Python on a shack PC. Most users cloning this repo for the Stream Deck / dashboard / HamShackFeed features can ignore this section entirely; it only matters if you also want the NAS-hosted propagation JSON backend. PropMon now lives in n4mi-shack-server (moved 2026-10-19); see its README for full setup.


Repository Structure

streamdeck-hamradio/
├── README.md
├── .gitignore
├── scripts/
│   ├── HamRadioLauncher.ps1            # FT8, CW, SSB mode launchers
│   ├── HamRadioChrome.ps1              # Ham radio website launcher
│   ├── CloseHamRadio.ps1               # Clean shutdown script
│   ├── StartDashboard.ps1              # Dashboard server launcher
│   ├── stop_dashboard.ps1              # Dashboard stop (PID file method)
│   ├── RotatorAzimuth.ps1              # Antenna direction control
│   └── RotatorStop.ps1                 # Stop rotation immediately
├── dashboard/
│   ├── dashboard_server.py             # Local Python web server + DX cluster proxy
│   └── N4MI_PropagationDashboard.html  # Propagation portal (rename callsign as needed)
├── HamShackFeed/
│   └── HamShackFeed.html               # Original single-file content aggregator (see setup below)
├── hamshackfeedpro/
│   ├── server.py                       # Flask server, API routes, scheduler
│   ├── fetcher.py                      # Direct RSS parsing (no API key needed)
│   ├── requirements.txt                # Python dependencies
│   ├── import_sources.py               # Migrate sources from HamShackFeed HTML version
│   ├── StartHamShackFeedPro.ps1        # PowerShell launcher
│   └── templates/
│       └── index.html                  # Frontend
├── manualshelf/
│   ├── README.md                       # ManualShelf-specific setup detail
│   ├── server.py                       # Flask server, SQLite catalog, NAS manifest
│   ├── requirements.txt                # flask, PyMuPDF, Pillow
│   ├── StartManualShelf.ps1            # Launcher (opens browser automatically)
│   ├── StopManualShelf.ps1             # Stop via PID file
│   └── templates/
│       └── index.html                  # Frontend
├── propmon/
│   └── README.md                       # Pointer: PropMon moved to n4mi-shack-server (2026-10-19)
├── rigcontrol/
│   ├── README.md                       # IC-7610 LAN control: setup, buttons, lessons learned
│   ├── rig.ps1                         # All rig-control actions + helper start/stop
│   ├── shacklink.ps1                   # Optional n4mi-shack: Tune/Rotate link handler
│   └── icons/                          # 26 button icons + make_icons.py
└── icons/
    ├── FT8.png
    ├── SSB.png
    ├── CW.png
    └── ... (see full list in repo)

Quick Start

1. Copy scripts to your PC

Save all files maintaining the folder structure to C:\Ham Scripts\

2. Edit paths in scripts

Open each .ps1 file in Notepad and update the app paths at the top to match your installation. Key paths to check in HamRadioLauncher.ps1:

$aclog      = "C:\Program Files (x86)\N3FJP Software...\aclog.exe"
$wsjtx      = "C:\WSJT\wsjtx\bin\wsjtx.exe"
$jtalert    = "C:\Program Files (x86)\HamApps\JTAlertV2\JTAlertV2.exe"
$mrp40      = "C:\Program Files (x86)\HamRadioSoftware\MRP40...\MRP40v67.exe"
$pstrotator = "C:\Program Files (x86)\PstRotatorAz\PstRotatorAz.exe"

3. Configure Stream Deck buttons

For each button, use the Advanced Launcher plugin with:

  • Executable: pwsh.exe (PowerShell 7) or powershell.exe (Windows PowerShell 5.1)
  • Arguments: -ExecutionPolicy Bypass -File "C:\Ham Scripts\ScriptName.ps1"

Example arguments for mode launchers:

FT8:  -ExecutionPolicy Bypass -File "C:\Ham Scripts\HamRadioLauncher.ps1" -mode ft8
CW:   -ExecutionPolicy Bypass -File "C:\Ham Scripts\HamRadioLauncher.ps1" -mode cw
SSB:  -ExecutionPolicy Bypass -File "C:\Ham Scripts\HamRadioLauncher.ps1" -mode ssb

HamShackFeed Pro button:

Executable: pwsh.exe
Arguments:  -ExecutionPolicy Bypass -Command "cd 'C:\Ham Scripts\hamshackfeedpro'; python server.py"
Start In:   C:\Ham Scripts\hamshackfeedpro

4. Configure PSTRotatorAz for UDP control

In PSTRotatorAz: Communication → UDP Control → Enable, port 12000

5. Customize the propagation dashboard

Edit N4MI_PropagationDashboard.html and update the callsign and grid square to your own. Update the callsign in dashboard_server.py as well (CALLSIGN = "N4MI").

For the storm alerts' Tempest data, get a token at tempestwx.com → Settings → Data Authorizations and store it in a Windows user environment variable named TEMPEST_TOKEN (Start → "Edit environment variables for your account" → New). Restart the dashboard launcher afterwards. The server reads it at startup and prints whether it was found. Without a token, storm alerts run on NWS alerts only. Never put a real token in dashboard_server.py — this is a public repo, and the file used to be served by the dashboard itself.

The dashboard server answers only the dashboard page and its /api/ endpoints; other files in its folder aren't served (changed 2026-10-20).

Prefer an always-on server? See the Docker edition in n4mi-shack-server, which reads the token from an environment variable the same way.

6. Set up HamShackFeed

See the HamShackFeed Setup section below.

7. Set up HamShackFeed Pro

See the HamShackFeed Pro Setup section below.

8. Set up ManualShelf

See the ManualShelf Setup section below.

9. Set up IC-7610 rig control (optional)

Band/mode/filter/split buttons over the radio's LAN port — see rigcontrol/README.md.

10. Set up PropMon (optional)

PropMon moved to n4mi-shack-server on 2026-10-19 — it's a Docker/NAS deployment, not a local script. Follow the setup in its README there.


HamShackFeed Setup

HamShackFeed (HamShackFeed/HamShackFeed.html) is a single HTML file that aggregates ham radio blogs, podcasts, and YouTube channels. It works by fetching RSS feeds through the rss2json.com API proxy.

API key required

The file in this repo ships with a placeholder key (YOUR_RSS2JSON_API_KEY_HERE). Without a real key, the proxy is rate-limited to 1 request per 10 seconds — the default sources will load slowly and adding new sources will fail.

A free rss2json.com account gives you 10,000 requests per day.

To get your free key:

  1. Go to https://rss2json.com and sign up
  2. Copy your API key from the dashboard
  3. Open HamShackFeed.html in a text editor and find this line near the top of the <script> block:
const RSS2JSON_KEY = 'YOUR_RSS2JSON_API_KEY_HERE';
  1. Replace the placeholder with your key and save

Tip: Consider using HamShackFeed Pro instead — it fetches feeds directly on the server with no API key needed, stores everything in SQLite, and works across devices.


HamShackFeed Pro Setup

HamShackFeed Pro (hamshackfeedpro/) is a locally-hosted server version that solves the limitations of the standalone HTML file:

This section covers running HamShackFeed Pro on a Windows PC. For an always-on Docker/Portainer deployment, see n4mi-shack-server.

Feature HamShackFeed HamShackFeed Pro
RSS proxy API key Required Not needed
Source/read persistence Browser localStorage SQLite database
Cross-device access No Yes (local network)
Background refresh No Every 30 minutes
Port n/a 8074

Installation

  1. Copy the hamshackfeedpro\ folder to C:\Ham Scripts\

  2. Install Python dependencies (run once):

cd "C:\Ham Scripts\hamshackfeedpro"
pip install -r requirements.txt
  1. Start the server:
cd "C:\Ham Scripts\hamshackfeedpro"
python server.py
  1. Open http://localhost:8074 in your browser

The hamshackfeed.db SQLite database is created automatically on first run. Feeds begin loading in the background immediately.

Accessing from other devices

HamShackFeed Pro binds to all network interfaces. From any device on your local network, open:

http://192.168.x.x:8074

Replace with your ham computer's local IP. Read state and sources are shared across all devices.

Windows Firewall: If other devices can't connect, allow inbound connections on port 8074:

New-NetFirewallRule -DisplayName "HamShackFeed Pro" -Direction Inbound -Protocol TCP -LocalPort 8074 -Action Allow

Migrating sources from HamShackFeed HTML version

  1. Open HamShackFeed.html in your browser, press F12, open the Console tab, and run:
const all = JSON.parse(localStorage.getItem('n4mi_sources_v2') || '[]');
const custom = all.filter(s => String(s.id).startsWith('custom_'));
copy(JSON.stringify(custom, null, 2));
console.log(`Copied ${custom.length} custom sources to clipboard`);
  1. Paste into a file called custom_sources.json in C:\Ham Scripts\hamshackfeedpro\

  2. With the Pro server running, execute:

cd "C:\Ham Scripts\hamshackfeedpro"
python import_sources.py

Adding YouTube channels

Use the full channel URL format — YouTube handle URLs (@name) cannot be auto-resolved:

✅ https://www.youtube.com/channel/UCxxxxxxxxxxxxxxx
❌ https://www.youtube.com/@channelname

Find the channel URL on the channel's About page.


ManualShelf Setup

ManualShelf (manualshelf/) is a locally-hosted catalog for PDF manuals and settings screenshots. It generates thumbnails from PDF first pages, supports tagging and search, and can show manuals available on another computer via a shared NAS folder.

Feature Detail
Port 8075
Supported files PDF, PNG, JPG/JPEG, GIF, BMP, WEBP, DOCX, DOC, XLSX, XLS, CSV, PPTX, PPT, TXT, MD, HTML/HTM
In-app preview MD and TXT files render inside the app; all others open in default Windows app
Full-text search PDF text content is indexed and searchable via Re-index PDFs in Settings
Thumbnail generation PyMuPDF (first page of PDF)
Cross-computer NAS exchange folder manifest

Installation

  1. Copy the manualshelf\ folder to C:\Ham Scripts\

  2. Install Python dependencies (run once):

cd "C:\Ham Scripts\manualshelf"
pip install -r requirements.txt
  1. Start the server:
.\StartManualShelf.ps1

Or run directly: python server.py

Open http://localhost:8075 in your browser.

ManualShelf is reachable from this computer only (since 2026-10-20). Its API can open files on the desktop and has no login, so it no longer listens on the network. The cross-computer "Remote Manuals" view is unaffected — it works through the NAS exchange folder, not over HTTP. To allow other devices anyway, set the environment variable MANUALSHELF_HOST=0.0.0.0 before starting it (any device on your LAN could then use it). ManualShelf only adds, previews and opens its supported document and image types; programs and scripts are refused.

First-time setup

  1. Click ⚙ Settings — set your Computer Name and optionally a NAS Exchange Folder for cross-computer visibility
  2. Click 📂 Add Manuals — paste a folder path and scan; select files to add to the catalog
  3. Thumbnails are generated automatically on add

Updating a manual

When you replace a file on disk with a newer version, re-scan the folder. Changed files appear with an amber UPDATE badge, pre-checked. Selecting them refreshes the thumbnail and file data while preserving your title, tags, make, model, and category.

Full-text PDF search

ManualShelf can search inside PDF text content, not just filenames and tags. To enable it:

  1. Open ⚙ Settings and click 🔍 Re-index PDFs — indexing runs in the background
  2. Search normally — results that matched on PDF text content show a purple PDF TEXT badge

New PDFs are indexed automatically when added. Re-run after adding a large batch.

Bulk tag editor

To apply tags or a category to multiple files at once:

  1. Click ☑ Select in the toolbar to enter selection mode
  2. Click cards to select them, or use Select All
  3. Click ✏️ Edit Selected and enter tags and/or a category
  4. Check Add to existing tags to merge with existing tags rather than replace them

Cross-computer visibility

Each running instance writes a manifest to the NAS exchange folder every 5 minutes. The other machine reads it and shows remote manuals under the 📡 Remote Manuals sidebar filter. Clicking a remote entry shows its full metadata with a note that the file lives on the other machine and must be retrieved via LocalSend or the NAS exchange folder.

Stream Deck button

Executable: powershell.exe
Arguments:  -ExecutionPolicy Bypass -File "C:\Ham Scripts\manualshelf\StartManualShelf.ps1"
Start In:   C:\Ham Scripts\manualshelf

PropMon Setup

PropMon (propmon/) is different from everything else in this repo — it's a Docker service meant to run on an always-on host (a NAS via Portainer, in this deployment), not a script launched from the Stream Deck. It fetches HF propagation and tower/weather alert data and serves it as JSON for other tools to consume — currently, the N4MI Desktop Instrument Series, an ESP32-based desktop hardware display.

PropMon's code moved to n4mi-shack-server on 2026-10-19, together with the other always-on server apps. Full deployment steps, environment variables, endpoint documentation, and the band-rating model are in its README there. This repository's propmon/ folder now holds only a pointer.


Script Reference

Script Purpose Key Arguments
HamRadioLauncher.ps1 Launches complete app stack for a mode -mode ft8 / -mode cw / -mode ssb
HamRadioChrome.ps1 Opens ham radio websites in Chrome none
CloseHamRadio.ps1 Cleanly shuts down all ham radio apps none
StartDashboard.ps1 Starts Python server and opens dashboard none
stop_dashboard.ps1 Stops dashboard server via PID file none
RotatorAzimuth.ps1 Rotates antenna to any azimuth -az 270 (0–360)
RotatorStop.ps1 Immediately stops antenna rotation none
hamshackfeedpro/server.py Starts HamShackFeed Pro on port 8074 none
manualshelf/server.py Starts ManualShelf catalog on port 8075 none
rigcontrol/rig.ps1 IC-7610 band/mode/filter/split/preamp/NR/NB over the LAN band 20, mode CW, split SSB, stop … (see its README)
rigcontrol/shacklink.ps1 Handles n4mi-shack: Tune/Rotate links from a web page -Install, -Status, -Uninstall, or a link (see rigcontrol README §7)

DX Region Headings (from EM83 — Central Georgia)

These are approximate great-circle headings. Operators in other grid squares should calculate their own using ACLog, PSTRotatorAz's DXCC lookup, or an online great-circle calculator.

Region Azimuth
Europe 50°
West Africa 80°
S. America 145°
Pacific 290°
Asia 342°

Customizing for Your Station

  • App paths — update in HamRadioLauncher.ps1 and CloseHamRadio.ps1
  • COM ports — the CW popup reminder references COM 6 (IC-7610) and COM 10 (WinKeyer). Update popup text in HamRadioLauncher.ps1 to match your setup.
  • UDP port — default is 12000. Change $udpPort in RotatorAzimuth.ps1 and RotatorStop.ps1 if your PSTRotatorAz uses a different port.
  • Chrome profile — default is Profile 1. Update $profile in HamRadioChrome.ps1 and StartDashboard.ps1.
  • Dashboard callsign/grid — update in both dashboard_server.py and N4MI_PropagationDashboard.html.
  • DX region azimuths — update -az arguments in your Stream Deck button configurations.
  • Launch delays — adjust $shortDelay and $jtalertDelay in HamRadioLauncher.ps1 if apps need more time to load on your PC.
  • HamShackFeed API key — set RSS2JSON_KEY in HamShackFeed.html (or use HamShackFeed Pro instead).
  • HamShackFeed Pro refresh interval — change REFRESH_INTERVAL_MINUTES near the top of server.py.
  • IC-7610 rig control — $RadioIP, band edges, filters and split offsets in rigcontrol/rig.ps1; see rigcontrol/README.md.
  • PropMon station coordinates/zone — now in n4mi-shack-server (propmon_server.py there).

Related Projects

N4MI Desktop Instrument Series — a family of ESP32-based desktop hardware instruments (starting with a LilyGO T-Encoder Pro propagation display) that consume PropMon's JSON API. PropMon itself now lives in n4mi-shack-server. Separate toolchain (PlatformIO/Arduino C++), separate repo, own README.


Blog Series

Full writeups with setup instructions, screenshots, and explanations at n4mi.tech:

  1. Stream Deck Basics — Mode Launchers & PowerShell Scripts
  2. The Personal Operating Portal — Propagation Dashboard
  3. Rotator Control from the Stream Deck
  4. HamshackFeed — Lightweight Aggregator for ham radio blogs, podcasts and YouTube channels
  5. Custom Icons, Getting Started & Closing Thoughts
  6. HamShackFeedPro — Upgraded ham radio content aggregator
  7. ManualShelf — A locally-hosted PDF and document catalog
  8. PropMon – a Desktop Propagation Monitor
  9. IC-7610 Rig Control from the Stream Deck

License

MIT License — free to use, modify, and share. If you adapt this for your own station, a mention of N4MI is appreciated but not required. 73!


Developed with assistance from Claude AI — Anthropic

About

Stream Deck integration for ham radio — mode launchers, propagation dashboard, rotator control, and custom icons

n4mi.tech/

Topics

amateur-radioamateur-radio-applicationsamateur-radio-toolsamateurradiocatcontroldashboardflask-applicationham-radiohamradioic-7610powershell-scriptspropagationpythonrigcontrolrotatorrotator-control-softwarestreamdeckstreamdeck-tools

Resources

Readme
Activity

Stars

5 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.