[RELEASE] Hubitat Package Manager (HPM) -- HubitatCommunity

I've been seeing the following error in my logs. It doesnt seem to be causing any problems...but I've not noted it before:

2024-08-31 08:19:44.825 PM[error] Unable to get the app ID of the package manager

S.

did you erase the App code?

Screenshot 2024-08-31 at 5.44.33 PM

Good question, but negative. The App code on both hubs where I've noted this behavior look good. The code looks complete with a brace on line 3861.

Definitely something on my end though, a third hub shows no errors.

S

Is it an old version of HPM? Hubitat changed the way the App Code screen looked almost a year ago and that meant an upgrade to HPM before doing the Platform upgrade. The current version is 1.9.3

The current version is displayed in the upper right corner of HPM:

Screenshot 2024-08-31 at 7.31.39 PM

4 Likes

I must admit, with no small amount of embarrassment, that was it!

100% operator error!

Both of the hubs had versions that were right at the beginning of the changelog. 1.8.2 or 1.8.3.

I guess since it ;"just worked" I never had cause to reimport!

Thanks @csteele!

It's a Topic that made it to the release notes for v2.3.6 in September of '23.

which links to a how-to Topic:

USING a version of HPM that can't find the app list will cause duplicate apps to be installed. There's also a Topic about duplicate HPM apps in Apps Code:

If you didn't USE HPM during the mismatch, then updating HPM is all that's needed.

I think a lot of people got caught because breaking changes on Hubitat are very rare. That encourages people to upgrade without reading the release notes with an eye for upgrade order. :smiley:

6 Likes

upgrade without reading the release notes with an eye for upgrade order.

Guilty as charged! Although, interestingly, I never encountered duplicate apps, or really any other issues at all. Except of course the one error noted. Just lucky I guess.

S

1 Like

@csteele

When are you going to give yourself some credit for HPM? I am sure everyone here thinks 100% you have earned it.

6 Likes

I can't say enough about the excellent code Dominic left behind. My improvements have still, in my opinion, not reached 10% of the code he handed to us all. When I get to 20%, I'll add my name :smiley: I'm talking features/improvements, not simply line count.

19 Likes

Shoot... @csteele you really need to just bite the bullet and at least put your name in there too.. HPM is a fantastic tool, but you have kept it going and made it even better..

12 Likes

I see your point. Never hurts to ask. Technically this is strict alphabetical order.

1 Like

I was wondering if HPM could be updated to provide a "roll back" option? My thinking is if the user finds issues with the newest release they could easily get back to the last working version.

If I am not mistaken, HPM only has the link to the new code/etc. and think it would only require a link back to the previous version from the author.

I know this is a big ask but I think it would be of great value.

1 Like

Yes, already supported, it's called restoring a backup.

4 Likes

@swade - thats a sticky slope imho. the whole version management is a bit complicated on the dev side. And handling first time installs, and apps vs device drivers ... ouch.

the 'restore a backup' comment - with the loss of info in the logs etc - of course makes no sense but that doesn't take away from your feature idea, I just don't think we'll ever see that happen. Never say never right?

Yep. That's why I usually do a backup before any update.

I have also gone into a devs GitHub and downloaded a previous version too but if I remember it wasn't a straight forward process to someone that isn't real familiar with GitHub

2 Likes

Thank you for Hubitat Package Manager.

I don't know when the Govee Integration package was introduced but as a noobe ... I have Govee wi-fi bulbs hooked into my Hubitat C-8 aaand, thanks !

Have owned my first C8 for one week now

2 Likes

OMG!

It is there now.

There's a community app for Govee that's a bit more robust and actively developed at this time.

Given the active community app dev, I'd honestly rather see the HE dev team put more effort into LG API integration (community app abandoned).

Sometimes, others will pick-up abandonned community apps.

The Hubitat team’s primary focus is on locally accessible apps. If the LG integration is web based, then I suspect it won’t be a priority, if an option. However, if they have a published local API, that could very much change, though typically they would need a device to test…

1 Like

Community LG integration going strong over here.

Uses a local, websocket connection.

1 Like