[SOLVED] Two Hubitat Package Manager (HPM) in View

Although it's entirely cosmetic, if you encounter dual HPM entries in View Apps and Drivers, this is the fix:

In words: you use v1.8.6's Un Match feature to unmatch both instances. Next/Done all the way out and it's fixed.

Screen Shot 2022-06-12 at 8.31.40 AM

For visualists:

  • Screen Shot 2022-06-12 at 7.43.53 AM

The cosmetic issue begins with an upgrade from the original HPM to the new version. The original repository knows that new code is available and will bring you to the very latest.

  • Screen Shot 2022-06-12 at 7.45.56 AM

HPM Updates it self to the latest, 1.8.6 at the time of writing.

  • Screen Shot 2022-06-12 at 7.46.06 AM

Notice that when the Upgrade is complete the version is shown, upper right:

  • Screen Shot 2022-06-12 at 7.46.21 AM

The upgrade is complete and there is only one HPM but View Apps and Drivers has a different picture:

  • Screen Shot 2022-06-12 at 7.46.42 AM

V1.8.6 has an Un Match feature that will correct the dual display:

  • Screen Shot 2022-07-25 at 2.04.40 PM

  • Screen Shot 2022-06-12 at 7.47.25 AM

The feature is found in Package Manager Settings, at the very bottom. Click it and you're offered a list of your packages. Choose BOTH HPM entries:

  • Screen Shot 2022-06-12 at 7.47.44 AM

Click Next and confirm:

  • Screen Shot 2022-06-12 at 7.47.55 AM

That's it. Done. HPM itself is the only time a Match Up isn't needed. A quick look at View Apps and Drivers will confirm:

  • Screen Shot 2022-06-12 at 7.48.17 AM

Screen Shot 2022-06-12 at 8.31.40 AM

For the technologists that need to know WHY:

HPM has a database (DB) of your managed packages. Match Up creates it and adds to it. Update and Modify will maintain the DB. Uninstall has been the only way to delete from the DB until now.

Like all DB, there's an Index or Key for each record. HPM uses the location of the Manifest as a Key. Therefore, different locations of the same manifest will appear in the DB. Everything HPM displays uses its DB and for a long time, developers trying to move or correct their Manifests have found it very challenging.

HPM has a single Manifest in both the old and new repos, and the transition to the new repo doesn't discard the old DB entry. The new Un Match feature does, however.


I upgraded to the new version of HPM now that you’re maintaining it (thanks a million btw!), but I see only one entry in the “view apps and drivers” section, i.e. without doing an unmatch.

Out of curiosity, what did I do “wrong?” :slight_smile:

Nothing :slight_smile:

As long as you're seeing 1.8.6, you're good to go.

I didn't have any problem either (or I wouldn't have released it) until I went back and did a soft reset + restore from a week before to start over. I upgraded directly from 1.8.2 to 1.8.4 or 1.8.5, skipping 1.8.3 and the old manifest remained.


@csteele One suggested tweak to the instructions...

The feature is found in Package Manager Settings , at the very bottom.

To follow this step, I clicked on the gear icon at the top of the main HPM page because that seemed like the most obvious and logical thing to do. I scrolled to the bottom of that page but the unmatch feature is not there!

So if you end up here following the instructions but don't see a button on the main HPM page labeled Package Manager Settings then scroll down until you find it. Everything else should work fine from there.

Download the Hubitat app