[BETA] Hubitat Package Manager

Looks like you need to turn off the security in HPM.

I noticed must have input something there. But how to turn it off?
Un-install HPM reinstall and watch not to add any user?
Thanks for your help!

Should be able to just flip the switch inside of HPM

Never get past the error message and the settings screen I attached here!

Removed and re-connected HPM and did NOT select security.
still get same error. hum
Keeps saying HUB security and user name. But never added a user to the HE.
Power cycling the HE will see what happens.
Yikes, that did it now shows the apps in HPM! thanks!
Done for today, will see if I can get Rachio in tomorrow.

3 Likes

Anyone else getting an error on HPM updates with Inovelli Drivers? Causing a fail to update.

Error Occurred During Installation

An error occurred while installing the package: Failed to upgrade driver
https://raw.githubusercontent.com/InovelliUSA/Hubitat/master/Drivers/inovelli-switch-lzw30.src/inovelli-switch-lzw30.groovy.

Nope

2 Likes

Me neither.

1 Like

Figured I'd add my debug on this.

I added the app, and put in my Hubitat user/password, not my local security user/password. At this point it seemed locked into having that user/password. Even enabling Hub Security, creating a user, and putting in that user/password didn't work.

Completely removing the App code - not just removing / re-adding the app - but removing the app, and delete the "Apps Code" - then reload from git worked.

I just installed HPM but its not taking my username and password. I do have Hub Security enabled in Hubitat and have verified my credentials are correct. I have removed HPM, reinstalled, entered by Hub Security password, but still get the same error.

I'm on the C-5 running 2.3.0.124.

On the first page of the HPM app, there is a button at the very bottom named Package Manager Settings. Click it, you should see a page like this:

Do you have the top switch turned on? It must match whether you have Hub Security Enabled on your hub. (I don’t). And make sure the username and password for Hubitat Security match what you enter here.

Actually, I don’t get all those settings when I click the sprocket.

You're looking for the settings section in the app itself--that's the "app status" page that, despite being prominently displayed and with an icon that screams "settings!"--is just a platform-level feature that mostly contains information that might be useful for development or troubleshooting.

This is literally what I see though. It seems I don’t have the ability to access settings.

In your second screenshot, what happens if you hit Main Menu ? Should see this:

Then, scrolling to the bottom, you should see this:

This happens:

That’s a mystery, never seen that. Perhaps you have some sort of database corruption of your hub. Have you tried:

  1. Make and download to your computer a backup of your hub’s database (Settings, Backup and Restore)
  2. Copy the hub’s MAC address to your clipboard (Settings, Hub Details). Then, Soft Reset from the Diagnostic Tools menu (yourHubIP:8081), login, paste the MAC address as the password
  3. When the hub reboots to the Getting Started screen after Soft Reset, click the tiny link at the bottom of the page, and select the backup file you downloaded above as the restore file.

Soft Reset details are here:
https://docs.hubitat.com/index.php?title=Soft_Reset

By the way, rather than typing the hub IP and port 8081 to get to the diagnostic tools, there is a shortcut: Settings, Backup and Restore, click the link a few lines down from the top, above the on-hub backup list (“click here”). You will still need to log in with the MAC address, as described above.

Not sure if this has been asked before.... But can I trigger a switch or something similar (method in the driver) when the driver code is updated, either via HPM or HE natively?

What I want to do ultimately is initiate the download of a HTML file from my GitHub repo as part of the install or update of a package (device driver).

Unfortunately a code change/refresh doesn’t generate an event. Haven’t done it on this platform, but in past lives I’ve put in version checks for dependent modules to issue warnings or force updates; i.e. App loads, checks it’s compatible module versions, and as it loads code from dependent modules it queries them for their version information.

Thinking back to this morning (for me), does the configure not get called? Or is that just the Hub Info?