In my scanner collection I have a Uniden HomePatrol-2. This little
unit makes an ideal compact base station. The large color display
also makes it very glanceable. But I missed the "remote" display from
my computer console that I have with the BCD436HP and others. The HP-1
and HP-2 have a completely different serial protocol that also is not
present without a software upgrade, the "Extreme Upgrade".

I was already interested in the Extreme Upgrade in general, which
includes:

- Band Scope Mode
- Control Channel Data Output
- Complete Front-panel programmability
- LCN Finder for EDACS and LTR Systems
- Limit Search
- RF Power Plot
- Trunked System Analyzers
- Trunking and Conventional Discovery modes
- USB Audio output and control

Software that does remote control of the HP-* is scarce, or bundled in
expensive/extensive internet scanner server packages.

I found HPe-RC (https://hp.xoynq.com/), a nice little Python app that
was originally written for the HP-1. Unfortunately, I discovered that
it chokes on the HP-2.

Personally, I know very little Python. Nevertheless, I decided to poke
around just to assess the damage. I found the root cause was some
additional "subfirmware" version information sent back in the first
handshake, which HPe-RC wasn't expecting. I produced a patch for this.
Incredibly, that was all it took to make all functions work for the
HP-2. This includes a console remote display, a web-based
interactive remote control, and the ability to capture audio recorded
from each of the calls.

I posted a pull request to the original author. I'm not surprised
there has been no activity on it a couple of months, as it appears
that the project is not recently maintained. I don't blame the
author in the least, if for no other reason than this is a Python 2
app and the world has moved on (somewhat incompatibly, I understand)
to Python 3. As one takeaway of this, I strongly urge not opening up
the web server running in HPe-RC to the internet.

If you are perhaps the one other person in the world who cares about
this, you can find my fork at
https://github.com/digitalnexialist/HPe-rc.

As for Windows, I don't know enough about Python to create the fancy
"precompiled" bundles that the original author did for releases. I have
had no problem running it from the Python interpreter.