[BETA]Hub Detailed Information Display

Put this in the because someone asked if it could be done category. App combines the data from the Hub Information Driver with the data and functions of the Settings - Hub Details page. Configuration of the app requires that it be given access to a Hub Information Device v3 to pull all of the additional attributes from without duplicating code.

After configuring the initial page will show gauges with the current CPU % and the current Free Memory readings, along with a radar map derived using the latitude and longitude of the hub. Immediately below this data is the data from the Hub Details page - it is live data and can be updated.

These two areas, along with the Hub Information Driver attributes can be hidden or expanded using the buttons across the top or bottom of the screen.

The page has an automatic refresh built in at 5 minutes to ensure the attribute data is being kept fresh. This doesn't force a refresh of the Hub Information device, merely goes out and grabs the latest attribute values from it. The Refresh button WILL force a refresh of the device, and then refresh the page.

App is available via HPM or from https://raw.githubusercontent.com/thebearmay/hubitat/refs/heads/main/apps/hubInfoDisp.groovy. App does require a small helper file be loaded into the File Manager and it will be installed when using HPM, but if you need to manually import it, it is located at https://raw.githubusercontent.com/thebearmay/hubitat/refs/heads/main/libraries/chart.js

15 Likes

Absolutely brilliant! Thanks for your great work on this.

2 Likes

One question-- for the weather info, it appears to be using my IP address as my location instead of the lat/long for the hub. Is it possible to change this, since Comcast doesn't seem to know where I am (but the bills still find me...)?

Lat/Long are the only parameters used and are coming from the hub data. URL used is:
https://embed.windy.com/embed.html?type=map&location=coordinates&metricRain=default&metricTemp=default&metricWind=default&zoom=5&overlay=radar&product=ecmwf&level=surface&lat=${lat}&lon=${lon}

Where ${lat} and ${lon} (very end of the URL) are taken from the hub coordinates.

2 Likes

Setting up on a secondary hub.
First, installed Hub Information Driver v3 from HPM.
Second, installed Hub Detailed Information Display from HPM.
Third, Error loading Hub Detailed Information Display App

2025-04-04 03:04:36.402 PM error java.lang.NullPointerException: Cannot invoke method div() on null object on line 360 (method pageRender)

Because I forgot to enable attribute polling on Hub Information Driver v3. :face_with_open_eyes_and_hand_over_mouth:

Set CPU/Memory polling, then loading Hub Detailed Information Display App produced a really nice display just like you'd expect.

Fourth, went into settings and thought "Hmm what would happen if I select a Temp sensor?"
Answer: Back to error and App not loading.

So, I'm about to delete Hub Detailed Information Display App and re-install it but thought I'd ask if there was another option to get to the device select setting?

If you grab the URL for the page that is erroring out and change the last part to configPage it should load the configuration page for you

http://<hub IP>/installedapp/configure/<app ID>/configPage

1 Like

Sorted, thanks.

1 Like

Odd... Maybe it's a setting within Windy. I see that there is a setting called "Start-up layer and location," and my start-up location is set to "Determine by my IP". The other options are "Use GPS" or "Use last location." Not sure if that has anything to do with it or not.

Either way, it puts my location around 60 miles from where my GPS coordinates are.

What happens if you enter the lat/long as search criteria on Google Maps? (Looks like the postal code lookup on the hub gives a lat/long at the center of the postal code area - I actually used a map to locate my house and took the lat/long from the pin settings.)

In google maps, my lat/long put me at home. I did a little more checking, and it appears that the location it is showing in Windy is indeed what comes up when I look up the location of my IP address. It seems to be ignoring the lat/long values being passed in...

My Windy dot is nowhere close either.
Hub stored Lat/Long are correct, and works fine for GPS location.
IP geolocation is much closer to correct, still off by a few km.
No idea what Windy is referencing but it's placing the dot about 200km away. :person_shrugging:

Love it, you surprise and impress again. :slight_smile:

I am having an issue w/the Weather Radar option...the close "X" gets cut off when the radar option slider appears...

As it opens/slides over:
25-04-04-3070

When fully open:
image

Tried various zoom levels, nothing would make it appear.

Chrome latest on Win 11.

1 Like

Try to click on the left edge and pull back to the right.

Thanks...

Hand can't grab anything to drag, as far as I can tell:

25-04-04-3074

But if I move really slowly the hand gives me the finger ( :wink: ) and I can close the overlay:

image

1 Like

Is this reading of Free Memory different for anyone else?

My Hub Info page for reference

You have your Free Memory unit set to MB (default is KB) - I’ll need to make a small change for that option. Thanks for finding that one.

3 Likes

Ah. Same for me too. Thanks!


1 Like

V0.1.1 is up with the fix.

5 Likes

Fixed it for me. Thanks!

2 Likes

Pushed up a small release to fix chart sizes and add a current history graph for free memory and free JVM memory

5 Likes