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

Screenshot 2025-04-11 at 10.25.06 AM

I haven't clicked Install, but it's at least showing up in HPM. :smiley:

2 Likes

Are you going to create a release topic on this (I couldn't find one), sounds very interesting!

I will .. I am still running into issue trying to get it to set up on HPM so I want to get HPM issue resolved before I post about this app.

3 Likes

I tried installing it from HPM from search and also tried from a URL both give this message

Error Occurred During Installation

An error occurred while installing the package: Failed to install app https://raw.githubusercontent.com/TechBill/visualalert/master/VisualAlertChild.groovy. Please notify the package developer.. Be sure the package is not in use with devices.

The path to child is correct so I assume there have to be a code/logic in child that I am missing for HPM or something

Any idea what I do wrong this time?

At least I got it to show up in HPM menu.

The best debuging mechanism for developers is to manually install the code manually and verify that the HUB accepts the code. In this case:

Screenshot 2025-04-11 at 11.18.07 AM

Which is caused by Namespace confusion:

Screenshot 2025-04-11 at 11.21.49 AM

The child is looking for "VisualAlert:VisualAlert" but the parent code is "TechBill:VisualAlert"

Fixup the child code and it will probably compile.

Screenshot 2025-04-11 at 11.26.23 AM

Resulting in:

4 Likes

That did the trick!

Thank you for you help!

2 Likes

I posted it at 👋 Introducing VisualAlert – A Smart Flashing System Designed by a Deaf User for Real-Life Needs

2 Likes

@csteele, is there any way to list which drivers/apps AREN'T being managed by HPM? Everything I have is already matched. With dozens of drivers and apps, I'm trying to efficiently come up with a list of drivers and apps that I have to manually update/import. Any ideas?

@csteele , I've been out of the loop for awhile. :wink: Can HPM handle installing files into the File Manager?

New app will have:

  • Parent app
  • child app
  • File Manager - 7 Files (html, css, JS)

Thanks

2 Likes

HPM has:

manifest-add-file Add a file manager file to a manifest.

3 Likes

Yes, here is a good example of one I can think of: https://codeberg.org/dan-danache/hubitat/src/branch/main/zigbee-map-app/packageManifest.json

3 Likes