Have you tried using atomic.state? Instant update for state verses waiting for processes to complete. I had to use this in another app as the state was not updating quickly.
Yeah. From my ST days though I remember atomicstate behaving very weirdly when storing maps...
Thank you for this! I'm loving this app, and I've had no issues so far
It's always been such a PITA to check for updates to app and then to grab the Github URL and paste that into HE to update... Phew!
Thanks to @Cobra for a suggestion on a way to resolve the issue where HPM wasn't recognizing it was upgraded. 1.3.2 was released that should take care of this.
I want to pose a question to everyone as a poll. I really like where this project has gone. First, I'm super appreciative of how many developers have joined in the fun and hope it continues to grow! There are now 62 packages hosted! Second, a BIG thank you to everyone who has donated. As someone who is currently unemployed, I really appreciate the little extra cash in my pocket to help with bills. And as someone who hopes to find a new job soon, I can't wait to use those donations to feed my addiction of buying more devices that I want to integrate (Switchbot Curtain is very high on my 'want' list)!
All of this being said, I think, as more packages get added, the idea of just having categories as a way to find packages will fall apart. Already I can't figure out what category things are under. Now fast forward a year when there are 500 packages. The real solution is a search engine. The only way I can really build a true search feature in a reliable way is to make it hosted on a server. @bptworld did a really great and cool job with the Package Explorer which has some searching capabilities, but as packages get more numerous, HE just doesn't have the horsepower to download all of the files and search them, it's not a PC. So I'm building a small solution hosted on Azure (thanks @aaron for providing an account!) which will give the ability to do real search engine style searching - supporting quotes for phrases, NOT operators, OR, AND, wildcards, etc. It could also allow for building out an actual "store" type system depending on how crazy I want to get - reviews, comments, etc. I'm curious, before I put a ton of effort into something like this, how people feel about the idea. So a quick poll -- do you think this is a good idea? The searching is definitely something I'm going to do, this is more about really building out a full store type platform with reviews and such. Thoughts?
- Yes
- No
0 voters
Love the idea of a full search engine built in, I agree when this gets too big HE just won't handle it. It's just not designed to do stuff like that. What that upper limit is.. will find out! lol
Ratings, reviews, comments - I can definitely do without that headache. Only takes one bad apple to destroy someones rep. I've been personally attacked on here more than once. At least here I can just flag it. Just take a look at the Time out room or the Debate chamber to see just how nasty people can be.
Sure, but you could always add safeguards to prevent people from submitting multiple reviews.
For what it's worth, I got the below error upgrading to the latest version (from whatever the version was that was released earlier today). The package manager appears to be functional, so I assume the upgrde went through, but it did require me to click out into the main apps page and then back into HPM. This behavior is repeatable each time I do a repair on the package as well.
Here is an example of it occurring while doing a repair on the package.
app:732020-05-01 03:44:22.941 pm errorjava.lang.NullPointerException: Cannot get property 'location' on null object on line 2709 (prefOptions)
app:732020-05-01 03:44:09.971 pm debugRepair complete
app:732020-05-01 03:43:41.368 pm infoReinstalling Hubitat Package Manager
app:732020-05-01 03:43:41.061 pm infoDownloading Hubitat Package Manager
I'm all for making things easier to find. Community message boards aren't always it.
This project is in the same vein as Home Assistant Community Store. There may be some things there to assist in your design. One thing they have is the ability to add repositories outside of the "official" store, much like @durable-navy-blue-ot's server.
Ugh, you might need to paste the code in manually, I'm not sure it fully upgraded. You might want to paste the code in manually. I found and fixed that bug right after publishing, but I think you upgraded too quickly! Can you try pasting the code in manually and let me know if the error goes away?
I manually updated the app code and then and did another repair of HPM from within the packager manager to try and trigger the error. The same exact error occurred and as before clicking out and back into the app does make the error go away.
Ah, now I see the cause, I'll take a look... It'll only ever happen when you do a Repair on HPM itself
Do you think there is any way you might be able to indicate roughly how many downloads a package has had - or the installed base for a package (via your app) ? I guess not all downloads as updates may throw that.
You can get a rough idea of that directly from github. From your repo go to Insights, then Traffic. It will tell you how many unique visitors each file has had. The app does not do anything to track users. Everything is done locally talking to github.
@dman2306 I'm trying to add a driver I created to the package manager, however I keep on getting a error, same on both Windows and Mac. I'm assuming it might be something I am doing wrong, like something missing in my groovy file. However I can't find any documentation on that.
Here is my call:
hpm manifest-add-driver packageManifest.json --location=https://raw.githubusercontent.com/funzie19/hubitat-solaredge/master/solaredge-driver.groovy --required=false
An error occurred: The driver Groovy file https://raw.githubusercontent.com/funzie19/hubitat-solaredge/master/solaredge-driver.groovy either was not found or is not valid.
Do you mean that when running the update process, the page stayed on "Installing updates... Please wait..." indefinitely? This just happened to me (going from 1.3.1 to 1.3.2). I started the update, then switched browser tabs to do some other stuff. I came back much later and found the message still there. But when I checked the HE logs, it looks like it had in fact finished soon after starting.
app:7692020-05-02 12:57:49.880 debugUpdates complete
app:7692020-05-02 12:57:30.360 infoUpgrading Hubitat Package Manager
app:7692020-05-02 12:57:29.686 infoDownloading Hubitat Package Manager
I wonder if github was down when you ran it? Github has been having a lot of issues lately. The other possibility is things sometimes take up to 5 minutes after a commit before they show up on raw.githubusercontent.com... maybe it wasn't there yet? I just ran that command and it generated a manifest. Can you try again?
No, unfortunately I have seen that randomly happen but I haven't figured out why yet...
What a great app, thank you!!
Looks like i'm getting a duplicate on the Inovelli Z-Wave Association Tool.

One points here: Hubitat/zwave-association-tool.groovy at master · InovelliUSA/Hubitat · GitHub
And the other here: Hubitat/zwave-association.groovy at master · InovelliUSA/Hubitat · GitHub
Hmm, I don't know why, but that is the way Inovelli has it setup (https://raw.githubusercontent.com/InovelliUSA/Hubitat/master/Apps/z-waveat.json) -- anyone know someone from Inovelli that browses these forums that we can tag to take a look?