| 1 | StormSiren |
|---|
| 2 | |
|---|
| 3 | StormSiren is a personal severe weather monitoring and alerting tool |
|---|
| 4 | that communicates National Weather Service issued bulletins on |
|---|
| 5 | weather forecasts, alerts, statements, watches and warnings. The |
|---|
| 6 | program is designed to run via a scheduling program (such as cron or |
|---|
| 7 | a windows scheduler) and scan the NWS CAP based XML feeds and |
|---|
| 8 | provide alerting information based on user defined locations and filters. |
|---|
| 9 | When alerts are detected that match user defined criteria, the program |
|---|
| 10 | sends a concise summary of the alert to one or more devices. |
|---|
| 11 | |
|---|
| 12 | StormSiren is capable of sending alerts to many types of devices. |
|---|
| 13 | These devices include: |
|---|
| 14 | |
|---|
| 15 | * Email |
|---|
| 16 | * SMS |
|---|
| 17 | * Jabber |
|---|
| 18 | * Media |
|---|
| 19 | * MythTV |
|---|
| 20 | * External Programs |
|---|
| 21 | * OSD (On Screen Display) |
|---|
| 22 | |
|---|
| 23 | The summaries are designed to contain the type of alert, the |
|---|
| 24 | affected counties and cities defined by the user, and the issue and |
|---|
| 25 | expiration times of the alerts. |
|---|
| 26 | |
|---|
| 27 | StormSiren is written in the Python programming language. It |
|---|
| 28 | has been developed and tested under Python version 2.5, though earlier |
|---|
| 29 | versions of the language will likely work as well. It has been tested |
|---|
| 30 | on a number of platforms, including Linux, Solaris 2.8, OS/2 Warp, |
|---|
| 31 | Windows 2000, and Windows 98. |
|---|
| 32 | |
|---|
| 33 | In order to run StormSiren, you'll need to have Python on your system. |
|---|
| 34 | If you don't already have it, you can get it from www.python.org. |
|---|
| 35 | If you are a windows user, you may be able to run the program by |
|---|
| 36 | double clicking the program if the distribution supports it. For |
|---|
| 37 | Unix/Linux users, you may or may not need to modify the first line |
|---|
| 38 | shebang and/or set the file permissions properly. RedHat users may |
|---|
| 39 | want to change the shebang to #!/usr/bin/env python2. |
|---|
| 40 | |
|---|
| 41 | In order to use StormSiren, you will need to create two configuration |
|---|
| 42 | files. Examples of these files can be found in the examples directory |
|---|
| 43 | in the root of this directory. Information about these files can be |
|---|
| 44 | found by visiting the website: |
|---|
| 45 | |
|---|
| 46 | http://www.cfreeze.com/trac/stormsiren/wiki/Configuration |
|---|
| 47 | |
|---|
| 48 | Once you have your configuration setup, you'll want to test it by |
|---|
| 49 | running the program with the '-t' directive. This will send |
|---|
| 50 | a test alert to all your configured devices, to make sure you have |
|---|
| 51 | things running correctly. |
|---|
| 52 | |
|---|
| 53 | Example: |
|---|
| 54 | Unix: ./siren -t |
|---|
| 55 | Windows: c:\Python25\python.exe siren -t |
|---|
| 56 | |
|---|
| 57 | Once you've got your configuration file set up, you can schedule the |
|---|
| 58 | program to run automatically. I normally run it under a cron clone |
|---|
| 59 | called Cron/2 on an OS/2 box of mine. Unix/Linux cron works fine as |
|---|
| 60 | well. Under Windows 2000/XP the Windows scheduler can be used for |
|---|
| 61 | scheduling, and the AT command provides the same function under NT 4.0. |
|---|
| 62 | |
|---|
| 63 | StormSiren can send two types of messages, short text (SMS) and full text. |
|---|
| 64 | SMS mode sends short text messages to SMS type devices such as MythTv, |
|---|
| 65 | cell phones, pagers, and wireless enabled PDAs. Full text (e-mail) mode |
|---|
| 66 | sends the full text of the NWS bulletin. This allows you to get an alert |
|---|
| 67 | on your wireless device, and then you can check the full details of the |
|---|
| 68 | alert if you have quick access to your mail, or otherwise check your local |
|---|
| 69 | TV news or radio if not. |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | |
|---|
| 73 | Additional information on the program is included at the StormSiren web |
|---|
| 74 | site at http://stormsiren.sourceforge.net. |
|---|
| 75 | |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | |
|---|
| 80 | *** Many thanks to Rory McManus <slorf@users.sourceforge.net> *** |
|---|
| 81 | *** for his original concept of StormSiren *** |
|---|