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:
Note: I would have submitted it through Dev portal, but they are months behind on reviewing suggested changes to templates from my experience.