# Severe Weather Alert\* w/ Alarm support among other things

**URL:** <https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473>\
**Category:** Community Created SmartApps\
**Tags:** smartapp\_alerts, smartapp\_weather\
**Created:** [September 2, 2015, 1:04pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473 "2015-09-02T13:04:30Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![justinlhudson](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/justinlhudson/32/14623_2.png) [@justinlhudson](https://community.smartthings.com/u/justinlhudson)\
**Post date:** [September 2, 2015, 1:04pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/1 "2015-09-02T13:04:30Z")

</div>

Simply modified SmartThings template. Therefore, you will find modifications here which include:

- Alarm with text and push notification for weather alert.
- Has filtering settings (comma delimited) for alerts, ignore “FOG” for example with built-in ignore list (common things).
- Can clear alarm after so many seconds automatically (actually have different app that resets all alarms… so disable is value 0, which is default)
- Does not repeat alarm each time when description changes only if new alert is set. For instance, if description changes time frame of warning.

I was up making sure tornado did not touch down and wanted to make this app so I could go to sleep and get up if alarm/siren goes off. In so doing came up with these modifications to the original template.

Also, you may notice code that makes sure Alarm gets set and code to restart schedule on mode change (heart-beat event). These are hacks in place for alarm not being set every time and tasks stopping after some time…

_Be nice if could “import” additional files with SmartThings app, to not repeat functions shared between most of my applications._

If you like it cool, if you feel can do better please fork it:

[SevereWeatherAlert.groovy](https://github.com/justinlhudson/SmartThings/blob/master/%20SevereWeatherAlert.groovy)

_Note: I would have submitted it through Dev portal, but they are months behind on reviewing suggested changes to templates from my experience._

---

<div class="post-metadata">

**Author:** ![jim\_lewallen](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jim_lewallen/32/13834_2.png) [@jim\_lewallen](https://community.smartthings.com/u/jim_lewallen)\
**Post date:** [September 3, 2015, 2:00pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/2 "2015-09-03T14:00:36Z")

</div>

Very cool.

I did something similar to this, but as opposed to being tied to weather alerts I had the user specify thresholds for temperature and windspeed and then sent out notifications if the thresholds were breached.

I love that there are so many ways to accomplish goals with this platform ;-).

---

<div class="post-metadata">

**Author:** ![leanbarton](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/leanbarton/32/30898_2.png) [@leanbarton](https://community.smartthings.com/u/leanbarton)\
**Post date:** [February 28, 2016, 3:01pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/3 "2016-02-28T15:01:26Z")

</div>

This is a cool smart app and I just installed it. How would I know what the codes are for say, just a tornado warning, versus a tornado watch?

---

<div class="post-metadata">

**Author:** ![leanbarton](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/leanbarton/32/30898_2.png) [@leanbarton](https://community.smartthings.com/u/leanbarton)\
**Post date:** [February 28, 2016, 3:16pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/4 "2016-02-28T15:16:52Z")

</div>

Nevermind, I saw the Wunderground API docs here [http://www.wunderground.com/weather/api/d/docs?d=data/alerts](http://www.wunderground.com/weather/api/d/docs?d=data/alerts)

---

<div class="post-metadata">

**Author:** ![leanbarton](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/leanbarton/32/30898_2.png) [@leanbarton](https://community.smartthings.com/u/leanbarton)\
**Post date:** [April 21, 2016, 10:35pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/5 "2016-04-21T22:35:22Z")

</div>

@justinlhudson I am getting alerts for everything, not just the tornado warning that I chose (TOR). This afternoon, my alarm went off for a simple special weather statement (SPE). Any ideas?

Here’s an error message from the ide.  
 ![](https://global.discourse-cdn.com/smartthings/original/3X/6/4/64e0876c08c091d357fa02f9ab78739120e74456.png)

---

<div class="post-metadata">

**Author:** ![justinlhudson](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/justinlhudson/32/14623_2.png) [@justinlhudson](https://community.smartthings.com/u/justinlhudson)\
**Post date:** [April 22, 2016, 2:06am UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/6 "2016-04-22T02:06:51Z")

</div>

You can add SPE in the filter list (comma separated). Exception looks like ST changed the runIn api. I look into it this weekend. :). Have newborn at home so moving slower. 😄

I use it to monitor just wind and anything not a warning for example.

---

<div class="post-metadata">

**Author:** ![leanbarton](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/leanbarton/32/30898_2.png) [@leanbarton](https://community.smartthings.com/u/leanbarton)\
**Post date:** [April 22, 2016, 2:11am UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/7 "2016-04-22T02:11:26Z")

</div>

Ha. Congrats. 🙂

I also just realized that I may have been using the filter alerts list the opposite of what was intended.

I thought I should add TOR if I wanted that alert. Now I know that I should add all alerts except TOR. Thanks for looking into it when you find time. Good luck finding the time now though 🙂

---

<div class="post-metadata">

**Author:** ![johnwest80](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@johnwest80](https://community.smartthings.com/u/johnwest80)\
**Post date:** [August 29, 2016, 6:09pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/8 "2016-08-29T18:09:42Z")

</div>

So this app isn’t on github anymore. Anyone have an update where I can find this updated app? Thx.

---

<div class="post-metadata">

**Author:** ![justinlhudson](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/justinlhudson/32/14623_2.png) [@justinlhudson](https://community.smartthings.com/u/justinlhudson)\
**Post date:** [August 29, 2016, 6:32pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/9 "2016-08-29T18:32:03Z")

</div>

[SevereWeatherAlert.groovy](https://github.com/justinlhudson/SmartThings/blob/master/SevereWeatherAlert.groovy)

---

<div class="post-metadata">

**Author:** ![TheModernShane](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/themodernshane/32/132974_2.png) [@TheModernShane](https://community.smartthings.com/u/TheModernShane)\
**Post date:** [January 21, 2017, 5:37pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/10 "2017-01-21T17:37:06Z")

</div>

Does this still work anymore? When I set this up its not sending push notifications or txt messages. Also is the filter to exclude or include notifications? I’m a little confused.

---

<div class="post-metadata">

**Author:** ![justinlhudson](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/justinlhudson/32/14623_2.png) [@justinlhudson](https://community.smartthings.com/u/justinlhudson)\
**Post date:** [March 18, 2017, 1:58pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/11 "2017-03-18T13:58:52Z")

</div>

I agree, but have not looked into it. The api being called is still valid, so assume is smartthings not honoring the request to send text.

---

<div class="post-metadata">

**Author:** ![emersonvier](https://avatars.discourse-cdn.com/v4/letter/e/b38774/32.png) [@emersonvier](https://community.smartthings.com/u/emersonvier)\
**Post date:** [May 19, 2017, 2:33am UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/12 "2017-05-19T02:33:42Z")

</div>

Hi @justinlhudson

This smartapp still working?

---

<div class="post-metadata">

**Author:** ![justinlhudson](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/justinlhudson/32/14623_2.png) [@justinlhudson](https://community.smartthings.com/u/justinlhudson)\
**Post date:** [May 19, 2017, 3:54pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/13 "2017-05-19T15:54:27Z")

</div>

Good ? I don’t use anymore so don’t keep up on it. But please fork it and fix! Then I can merge in the changes.

---

<div class="post-metadata">

**Author:** ![SBDOBRESCU](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/sbdobrescu/32/30067_2.png) [@SBDOBRESCU](https://community.smartthings.com/u/SBDOBRESCU)\
**Post date:** [May 29, 2017, 4:55pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/14 "2017-05-29T16:55:34Z")

</div>

I didn’t want to hijack @justinlhudson 's thread, but he gave me permission to point out to folks on this thread that RemindR uses Weather 3.0, which offers detailed weather triggered alerts and notifications. Click link below to learn more about Weather 3.0.

> [@Weather 3.0](https://community.smartthings.com/t/weather-3-0/82410):
>
> There are many things EchoSistant can do, that no other app can. And weather alerts is one of these features. The recent update to Weather 3.0 engine for the Echo: Notifications Add-on, offers weather updates for every use. For those of you who don’t know what EchoSistant smart app does, it is a parent/child smart app capable to “echo” your messages like a personal assistant would, in audio or text format - using Alexa enabled devices, remote speakers, phones (sms & push notifications) - as well as to take actions - using in-app settings and third party integration through CoRE - . Echo: Notifications with Weather 3.0 offers four categories of weather updates: A. Weather Alerts Immediate Threat of Inclement Weather Notifications, as issued by the National Weather Service using your…

You can install the stand alone RemindR smart app with Weather 3.0 from here:

> [@\[OBSOLETE\] RemindR ~ don’t miss an important event!](https://community.smartthings.com/t/release-remindr-don-t-miss-an-important-event/88399):
>
> [image] RemindR: Current Version 1.0 Release: R.0.0.9 Release Date: June, 15 2017 Notes: added option to select multiple intro sounds before tts; added compatibility with Ask Alexa Message Queues On March 18th [EchoSistant Evolved](https://community.smartthings.com/t/release-echosistant-evolved-amazon-echos-only-assistant-with-robust-scheduling-and-flexible-reporting/81849) was released to the public, as the only SmartThings app to use flexible Cron expressions to schedule recurring events. Shortly thereafter, the Notifications Add-on became one of the most popular features (besides making voice interactions with Alexa more natural). So much so that other developers are now starting to implement cron expressions to improve the reliability of their schedules. In the past few months, the EchoSistant team has received several requests to make the scheduling app available to everyone, so that even people with no Alexa devices can…

---

<div class="post-metadata">

**Author:** ![GRClark](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/grclark/32/44774_2.png) [@GRClark](https://community.smartthings.com/u/GRClark)\
**Post date:** [June 10, 2018, 9:31pm UTC](https://community.smartthings.com/t/severe-weather-alert-w-alarm-support-among-other-things/21473/15 "2018-06-10T21:31:30Z")

</div>

Can this smartapp do verbal announcements?
