v0.3.2 update

pull/45/head
Mason10198 2 years ago
parent 1f088f9da9
commit 1ffe14964b

@ -1,7 +1,7 @@
#!/usr/bin/python3 #!/usr/bin/python3
""" """
SkyControl v0.3.1 by Mason Nelson SkyControl v0.3.2 by Mason Nelson
================================== ==================================
A Control Script for SkywarnPlus A Control Script for SkywarnPlus

@ -1,7 +1,7 @@
#!/usr/bin/python3 #!/usr/bin/python3
""" """
SkyDescribe v0.3.1 by Mason Nelson SkyDescribe v0.3.2 by Mason Nelson
================================================== ==================================================
Text to Speech conversion for Weather Descriptions Text to Speech conversion for Weather Descriptions

@ -1,7 +1,7 @@
#!/usr/bin/python3 #!/usr/bin/python3
""" """
SkywarnPlus v0.3.1 by Mason Nelson SkywarnPlus v0.3.2 by Mason Nelson
=============================================================================== ===============================================================================
SkywarnPlus is a utility that retrieves severe weather alerts from the National SkywarnPlus is a utility that retrieves severe weather alerts from the National
Weather Service and integrates these alerts with an Asterisk/app_rpt based Weather Service and integrates these alerts with an Asterisk/app_rpt based

@ -1,4 +1,4 @@
# SkywarnPlus v0.3.1 Configuration File # SkywarnPlus v0.3.2 Configuration File
# Author: Mason Nelson (N5LSN/WRKF394) # Author: Mason Nelson (N5LSN/WRKF394)
# Please edit this file according to your specific requirements. # Please edit this file according to your specific requirements.
@ -271,10 +271,11 @@ AlertScript:
Mappings: Mappings:
# Define the mapping of alerts to either DTMF commands or bash scripts here. # Define the mapping of alerts to either DTMF commands or bash scripts here.
# Examples: # Examples:
#
#Example 1:
# This entry will execute the bash command 'asterisk -rx "rpt fun 1999 *123*456*789"' # This entry will execute the bash command 'asterisk -rx "rpt fun 1999 *123*456*789"'
# when the alerts "Tornado Warning" AND "Tornado Watch" are detected. # when the alerts "Tornado Warning" AND "Tornado Watch" are detected.
#
# - Type: DTMF # - Type: DTMF
# Nodes: # Nodes:
# - 1999 # - 1999
@ -284,22 +285,24 @@ AlertScript:
# - Tornado Warning # - Tornado Warning
# - Tornado Watch # - Tornado Watch
# Match: ALL # Match: ALL
#
# Example 2:
# This entry will execute the bash command '/home/repeater/testscript.sh' # This entry will execute the bash command '/home/repeater/testscript.sh'
# and the bash command '/home/repeater/saytime.sh' when an alert whose # and the bash command '/home/repeater/saytime.sh' when an alert whose
# title ends with "Statement" is detected. # title ends with "Statement" is detected.
#
# - Type: BASH # - Type: BASH
# Commands: # Commands:
# - "/home/repeater/testscript.sh" # - "/home/repeater/testscript.sh"
# - "/home/repeater/saytime.sh" # - "/home/repeater/saytime.sh"
# Triggers: # Triggers:
# - "*Statement" # - "*Statement"
#
# Example 3:
# This entry will execute the bash command 'asterisk -rx "rpt fun 1998 *123*456*789"' # This entry will execute the bash command 'asterisk -rx "rpt fun 1998 *123*456*789"'
# and the bash command 'asterisk -rx "rpt fun 1999 *123*456*789"' when an alert # and the bash command 'asterisk -rx "rpt fun 1999 *123*456*789"' when an alert
# titled "Tornado Warning" OR "Tornado Watch" is detected. # titled "Tornado Warning" OR "Tornado Watch" is detected.
#
# - Type: DTMF # - Type: DTMF
# Nodes: # Nodes:
# - 1998 # - 1998
@ -309,11 +312,12 @@ AlertScript:
# Triggers: # Triggers:
# - Tornado Warning # - Tornado Warning
# - Tornado Watch # - Tornado Watch
#
# Example 4:
# This entry will execute the bash command 'asterisk -rx "rpt fun 1999 *123*456*789"' # This entry will execute the bash command 'asterisk -rx "rpt fun 1999 *123*456*789"'
# and the bash command 'asterisk -rx "rpt fun 1999 *987*654*321"' # and the bash command 'asterisk -rx "rpt fun 1999 *987*654*321"'
# when an alert titled "Tornado Warning" OR "Tornado Watch" is detected. # when an alert titled "Tornado Warning" OR "Tornado Watch" is detected.
#
# - Type: DTMF # - Type: DTMF
# Nodes: # Nodes:
# - 1999 # - 1999
@ -324,12 +328,13 @@ AlertScript:
# - Tornado Warning # - Tornado Warning
# - Tornado Watch # - Tornado Watch
# Match: ANY # Match: ANY
#
# Example 5:
# This is an example entry that will automatically execute SkyDescribe and # This is an example entry that will automatically execute SkyDescribe and
# announce the full details of a Tornado Warning when it is detected. # announce the full details of a Tornado Warning when it is detected.
# The placeholder '{alert_title}' will be replaced with the title of the alert # The placeholder '{alert_title}' will be replaced with the title of the alert
# when AlertScript executes the command. # when AlertScript executes the command.
#
- Type: BASH - Type: BASH
Commands: Commands:
- '/usr/local/bin/SkywarnPlus/SkyDescribe.py "{alert_title}"' - '/usr/local/bin/SkywarnPlus/SkyDescribe.py "{alert_title}"'

Loading…
Cancel
Save

Powered by TurnKey Linux.