[RELEASE] Hub Information Driver

I have mine set at 5/5 but I see this in the logs. Does this make sense? BTW: Based upon your practice @thebearmay I'm going to set to 1/1.

Seems like I should never see more than 5 states or 5 events but there are many more than that.

Clean up job runs, I believe, hourly to trim the events/states back to the setting so depending on where you are in that cycle…

Oh.

My hub info is no longer displaying on my dashboard. See my C5 and C7 images here.

Any ideas what happened?

Try saving your preferences again, if that doesn't work try rebooting the hub.

Saving preferences didn't help. I reboot my C7 hub every morning at 4:25 am. This has been a problem for a couple weeks at least. Is it possible that my Hubinfo Device is out of date?

Not sure What fixed it, but i did a repair on hpm. Also previously deleted hubinfoTemplate.res which was 5 bytes. No longer have a file by that name.....kind of expected it to be Created again. Anyway it is working Now.

Should have been bigger than 5 bytes, default size is 694, and if it’s working again then it’s found a template file to use.

1 Like

Just a quickie observation.
I know all the fields aren't necessarily valid during a startup for Hub Info.
This one seems more lost that the usual and I've been getting it since Oct 24.
Don't know what beta build I was on then.
C8

dev:12282023-11-14 10:00:25.222errorgroovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object

The current character read is '<' with an int value of 60
Unable to determine the current character, it is not a string, number, array, or object
line number 1
index number 0

Pushed up a v3 version late last night that should correct that error.

5 Likes

had weird thing in one of my hubs today.. wouldnt respond from web interface.. looked like a innability to hit the internet from the hub although everything else is working.. this is in a condo on an orbi system so no setting for packet size.

ping worked. only thing i saw in the log was this..

dashboards worked..

i rebooted via port 8081 and all is ok..

to avoid in future i added a reboot option from a dashboard but with 2 switches so i dont accidentially hit the switch and reboot.. anyone else see or do something similar?

I redid my HubInfo dashboard tile to integrate some free font-awesome icons and I rather like the look of it so thought I would share.
image

1 Like

Hi bear,

Just curious, I just noticed that the state "cloud:" in HubInfo is showing "invalid endpoint". It is doing this on the C8Pro, C7 and C5. Why would this be? Frankly I don't know if I have blocked something in my firewall that you use to check this status or if something else is wrong. What is your device looking for in this field?

LJ

In the Preferences what do you have for the prompt MakerApi or Dashboard URL string

It is blank, and it is in Red. Missed that. What should I have there?

LJ

A valid cloud url for one of the hub's dashboards, or the generic MakerApi string from Get Device Info (i.e.https://cloud.hubitat.com/api/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/apps/99/devices/[Device ID]?access_token=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

3 Likes

Got it. Thanks.

Say I posted this today on another thread last posted to a year ago. You were a brief part of it back then. I was wondering if this ever got sorted. Is this a HubInfo thing, a Hubitat thing that needs to be corrected, or one they don't intend to correct? Or, am I doing something wrong?

Let me check when I get home, I think I have an endpoint written down that may solve this.

2 Likes

Try this:

http:\\<yourHubIP>/hub/advanced/resetResolvConf?nameserver=10.x.x.159,10.x.x.158

So I ran that and got an "ok" message. However, the display in HubInfo did not change after refreshing.

image