How to install an app using Hubitat Package Manager?

Tried installing the Sonos Advanced Controller by @daniel.winks via HPM. To say it was a failure is a compliment. Tried doing a repair through hpm which it did. Nothing showed up in devices or in apps. Tried doing an uninstall using hpm and it just hangs on Uninstalling Sonos Advanced Controller and game over… Backed out of hpm and tried uninstalling again and received fatal error, did a repair - success, uninstall - well you get the picture. Any ideas and or help would be appreciated. Also any documents on this very interesting app would also be appreciated.

After “installing” you did remember that you have to “add” the user app?
… and possibly “add” devices that you have installed.

3 Likes

User app??? Thought him installed everything. Where is this user app?

1 Like

HPM installs the app and driver code (i.e. the Groovy code that encompasses the app and/or driver).

For an app, the end user will still have to use the button indicated by @TArman to install the downloaded code as an app.

For a standalone driver, the end user will have to assign that driver to the desired device from the device page.

2 Likes

Well color me embarrassed :flushed:. By chance is there documentation/readme files for this for all the nuances?

Yes. The Hubitat Documentation has instructions on how to install a Custom App. The code for that custom app can be installed manually, or using a tool such as HPM. BTW, HPM itself is a custom app.

Here's the link from the Hubitat documentation:

2 Likes

I wrote this in another topic, but it is something I think needs to be well distributed:

I think it's critical to understand that Hubitat's built-in Apps and drivers, their Code, has an advantage. They all exist on the hub, all the time.

Community created Apps and Drivers (code) are NEVER on the hub... until they get added.

After that, they are identical. They both exist and can potentially be used... or not.

HPM does one main thing... it manages/simplifies the process of getting Code onto the hub. It does nothing about using that code, but then neither does the hub itself. HPM just levels the code-on-your-hub imbalance. :smiley:

Hubitat can update their built-in code anytime and when you update to the latest Platform, you get that updated code automatically.

HPM again, tries to level that too. Daily, it checks to see if anyone has updated code you have asked HPM to manage, and will offer to update it for you.

Hubitat does "force install" a very few bits of built-in code, that you can optionally uninstall. Basic Rules, for example, comes pre-installed on brand new hubs.

HPM's attempt at leveling is to allow developers to mark their Code to be installed immediately after the code is brought to the hub.

But that's it... HPM is never intended to "install" the code. As I've said here more than a few times, HPM simplifies by clicking the "fetch some community code" for you, and little else. :smiley:

3 Likes

I suppose I should have been more specific to the app itself needing the information. It was not intuitive to me. One of the downsides of having something reliable is that it’s like the Everready bunny in that it just keeps going and going. And then when you deviate you have to learn again. I did google the app and got the information needed for me to set it up. Nice app and code…..