[BETA] Hubitat Package Manager

This is just so great. Would it be possible to have links to the repositories of the developers from within the app? This way I could easily go to each and check what they have developed.

Alternatively we could have a list of all apps "available" vs installed. I find it hard sometimes to know what might be available that might benefit me or be interesting.

I realize what I am asking for is basically an app store :slight_smile:

2 Likes

If you go to "install new app" you can see a list of all the available apps. Choose "from repository" and then category. You don't have to actually install anything at that point. I did this a few times to see what is available.

1 Like

It essentially does this already. If an action is "in progress" and you click Next it just reloads the current screen. It shouldn't cause any harm.

I'd love to build out something way more robust for finding packages. Unfortunately, to "do it right" means I need to build out a server side piece to have searching, and all the things you'd expect in a true store. I'm not currently in a position financially where I can afford to take on the costs of hosting such a system. While I've received a few donations that I'm super thankful for, what I've received so far would barely cover one month of hosting charges and I'm not really looking to take on that kind of recurring expense. It is a terrific idea and if there's someone out there who'd donate a place for me to run an ASP.NET web application and a SQL Server database, I'd be up for it!

Nice! It's similar to what I was thinking and works for now :slight_smile:

Cool thing that will be in the next release:

Automatic updates and update notifications :slight_smile:

8 Likes

Adding a couple other developers should have added: @adamkempenich, @cuboy29, @fblackburn, @nh.schottfam, @markus

Awesome. I’d love to see this implemented in HE itself.

I’ll get my goods supported in it :slight_smile:

4 Likes

@aaron I've already added manifests for my new Apps and Drivers and they are now auto-updated when I build new versions, they're just not included in the main repository list yet. Will do so when what I currently have as a Closed Beta is released. This will be soon, it's just a matter of getting documentation right.

3 Likes

@bptworld @dman2306

getting an error with the latest Package Monitor version updating WDG

I manually updated WDG and it still registers as needing an update, but stalls after downloading

Was able to update another app (hub rebooter) successfully

If you go to the update screen, what version are you currently on of WDG and what version is the new version? I'd like to try to reproduce this

Edit: Think I found it, just released 1.1.1 with the fix

@bptworld

HPM upgraded itself, but did not refresh the screen after completion -- no errors

Manually input new code to be sure I was on latest version & was able to update WDG

Thanks!

Any chance you can show me the logs?

Has anyone had trouble adding a custom repository with version 1.1.0?

Have some details on what’s not working?

I was able to add the repository without error on 1.0.0.

The app says:

Error loading repository

The repository file you specified could not be loaded.

The log says:

[app:737](http://192.168.1.23/logs#app737)2020-04-22 11:41:47.187 am [debug](http://192.168.1.23/installedapp/configure/737)Refreshing repository list

[app:737](http://192.168.1.23/logs#app737)2020-04-22 11:41:44.685 am [debug](http://192.168.1.23/installedapp/configure/737)Refreshing repository list

[app:737](http://192.168.1.23/logs#app737)2020-04-22 11:41:42.657 am [debug](http://192.168.1.23/installedapp/configure/737)Refreshing repository list

Interesting. Any chance you can share the repo link? Feel free to PM me if you don't want it known.

So as people are playing around with this, is there anything you think is missing? I believe at this point I've implemented all of the suggestions I received which will be in the next release later this week. If you have any suggestions, please submit them to Issues · dcmeglio/hubitat-packagemanager · GitHub I'd really like this to become a nice robust package manager as time goes on and right now I have free time!

4 Likes

Hi @dman2306
I have 2 hubs and have clicked on update and there is an update for package manager from 1.1.0 to 1.1.1.
On one hub it just sat on the page that said "installing updates please wait".
I closed the page down went back in and it had updated the package OK.
As you can see from the logs it just got stuck at 19:25.
I waited for some time and you can see at 19:35 I went back in and no updates were available. It had completed it OK.
This is thne first time I have completed an update this way so I'm not sure if this has something to do with it.

On my second hub it did complete OK but when I went back in and did a check it said there was an update for HPM again.
After this it didn't say there was an update. No logs I'm afraid.
Is there a time lag before it updates the package list.
Thanks again for a great app.

@dman2306

Just a suggestion, sorry I forgot to screen grab and now I don't have any updates. When you update an app, in the first screen it says checking and lists the apps by their names. Then when it found an update, it asks "which app you want to update", but it shows the developers name not the app name. This can be a bit confusing as we may not always know who which app is from which developer (sorry developers)

Which app were you updating? It shouldn’t be doing that...