[Release] NOAA Weather Alerts

Anyone have a enough time in the saddle to know which NOAA alerts to set to look for Snow? I have the outdoor HeatTrak heating mats on my deck to keep the path to the hot tub clear. However, HeatTrak says the mats will damage the composite decking boards if I leave the native thermostatic sensor to control the mats (turns mats on if outside temp is below 40...which basically means the entire winter in Minnesota). Thus I'd like to remove the thermostatic adapter and instead have the NOAA app turn on a smart switch when it sees there's snow in the near term forecast. I'll have to figure out a Turn Off method unless I can get a warm fuzzy that the removal of the NOAA alerts can correspond to turning off the switch (any thoughts there too?). I've installed the NOAA app with HPM and scrolled thru and realized I might need someone's experience to know which alerts correspond best to Snow and Snow that is near term or happening now for that matter.

Sounds more like you need a Weather app. Trigger off an attribute.

1 Like

I agree, NOAA will warn for severe snow events, but not just a snow event. A weather app is likely better like open weather

I installed this w/ HPM. I can see the app code & the driver code but I do not see the app for configuration. Could someone please give me a quick tutorial on the correct installation procedure?

You need to go to apps tab, install user app, and choose this device. Then it will show in the apps tab listings, that is where you do the configuration.

@nh.schottfam, would it be difficult to change the app so that more than one (or, just two) instances of the app could be added? Here's the use case: since the app supports custom lat/long, I'd like to create NOAA warnings for two different geo locations. I don't so much care if the app is architected parent/child--I'd be thrilled just to be able to install it twice, one for each lat/long pair. If I try to install a second instance (as I do with certain other apps), it just takes me to edit the first instance.

TIA...

Seeing this error tonight. Any ideas? Thanks

app:452022-01-02 06:37:00.724 pm debugNOAAApp (v4.0.017) | Creating data information for tile display.

app:452022-01-02 06:36:59.891 pm errorjava.lang.NullPointerException: Cannot invoke method replaceAll() on null object on line 697 (method ahttpreq)

app:452022-01-02 06:36:59.684 pm traceNOAAApp (v4.0.017) | Debug messages set to automatically disable in 15 minute(s).

app:452022-01-02 06:36:59.671 pm info NOAAApp (v4.0.017) | Connecting to weather.gov service.

app:452022-01-02 06:36:59.667 pm debugNOAAApp (v4.0.017) | URI: https://api.weather.gov/alerts?point=44.302049%2C-92.674974&status=actual&message_type=alert,update&severity=Unknown,Minor,Moderate,Severe,Extreme

app:452022-01-02 06:36:59.633 pm warn NOAAApp (v4.0.017) | NOAA Weather Alerts application state is reset.

app:452022-01-02 06:36:59.601 pm debugNOAAApp (v4.0.017) | Acquired current events list from api.weather.gov

app:452022-01-02 06:36:59.470 pm debugNOAAApp (v4.0.017) | Updated with settings: [musicmode:false, speechdelay:true, logMinutes:15, modesYes:false, logInfo:true, logTrace:true, alertSwitchWeatherType:false, pushovertts:false, alertCustomMsg:{alertseverity} Weather Alert : {alertdescription} This is the end of this Weather Announcement., repeatMinutes:120, UsealertSwitch:true, disableTile:false, speechspeaker:[Follow Me], echoSpeaks2:false, runTest:false, whatPoll:5, useAlertIntro:false, init:false, capitalizeAlertSeverity:true, debug:false, useCustomCords:false, logDebug:true, getAPI:false, alertSwitch:NOAA Alert Switch, modeSeverityYes:false, whatCustomMsg:{alertseverity} Weather Alert for the following counties: {alertarea} {alertdescription} This is the end of this Weather Announcement., whatAlertSeverity:[unknown, minor, moderate, severe, extreme], speechmode:true, logError:true, repeatTimes:100, logWarn:true, alertSwitchOff:true, repeatYes:true, switchYes:false, modeWeatherType:false]

Looking into it more. If either Unknown or Moderate are checked, you get the error:

java.lang.NullPointerException: Cannot invoke method replaceAll() on null object on line 697 (method ahttpreq)

So I pushed an update - HPM repair to get it (it is the main file)

Let me know if it resolves the issue.

Working now. Thank you very much.

Have you used Bryan's Follow me app to control speakers in NOAA Alerts? When I use his app, I get these intermittent errors. Not sure if it is the NOAA app or Bryan's.

dev:81012022-01-05 04:12:15.574 am errorsu.litvak.chromecast.api.v2.ChromeCastException: Unable to load media on line 259 (method playTrack)

dev:59912022-01-05 04:12:15.391 am errorsu.litvak.chromecast.api.v2.ChromeCastException: Unable to load media on line 259 (method playTrack)

dev:59912022-01-05 04:12:15.016 am infoKitchen Speaker (Google Nest Max) media source is Hubitat

dev:67552022-01-05 04:12:14.833 am infoBedroom 3 Speaker (Google) media source is Hubitat

dev:26272022-01-05 04:12:06.426 am infoIn initialize

dev:88332022-01-05 04:12:06.306 am debugMessage Received by Pushover Server

dev:88332022-01-05 04:12:05.835 am debugSending Message: Winter Weather Advisory,, Snow. Additional snow accumulations of 2 to 4 inches. Winds gusting as high as 35 mph will lead to some blowing and drifting of snow as well. Portions of northwest and west central Wisconsin and southeast Minnesota. Until 6 PM Wednesday. Plan on slippery road conditions. Patchy blowing snow could significantly reduce visibility. The hazardous conditions could impact the morning or evening commute., This is the end of this Weather Announcement. Priority: 0 to Device: galaxynote9

So I have put in a change for this, if you want to try it HPM repair should get you the latest.

Thank you.

Thanks for this. I did do a repair and got a version dated 1/4/22. It’s still a single instance version, though, so I wonder if I’m doing something wrong?

Alerts work well, but why does it repeat the same alert every 5 minutes. Repeat is not set in the app.
Thx

The only time I have seen reports repeating is when NWS does rapid fire updates. Other than that I have never had it happen.

Getting this error: NOAAApp (v4.0.018) | The API Weather.gov did not return a successful response 400 message Bad Request.

I saw it back on .016. Any one else having this problem?

Logs have been quiet on my Hubitat with NOAA Weather Alerts.

You can check /try this:

Not sure what's wrong but I tried installing via the Hubitat Package Manager (also tried repairing) and manually but I keep getting the error:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'severe' with class 'java.lang.String' to class 'java.util.List' on line 1167 (method main)

Any suggestions?