|
Revision 105:b55987db0833, 1.3 KB
(checked in by Chris Freeze <cfreeze@…>, 3 years ago)
|
|
saving trac pages in repository
|
| Line | |
|---|
| 1 | StormXmlSiren can support an unlimited number of device specifications. The general form of a device specification is: |
|---|
| 2 | |
|---|
| 3 | {{{ |
|---|
| 4 | [integer] |
|---|
| 5 | device = device_type |
|---|
| 6 | to = device_target |
|---|
| 7 | alert = alert_types |
|---|
| 8 | areas = list of areas |
|---|
| 9 | }}} |
|---|
| 10 | Currently, StormXmlSiren supports the following device types: |
|---|
| 11 | |
|---|
| 12 | * [wiki:EmailDevice email] |
|---|
| 13 | * [wiki:SmsDevice sms] |
|---|
| 14 | * [wiki:JabberDevice jabber] |
|---|
| 15 | * [wiki:MediaDevice media] |
|---|
| 16 | * [wiki:MythTvDevice mythtv] |
|---|
| 17 | * [wiki:ExecutionDevice external programs] |
|---|
| 18 | * [wiki:OsdDevice OSD (On Screen Display)] |
|---|
| 19 | |
|---|
| 20 | Each device is capable of receiving specific alert types. These alert types include: |
|---|
| 21 | |
|---|
| 22 | * statement |
|---|
| 23 | * forecast |
|---|
| 24 | * advisory |
|---|
| 25 | * watch |
|---|
| 26 | * warning |
|---|
| 27 | |
|---|
| 28 | Along with being able to filter on specific alert types, StormXmlSiren is capable of filtering each device to specific geographic areas. Geographic areas are specified using a '''colon''' separated list of location,State. The location can be either a city or the name of a county. The state should be the two letter abbreviate for the state. An example would be Warren,TN (County,State) and !McMinnville,TN (City,State): |
|---|
| 29 | |
|---|
| 30 | {{{ |
|---|
| 31 | areas = Warren,TN:McMinnville,TN |
|---|
| 32 | }}} |
|---|
| 33 | A full example of an [wiki:EmailDevice email device] would be the following: |
|---|
| 34 | |
|---|
| 35 | {{{ |
|---|
| 36 | [1] |
|---|
| 37 | device = email |
|---|
| 38 | to = cfreeze@example.com |
|---|
| 39 | alert = watch,warning |
|---|
| 40 | areas = Rockwall,TX:Collin,TX:Dallas,TX:Kaufman,TX:Hunt,TX |
|---|
| 41 | }}} |
|---|