[RELEASE] Hub Information Driver v3

When you post an image you can make it smaller by clicking on the percentages below the image in the preview.

image

LOL, when writing this I was clicking on the percents in the image instead of the ones below it.

If you manually run http://<HubIPaddress>/hub2/hubData what does the alerts data item look like?

Thanks for that..

Here is the Hub Data

With Debug logging on there were no errors.

Should be working then. Let's try doing a Repair from HPM, and the go into the device and hit Refresh. Should see the hub uptime change if nothing else, but when that changes the alerts table should clear also.

Thanks with your help with this. I don't use HPM, I usually just import the code from your GitHub account. If I do a new import, does that serve the same function? That's what I've been doing for a long time. I only use a two custom apps and maybe a couple custom drivers.

Import will do the same thing.

I just set polls to 0 and configured to delete all scheduled jobs. I'll import a fresh copy and recreate my poll options and see what happens. I never run the BaseData in polling, could that have an affect. Also, are your older versions of your code available? I noticed this with .21 before updating to .23, but I'm not sure when this started.

Thanks!

Edit: When I try import a new copy nothing happens, apparently there are no changes so it doesn't give the ability to save it. It doesn't show as 'Modified."

1 Like

.21 or .22 was when the memory endpoint return format changed (javaDirect started being reported) and caused the polling to stop prematurely. Add a space to the current code and then do the import - should get the modified and save then.

1 Like

I've installed HPM, repaired and reconfigured, we'll see what happens.

Thanks again.

1 Like

Just wanted report back on this, the driver still refuses to update the Hub Alert. Repaired via HPM, tried rebooting the hub, and still a no go. What's strange is I have a C-7 at a different location that is having the same issue. Both hubs do show "Current" via Hub Update status. It's not a big deal, I just wanted to be able to see Hub Alerts remotely.

On a side note, after reinstalling HPM again, I was able to repair my Hubitat Z-Wave Mesh Details app that had been not working of late, yay. Curious to see what happens after the next major update.

Again, thanks for your time.

Could try changing line 1126 from

    	    if (!warnSuppress) log.warn ex

to

    	    log.warn ex

This would cause any error to go untrapped and display in the log.

I changed the code and still no update. I shortened the poll time and it ran twice. I know the UI updates because the alert was there before my last update, and gone after. I wonder if anyone else has noticed this. Just weird that it would be happening on both of my hubs, different model hubs at different locations.

I guess I'm just special lol...

I'll play a little and see if I can recreate your issue. What version of the HE firmware are you running?

Current latest public version 2.4.3.176. I'll add the original code back to keep that straight. Not sure if it means anything, but I noticed the yellow hover help popup doesn't show when hovering over the "Z Status, Hub Alerts, Passive Cloud Check" setting. I thought it used to.

Thanks!

Edit: Also, when I changes the code, I hit "initialize" only. That shouldn't need a "Reconfigure" should it?

I'll check that while I'm in there. Thanks!

Think I found it. Try pulling down v.3.1.24