[DEPRECATED] NOAA Weather Alerts

Too bad that NWS doesn't update the API fast enough. Getting a fog advisory which has expired. After that is the Winter Weather Advisory which is active until the 31st.

@CurtisZM

It should update immediately. The NOAA application should pickup on it depending on your settings. The default settings only Watches for severe weather alerts. You can include the other minor alerts too.

Looking at the API from NWS, should your wxURL include "active=true"? Or does that cause an issue?

No it defaults to a true

  • 2.4.9 - fixed API undocumented changes from weather.gov (thanks CurtisZM!)
1 Like

You're welcome @aaron. ..Happy New Year!

2 Likes

Aaron.

You will have to look into the active=true in the URL. Today, my location has a Winter Weather Advisory until January 13. If active=true is in the url, no alerts. If I take it out then I see the Advisory. Not sure how NWS determines that part of the URL.

Not Dispalying the Advisory:
https://api.weather.gov/alerts?active=true&point="My Coordinates" &status=actual&message_type=alert&severity=minor,moderate,severe,extreme

No JSON feed currently available for your coordinates. Either there are no weather alerts in your area or you need to change options above to acquire desired results.

Displaying the Advisory:
https://api.weather.gov/alerts?&point="My Coordinates" &status=actual&message_type=alert&severity=minor,moderate,severe,extreme

Status Actual
Message Type Alert
Category Met
Certainty Likely
Urgency Expected
Sender Name NWS Twin Cities/Chanhassen MN
Event Type Winter Weather Advisory
Headline Winter Weather Advisory issued January 12 at 9:50AM CST until January 13 at 12:00AM CST by NWS Twin Cities/Chanhassen MN

Can anyone give me some insight into the functioning of a couple of aspects of this great tool:

  1. "Switch to turn ON with Alert": I want to use this to trigger a tornado warning siren sound. I get that it turns on when the alert triggers, but when does it turn off? Does the NOAA app turn it off at some point (what point?), or do I have to turn it off in a rule after examining the Alert Custom Attribute of the Tile?

  2. Repeating: If I have the Poll Frequency set to every 5 Mins, and then I get a severe Thunderstorm Warning, I assume that the Echo Speaks alert would trigger. But what happens if the warning is still in effect after 5 mins when it polls again? Does it resend the alert to echo to speak, and turn the Switch on again, or is it smart enough to recognize that this is the same alert it already triggered on?

  3. What happens if there are simultaneous alerts such as Severe Thunderstorm Warning and a Tornado Warning? Or in my area, it is likely that there would be a Tropical Storm Warning and a Tornado Warning at the same time. What happens then?

Thanks for the insights,

LJ

  1. Correct you will need to turn off switch
  2. Only new alerts are announced
  3. There is only a single alert or they combine the alert for each broadcast.

Thanks Aaron!

I am seeing this same thing, was there a switch I missed or do you need to edit the URL.

CurtisZMOwner

2

6d

Aaron.

You will have to look into the active=true in the URL. Today, my location has a Winter Weather Advisory until January 13. If active=true is in the url, no alerts. If I take it out then I see the Advisory. Not sure how NWS determines that part of the URL.

Not Dispalying the Advisory:
https://api.weather.gov/alerts?active=true&point="My Coordinates" &status=actual&message_type=alert&severity=minor,moderate,severe,extreme

No JSON feed currently available for your coordinates. Either there are no weather alerts in your area or you need to change options above to acquire desired results.

Displaying the Advisory:
https://api.weather.gov/alerts?&point="My Coordinates" &status=actual&message_type=alert&severity=minor,moderate,severe,extreme

@aaron is on vacation until the 21st. I'm sure he can look into this when he returns.

I believe it is how a Aaron has setup the app. He is looking for just alerts. There is an update and cancel message type which I'm sure would create more code work.

@aaron Thanks for a great app. This noob got it working.

I want to use this exclusively for tornado warnings. I want my sirens to go off too (I'm using Zooz Zen19 Multisirens https://www.getzooz.com/zooz-zse19-s2-multisiren.html

I couldn't figure out how to trigger them in your app so I tried creating a rule for NOAA alerts. I used attribute Alerts. Comparison to be = to Severe Weather Alert (just to test your test alert). At first I changed the attribute comparison to changed but that didn't work either.

Am I missing something in the setup or any idea how I can do what I am trying to accomplish?

You might take a look under 'Switch to be Turned On with Alert' in the App and see if those sirens are listed.

1 Like

Got it, thanks!

Turned off my rule.

Then added it as a switch under the NOAA app. Didn't work. Went into the siren device under Preferences and changed the default of "Switch On Action" to Turn On Siren (I could also use any sound I upload if I wanted).

I can also set the length of the alarm duration under Preferences.

You can only add one switch so I set up a group of the sirens and chose that.

Testing works perfectly. Thanks again.

1 Like

2.5.0 - added URL for testing configuration and no results return & added additional automated URL checks for alerts

This is now fixed in latest release.

1 Like

Thanks @aaron but I am seeing this error now.
app:8422020-01-22 05:53:48.152 pm errorjava.lang.NullPointerException: Cannot get property 'data' on null object on line 524 (main)

app:8422020-01-22 05:50:56.153 pm errorjava.lang.NullPointerException: Cannot get property 'data' on null object on line 524 (main)

app:8422020-01-22 05:50:46.723 pm errorjava.lang.NullPointerException: Cannot get property 'data' on null object on line 524 (mainPage)

app:8422020-01-22 05:49:49.670 pm errorjava.lang.NullPointerException: Cannot get property 'data' on null object on line 524 (main)

app:8422020-01-22 05:49:32.412 pm errorjava.lang.NullPointerException: Cannot get property 'data' on null object on line 524 (mainPage)

app:8422020-01-22 05:49:10.627 pm errorjava.lang.NullPointerException: Cannot get property 'data' on null object on line 524 (main)

Go into the app and then click done.

Thanks, did that to begin with and just again, still same error. I deleted the app and recreated it and still same error too.