Yes, you're right, I gave it time, came back and it was all there.
Glad it's working for you.
FYI: How to hide details when posting logs, long lists or screenshots
Click a gear, save a (scroll)wheel.
Thanks, I edited that to hide the Screenshots!
Having a problem retrieving data from OW, this is a line from the logs...
2021-03-01 03:13:48.447 pm errorjava.lang.NullPointerException: Cannot invoke method toInteger() on null object on line 781 (refresh)
Is it something I am doing wrong?
thanks
Ian
I cannot replicate the error. Verify you on the most recent version ( v0.5.2). Restart you hub and report back if you continue to get an error.
Thanks Matthew for getting back to me so quickly. It looks line my account has exceeded the 1000 reqs/day. I have been doing some development creating my own weather map application (Windows) I guess I have blown my allotment!
Thanks again
So, I want to get notified of weather things; severe thunderstorm warnings, tornado warnings, flash flood warnings, maybe severe air quality warnings, that kind of thing. I've got the alerts driver in, I think I see the fields where alerts might appear. It looks like text, rather than those types (and the others) being clearly labeled in an enum-type structure?
So, the question is, what text matches should I be using for those? Weather has been fairly calm the week or so I've had this installed so my history isn't showing me examples. What's my approach for finding and identifying the strings I need? Are they standard, or regional, or at the discretion of the guy at the local office writing the alert? (I expect in a month or so I'll have more data; spring storms, etc. I'd kind of like to have some of it working before then really.)
Assuming you are in the USA the NOAA Weather Alerts app has built-in alert filtering options.
This is NOT the driver for that kind of notification about alerts. While it does give an indication that an alert(s) exists, it is very limited and potentially incomplete in what it provides and could miss something you may consider important. It only reports the detals of the first alert listed. If there is more than one alert, it will tell you how many alerts there are, but it gives no details on what those alerts may be. Again it only give details on the first alert listed and there is no guarantee that that alert is the most server/important alert in all the alerts that may exist.
The driver provides a simplistic warning that an alert(s) exists, and if so provides a link for you to follow to get more details. It was never intended to provide details on multiple alerts or be used to provide notification on what those alerts may be about.
To be clear on how this may work ... if there are two alerts in your area and the first alert is a "High Wind Watch" and the second alert is a "Tornado Warning" then this driver will tell you there is a "High Wind Watch +1". It does not provide any information or details on anything other than the first alert. Your notification system would completely miss the Tornado Warning becuase this driver would never provide that detail for you to filter on.
I higly recommend you seek a driver that provides a much more robust system of alert detail reporting to accomplish what you are describing. This driver does not do that.
Got it. Yeah, clearly not designed to fill this role, so I hope I can find something that is (have seen some pointers at other things already). Thanks!
Looking at that...it seems to be all about driving text-to-speech devices? Which has nothing to do with my use case? I suppose if I end up having to write my own I could find useful examples of the front-end (getting data from NOAA) portion in this.
Hi @Matthew,
I would like to ask you for assistance why I'm getting "ultravioletIndex" value difference on Device -> Current State where is value 1.73 and in the webcore where I got value 1.
I already tried in webcore to define the value to be decimal or string but I'm still getting the value 1 instead of value 1.73.
What I'm doing wrong. Please help.
I don't think I can help. I do have several pistons in WebCoRE, but I am not a heavy user, and I don't use it for weather. Perhaps tag @nh.schottfam for assistance?
Can you post a screen shot of your piston?
edit: Iām able to duplicate let me play a little with it.
For others - this issue is a data type problem
HE capabilities define this as an integer, not as a decimal. So this driver should change to match the types to the HE capabilities.
webCoRE uses the capabilities definitions for data types.
My app pulls down data fine but absolutely not realistic for Weymouth UK. It says 20Mph gusts and rain thou its calm and shiny today. The three day weather tile still shows Friday Saturday Sunday.
Verify that you hub's lat/lon coordinates are correct, or that you using the lat/lon override and those are properly populated. Open the driver, make sure your polling is set as desired and hit 'Save Preferences'.
Thank you for your reply . I checked the coordinates, they are correct.
Why the three day forcast fri sat sun . Its Tuesday.
Any errors listed? Is your driver polling on schedule? There is an optional attribute of 'Observation Time'. Turn that on it will list the last observation/poll in the Current States list.