[BETA]Hub Detailed Information Display

Same here.

I did that years ago, and entered the exact lat/long from Google into the hub settings. Windy comes up with a location probably 300 or more miles away. But if you look at the Windy website by itself, the same coordinates are shown in the address bar as in my hub settings if I drop a pin on the Windy map.

In other words if my hub says something like [42.334123] [-83042123] then Windy says this Windy: Wind map & weather forecast (fictitious example to protect privacy, but that is a favorite location of mine)

However on the Hubitat, it shows me as being well into mid-Ohio, which is nowhere near me.

What happens if you enter your coordinates similar to: https://www.windy.com/42.334/-83.042

That puts the dot smack-dab on top of my house.

1 Like

That works to put the dot where it should be, but when I try using the Windy Chart link it goes to

https://www.windy.com/-Weather-radar-radar?radar,xx.xxx,yyy.yyyy

and editing the address with my coordinates it just auto adjusts back to the original wrong location/address.

I pushed up v0.1.5 with a slightly different URL

Not seeing any difference on the display or webpage that opens when I click on the Windy.com link in the Windy Chart. :thinking:

The embedded link shows the correct lat/long.

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=xx.xxx&lon=-yyy.yyy&detailLat=xx.xxx&detailLon=-yyy.yyy&marker=true

When opened in a new tab it shows the blue dot in the same incorrect location but there is a weather info marker at the correct location.

Guess the blue dot is just the location they scrape the forecast from...? :person_shrugging:

Edit: And now I'm getting the flag/marker at the correct location on the Windy Chart
Which changes to a flashing white dot and opens the forecast info when I click on it.

If you remove the first lat & lon does that change anything

Not that I can see.
But if I remove the =radar&product the blue dot goes away and the marker stays.

Okay, think I figured out what is happening. Blue dot is the radar site that is being used marker is your location.

Something like that, but not exactly.
The blue dot is nowhere near the center of any of the circles on the weather map.
The circles that I think are the individual weather radar station's coverage. :thinking:
Whatever the reason, I'm sure it's known only to Windy, not everyone. :wink:

Map

Maybe the weather reporting station then. My blue dot is sitting on top of the international airport, my white dot is sitting on my location (just happens to be close enough to overlap).

2 Likes

@thebearmay Just wanted to take an opportunity to thank you for all of your contributions to the Hubitat community. They are legion and legendary. I appreciate your work and dedication!

4 Likes

what am i doing wrong I installed via hpm the app and driver and checked that chart.js is in file manager but all i get is

Do you have Hub Information Driver v3 up & running? Although I'm not currently using this app myself, I'm pretty sure it requires Hub Info Driver for the coresponding info to display.

As @hydro311 notes above the app is using the Hub Information Device in the background (saves duplicating code). Once you install that, select it in the app, and let the device go through one cycle (or just hit refresh after saving the preferences) the app should fully populate.

i created a device with the Hub Info driver v3


and I pointed the app to that device but when I open the app it crashes with
app:10012025-12-09 10:15:35.757 PM

error

java.lang.NullPointerException: Cannot invoke method div() on null object on line 388 (method pageRender)

app:10012025-12-09 10:13:12.438 PM

error

java.lang.NullPointerException: Cannot invoke method div() on null object on line 388 (method pageRender)

I did read that I needed to enable polling...so i changed a bunch of polling settings from 0 to 1 (not sure thats correct)


is that right?

Did you read that whole intro post in the Hub Info Driver v3 thread? It talks about the polling options. 0 means no polling (i.e. no data).

isnt that what you are saying?

Your poll rate for Queue 1 is every minute -- that's pretty excessive for any one of the data points, let alone multiples of them.

1 Like

Personally I would never set a poll rate of less than 5 minutes (default update cycle for CPU and Memory on the hub), and I'd split the attributes to multiple queues to spread the calls to endpoints and minimize the impact on the hub. Also a good practice to set up your polling intervals so that collision is minimized (normally prime numbers whose multiple don't have too many intersections within the the 0-60 range).

After you get the Hub Information device setup, save the preferences, and then go to the command page and hit refresh. After that finishes all of your attributes should be populated and then this app should run without issue.

That being said I need to put in a trap for this condition.

3 Likes