Mason10198 / SkywarnPlus

Empowering Asterisk / app_rpt Nodes with Local Alert Intelligence
GNU General Public License v3.0
45 stars 3 forks source link

WARNING[4030] file.c: Unable to open /usr/local/bin/SkywarnPlus/SOUNDS/wx-tail (format 0x4 (ulaw)): No such file or directory #28

Closed captdonm closed 1 year ago

captdonm commented 1 year ago

I installed this on 2 nodes. 1st node seems fine. the 2nd node i get thos in the log" WARNING[4030] file.c: Unable to open /usr/local/bin/SkywarnPlus/SOUNDS/wx-tail (format 0x4 (ulaw)): No such file or directory "

Do you know why?

Mason10198 commented 1 year ago

wx-tail is no longer stored in that location. You need to edit rpt.conf to instead point to /tmp/SkywarnPlus/wx-tail, as per the README.

Mason10198 commented 1 year ago

Assuming this has been resolved. Closing due to inactivity.

captdonm commented 1 year ago

Yes I fixed it. I do want to know if the alert for "Air Quailty" should be sounding cause neither I or my buddy's node has heard one for that and it's active now here...

On Tue, Jun 27, 2023, 7:39 PM Mason10198 @.***> wrote:

Closed #28 https://github.com/Mason10198/SkywarnPlus/issues/28 as completed.

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#event-9658052799, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCK5K7GEGM3PSGSXAN3XNNVKFANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

Mason10198 commented 1 year ago

Can you please tell me what county this is for so I can look at the data?

I suspect that you are in an area where the NWS has issued an "Air Quality Alert" for the future. They can "see it coming", so they go ahead and issue the message early, but the actual subject matter of the alert is not yet occurring so SkywarnPlus is ignoring it for now until it is actually "onset".

Please refer to the "TimeType" setting in your config.yaml file for more information.

Referencing documented point in config.yaml that would cause SkywarnPlus to not announce an alert that the user believes is active in their area, provided SkywarnPlus was properly set up and no other issues are present. More information is required to know if this is actually a bug or not.

The following snippet is pulled directly from the Alerting: section of the config.yaml file:

  # 'TimeType' Configuration
  #
  # This setting determines the timing reference for issuing weather alerts. 
  # You can choose between "onset" and "effective" time.
  #
  # 'onset': Alerts are issued based on the predicted start time of the weather event. 
  # This means the system will only send out alerts when the events are imminent. 
  # For example, even though a "Heat Advisory" can be forecasted accurately a day or two in advance,
  # the alert will only be sent close to the actual occurrence of the event.
  #
  # 'effective': Alerts are sent as soon as they are received, based on the effective time of the alert message. 
  # The "effective" time is when the alert message is considered to be in effect, 
  # which could be earlier than the actual onset of the event.
  # 
  # By using 'onset', you can ensure that alerts are relevant and timely for the recipients.
  TimeType: onset
captdonm commented 1 year ago

MIC147 and MIC099 Michigan St. Clair County and Macomb. I'm in the files now and gonna go over what you just typed

On Wed, Jun 28, 2023, 8:12 AM Mason10198 @.***> wrote:

Can you please tell me what county this is for so I can look at the data?

I suspect that you are in an area where the NWS has issued an "Air Quality Alert" for the future. They can "see it coming", so they go ahead and issue the message early, but the actual subject matter of the alert is not yet occurring so SkywarnPlus is ignoring it for now until it is actually "onset".

Please refer to the "TimeType" setting in your config.yaml file for more information.

Referencing documented point in config.yaml that would cause SkywarnPlus to not announce an alert that the user believes is active in their area, provided SkywarnPlus was properly set up and no other issues are present. More information is required to know if this is actually a bug or not.

The following snippet is pulled directly from the Alerting: section of the config.yaml file:

'TimeType' Configuration

#

This setting determines the timing reference for issuing weather alerts.

You can choose between "onset" and "effective" time.

#

'onset': Alerts are issued based on the predicted start time of the weather event.

This means the system will only send out alerts when the events are imminent.

For example, even though a "Heat Advisory" can be forecasted accurately a day or two in advance,

the alert will only be sent close to the actual occurrence of the event.

#

'effective': Alerts are sent as soon as they are received, based on the effective time of the alert message.

The "effective" time is when the alert message is considered to be in effect,

which could be earlier than the actual onset of the event.

#

By using 'onset', you can ensure that alerts are relevant and timely for the recipients.

TimeType: onset

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611290074, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCJGRNUKFBRXYEISWDLXNQNRFANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

Mason10198 commented 1 year ago

For MIC147, the current data from the API contains this information for "Air Quality Alert":

"effective": "2023-06-27T11:54:00-04:00", "onset": "2023-06-27T11:54:00-04:00",

The onset time has passed, so SkywarnPlus should be using this alert. I'd need more information to know what's going on. Please enable the debugging logger in the config file, let it run at least once, and then paste the log here along with your config file contents if you are able.

The debugging output will show if SWP is ignoring any alerts and why.

captdonm commented 1 year ago

I have it set to default onset and not hearing any alerts

On Wed, Jun 28, 2023, 8:21 AM Cpt Don Mc Jr. @.***> wrote:

MIC147 and MIC099 Michigan St. Clair County and Macomb. I'm in the files now and gonna go over what you just typed

On Wed, Jun 28, 2023, 8:12 AM Mason10198 @.***> wrote:

Can you please tell me what county this is for so I can look at the data?

I suspect that you are in an area where the NWS has issued an "Air Quality Alert" for the future. They can "see it coming", so they go ahead and issue the message early, but the actual subject matter of the alert is not yet occurring so SkywarnPlus is ignoring it for now until it is actually "onset".

Please refer to the "TimeType" setting in your config.yaml file for more information.

Referencing documented point in config.yaml that would cause SkywarnPlus to not announce an alert that the user believes is active in their area, provided SkywarnPlus was properly set up and no other issues are present. More information is required to know if this is actually a bug or not.

The following snippet is pulled directly from the Alerting: section of the config.yaml file:

'TimeType' Configuration

#

This setting determines the timing reference for issuing weather alerts.

You can choose between "onset" and "effective" time.

#

'onset': Alerts are issued based on the predicted start time of the weather event.

This means the system will only send out alerts when the events are imminent.

For example, even though a "Heat Advisory" can be forecasted accurately a day or two in advance,

the alert will only be sent close to the actual occurrence of the event.

#

'effective': Alerts are sent as soon as they are received, based on the effective time of the alert message.

The "effective" time is when the alert message is considered to be in effect,

which could be earlier than the actual onset of the event.

#

By using 'onset', you can ensure that alerts are relevant and timely for the recipients.

TimeType: onset

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611290074, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCJGRNUKFBRXYEISWDLXNQNRFANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

captdonm commented 1 year ago

I'm fairly new to all this I have the log enabled I don't know how to view it though

On Wed, Jun 28, 2023, 8:34 AM Mason10198 @.***> wrote:

For MIC147, the current data from the API contains this information for "Air Quality Alert":

"effective": "2023-06-27T11:54:00-04:00", "onset": "2023-06-27T11:54:00-04:00",

The onset time has passed, so SkywarnPlus should be using this alert. I'd need more information to know what's going on. Please enable the debugging logger in the config file, let it run at least once, and then paste the log here along with your config file contents if you are able.

The debugging output will show if SWP is ignoring any alerts and why.

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611320325, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCIU2ZTU5ZOTY43EX3DXNQQFBANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

Mason10198 commented 1 year ago

This command shows the last 100 lines of the log file.

tail -n 100 /tmp/SkywarnPlus/SkywarnPlus.log

captdonm commented 1 year ago

@._pi SkywarnPlus]# tail -n 100 /tmp/SkywarnPlus/SkywarnPlus.log 2023-06-28 08:32:03,125 DEBUG getAlerts: Using onset time for alerting 2023-06-28 08:32:04,020 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 08:32:04,619 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 08:32:04,623 DEBUG No change in alerts 2023-06-28 08:33:03,249 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 08:33:03,250 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 08:33:03,251 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 08:33:03,252 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 08:33:03,252 DEBUG Global Blocked events: [] 2023-06-28 08:33:03,254 DEBUG SayAlert Blocked events: [] 2023-06-28 08:33:03,254 DEBUG Tailmessage Blocked events: [] 2023-06-28 08:33:03,255 DEBUG getAlerts: Current time: 2023-06-28 12:33:03.255369+00:00 2023-06-28 08:33:03,257 DEBUG getAlerts: Using onset time for alerting 2023-06-28 08:33:04,189 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 08:33:05,012 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 08:33:05,016 DEBUG No change in alerts 2023-06-28 08:34:02,704 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 08:34:02,706 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 08:34:02,707 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 08:34:02,707 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 08:34:02,708 DEBUG Global Blocked events: [] 2023-06-28 08:34:02,709 DEBUG SayAlert Blocked events: [] 2023-06-28 08:34:02,710 DEBUG Tailmessage Blocked events: [] 2023-06-28 08:34:02,711 DEBUG getAlerts: Current time: 2023-06-28 12:34:02.711189+00:00 2023-06-28 08:34:02,712 DEBUG getAlerts: Using onset time for alerting 2023-06-28 08:34:03,618 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 08:34:04,361 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 08:34:04,366 DEBUG No change in alerts 2023-06-28 08:35:03,045 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 08:35:03,047 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 08:35:03,047 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 08:35:03,048 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 08:35:03,049 DEBUG Global Blocked events: [] 2023-06-28 08:35:03,050 DEBUG SayAlert Blocked events: [] 2023-06-28 08:35:03,051 DEBUG Tailmessage Blocked events: [] 2023-06-28 08:35:03,052 DEBUG getAlerts: Current time: 2023-06-28 12:35:03.052041+00:00 2023-06-28 08:35:03,053 DEBUG getAlerts: Using onset time for alerting 2023-06-28 08:35:03,930 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 08:35:05,073 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 08:35:05,080 DEBUG No change in alerts 2023-06-28 08:36:02,768 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 08:36:02,770 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 08:36:02,771 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 08:36:02,771 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 08:36:02,772 DEBUG Global Blocked events: [] 2023-06-28 08:36:02,773 DEBUG SayAlert Blocked events: [] 2023-06-28 08:36:02,774 DEBUG Tailmessage Blocked events: [] 2023-06-28 08:36:02,775 DEBUG getAlerts: Current time: 2023-06-28 12:36:02.775271+00:00 2023-06-28 08:36:02,777 DEBUG getAlerts: Using onset time for alerting 2023-06-28 08:36:03,605 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 08:36:04,200 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 08:36:04,206 DEBUG No change in alerts 2023-06-28 08:37:02,825 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 08:37:02,827 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 08:37:02,828 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 08:37:02,828 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 08:37:02,829 DEBUG Global Blocked events: [] 2023-06-28 08:37:02,831 DEBUG SayAlert Blocked events: [] 2023-06-28 08:37:02,831 DEBUG Tailmessage Blocked events: [] 2023-06-28 08:37:02,832 DEBUG getAlerts: Current time: 2023-06-28 12:37:02.832296+00:00 2023-06-28 08:37:02,833 DEBUG getAlerts: Using onset time for alerting 2023-06-28 08:37:03,604 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 08:37:04,423 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 08:37:04,429 DEBUG No change in alerts 2023-06-28 08:38:03,113 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 08:38:03,115 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 08:38:03,116 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 08:38:03,117 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 08:38:03,118 DEBUG Global Blocked events: [] 2023-06-28 08:38:03,119 DEBUG SayAlert Blocked events: [] 2023-06-28 08:38:03,120 DEBUG Tailmessage Blocked events: [] 2023-06-28 08:38:03,121 DEBUG getAlerts: Current time: 2023-06-28 12:38:03.120975+00:00 2023-06-28 08:38:03,122 DEBUG getAlerts: Using onset time for alerting 2023-06-28 08:38:03,904 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 08:38:04,507 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 08:38:04,511 DEBUG No change in alerts 2023-06-28 08:39:03,202 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 08:39:03,204 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 08:39:03,204 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 08:39:03,205 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 08:39:03,206 DEBUG Global Blocked events: [] 2023-06-28 08:39:03,207 DEBUG SayAlert Blocked events: [] 2023-06-28 08:39:03,208 DEBUG Tailmessage Blocked events: [] 2023-06-28 08:39:03,209 DEBUG getAlerts: Current time: 2023-06-28 12:39:03.208948+00:00 2023-06-28 08:39:03,210 DEBUG getAlerts: Using onset time for alerting 2023-06-28 08:39:04,078 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 08:39:04,729 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 08:39:04,735 DEBUG No change in alerts 2023-06-28 08:40:03,361 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 08:40:03,363 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 08:40:03,363 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 08:40:03,364 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 08:40:03,364 DEBUG Global Blocked events: [] 2023-06-28 08:40:03,366 DEBUG SayAlert Blocked events: [] 2023-06-28 08:40:03,366 DEBUG Tailmessage Blocked events: [] 2023-06-28 08:40:03,367 DEBUG getAlerts: Current time: 2023-06-28 12:40:03.367582+00:00 2023-06-28 08:40:03,369 DEBUG getAlerts: Using onset time for alerting 2023-06-28 08:40:04,180 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 08:40:04,782 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 08:40:04,786 DEBUG No change in alerts @._pi SkywarnPlus]#

On Wed, Jun 28, 2023 at 8:39 AM Mason10198 @.***> wrote:

This command shows the last 100 lines of the log file.

tail -n 100 /tmp/SkywarnPlus/SkywarnPlus.log

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611327279, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCN277UZXMXNK7EMOL3XNQQZNANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

Mason10198 commented 1 year ago

Can you please clear out the temporary data using this command: rm -rf /tmp/SkywarnPlus/

then wait a few minutes, and then provide the log again

captdonm commented 1 year ago

ok cleared them here's the log:

***@***.***_pi SkywarnPlus]# tail -n 100 /tmp/SkywarnPlus/SkywarnPlus.log
2023-06-28 09:00:02,565 DEBUG Base directory: /usr/local/bin/SkywarnPlus
2023-06-28 09:00:02,567 DEBUG Temporary directory: /tmp/SkywarnPlus
2023-06-28 09:00:02,568 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS
2023-06-28 09:00:02,568 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav
2023-06-28 09:00:02,569 DEBUG Global Blocked events: []
2023-06-28 09:00:02,570 DEBUG SayAlert Blocked events: []
2023-06-28 09:00:02,571 DEBUG Tailmessage Blocked events: []
2023-06-28 09:00:02,572 DEBUG getAlerts: Current time: 2023-06-28
13:00:02.572064+00:00
2023-06-28 09:00:02,573 DEBUG getAlerts: Using onset time for alerting
2023-06-28 09:00:04,108 DEBUG getAlerts: Checking for alerts in MIC099 at
URL: https://api.weather.gov/alerts/active?zone=MIC099
2023-06-28 09:00:05,081 DEBUG getAlerts: Checking for alerts in MIC147 at
URL: https://api.weather.gov/alerts/active?zone=MIC147
2023-06-28 09:00:05,086 DEBUG No change in alerts
2023-06-28 09:01:02,795 DEBUG Base directory: /usr/local/bin/SkywarnPlus
2023-06-28 09:01:02,796 DEBUG Temporary directory: /tmp/SkywarnPlus
2023-06-28 09:01:02,797 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS
2023-06-28 09:01:02,798 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav
2023-06-28 09:01:02,798 DEBUG Global Blocked events: []
2023-06-28 09:01:02,800 DEBUG SayAlert Blocked events: []
2023-06-28 09:01:02,800 DEBUG Tailmessage Blocked events: []
2023-06-28 09:01:02,801 DEBUG getAlerts: Current time: 2023-06-28
13:01:02.801758+00:00
2023-06-28 09:01:02,803 DEBUG getAlerts: Using onset time for alerting
2023-06-28 09:01:04,190 DEBUG getAlerts: Checking for alerts in MIC099 at
URL: https://api.weather.gov/alerts/active?zone=MIC099
2023-06-28 09:01:04,906 DEBUG getAlerts: Checking for alerts in MIC147 at
URL: https://api.weather.gov/alerts/active?zone=MIC147
2023-06-28 09:01:04,910 DEBUG No change in alerts
2023-06-28 09:02:02,528 DEBUG Base directory: /usr/local/bin/SkywarnPlus
2023-06-28 09:02:02,530 DEBUG Temporary directory: /tmp/SkywarnPlus
2023-06-28 09:02:02,530 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS
2023-06-28 09:02:02,531 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav
2023-06-28 09:02:02,532 DEBUG Global Blocked events: []
2023-06-28 09:02:02,533 DEBUG SayAlert Blocked events: []
2023-06-28 09:02:02,534 DEBUG Tailmessage Blocked events: []
2023-06-28 09:02:02,535 DEBUG getAlerts: Current time: 2023-06-28
13:02:02.534959+00:00
2023-06-28 09:02:02,536 DEBUG getAlerts: Using onset time for alerting
2023-06-28 09:02:03,528 DEBUG getAlerts: Checking for alerts in MIC099 at
URL: https://api.weather.gov/alerts/active?zone=MIC099
2023-06-28 09:02:04,497 DEBUG getAlerts: Checking for alerts in MIC147 at
URL: https://api.weather.gov/alerts/active?zone=MIC147
2023-06-28 09:02:04,501 DEBUG No change in alerts
2023-06-28 09:03:03,135 DEBUG Base directory: /usr/local/bin/SkywarnPlus
2023-06-28 09:03:03,137 DEBUG Temporary directory: /tmp/SkywarnPlus
2023-06-28 09:03:03,138 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS
2023-06-28 09:03:03,138 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav
2023-06-28 09:03:03,139 DEBUG Global Blocked events: []
2023-06-28 09:03:03,140 DEBUG SayAlert Blocked events: []
2023-06-28 09:03:03,141 DEBUG Tailmessage Blocked events: []
2023-06-28 09:03:03,142 DEBUG getAlerts: Current time: 2023-06-28
13:03:03.142072+00:00
2023-06-28 09:03:03,143 DEBUG getAlerts: Using onset time for alerting
2023-06-28 09:03:03,876 DEBUG getAlerts: Checking for alerts in MIC099 at
URL: https://api.weather.gov/alerts/active?zone=MIC099
2023-06-28 09:03:04,980 DEBUG getAlerts: Checking for alerts in MIC147 at
URL: https://api.weather.gov/alerts/active?zone=MIC147
2023-06-28 09:03:04,985 DEBUG No change in alerts
2023-06-28 09:04:02,667 DEBUG Base directory: /usr/local/bin/SkywarnPlus
2023-06-28 09:04:02,669 DEBUG Temporary directory: /tmp/SkywarnPlus
2023-06-28 09:04:02,670 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS
2023-06-28 09:04:02,670 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav
2023-06-28 09:04:02,671 DEBUG Global Blocked events: []
2023-06-28 09:04:02,672 DEBUG SayAlert Blocked events: []
2023-06-28 09:04:02,673 DEBUG Tailmessage Blocked events: []
2023-06-28 09:04:02,674 DEBUG getAlerts: Current time: 2023-06-28
13:04:02.674316+00:00
2023-06-28 09:04:02,676 DEBUG getAlerts: Using onset time for alerting
2023-06-28 09:04:03,464 DEBUG getAlerts: Checking for alerts in MIC099 at
URL: https://api.weather.gov/alerts/active?zone=MIC099
2023-06-28 09:04:04,332 DEBUG getAlerts: Checking for alerts in MIC147 at
URL: https://api.weather.gov/alerts/active?zone=MIC147
2023-06-28 09:04:04,337 DEBUG No change in alerts
2023-06-28 09:05:02,977 DEBUG Base directory: /usr/local/bin/SkywarnPlus
2023-06-28 09:05:02,978 DEBUG Temporary directory: /tmp/SkywarnPlus
2023-06-28 09:05:02,979 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS
2023-06-28 09:05:02,979 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav
2023-06-28 09:05:02,980 DEBUG Global Blocked events: []
2023-06-28 09:05:02,981 DEBUG SayAlert Blocked events: []
2023-06-28 09:05:02,982 DEBUG Tailmessage Blocked events: []
2023-06-28 09:05:02,983 DEBUG getAlerts: Current time: 2023-06-28
13:05:02.983342+00:00
2023-06-28 09:05:02,985 DEBUG getAlerts: Using onset time for alerting
2023-06-28 09:05:03,830 DEBUG getAlerts: Checking for alerts in MIC099 at
URL: https://api.weather.gov/alerts/active?zone=MIC099
2023-06-28 09:05:04,530 DEBUG getAlerts: Checking for alerts in MIC147 at
URL: https://api.weather.gov/alerts/active?zone=MIC147
2023-06-28 09:05:04,534 DEBUG No change in alerts
***@***.***_pi SkywarnPlus]#
Mason10198 commented 1 year ago

I forgot to mention, I need to see the beginning of the log file when the alert data is first retrieved. Please use this command instead:

head -n 100 /tmp/SkywarnPlus.log

captdonm commented 1 year ago

@._pi SkywarnPlus]# head -n 100 /tmp/SkywarnPlus.log head: cannot open '/tmp/SkywarnPlus.log' for reading: No such file or directory @._pi SkywarnPlus]#

On Wed, Jun 28, 2023 at 9:12 AM Mason10198 @.***> wrote:

I forgot to mention, I need to see the beginning of the log file when the alert data is first retrieved. Please use this command instead:

head -n 100 /tmp/SkywarnPlus.log

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611389199, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCLRTWD6N47MMSOFZALXNQUSFANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

captdonm commented 1 year ago

is that something I did wrong? This is a brand new Hamvoip install about 4 hours ago I started it. I have configured Supermon and Allmon and changed node number to callsigns. Then installed SkywarnPlus.

On Wed, Jun 28, 2023 at 9:19 AM Cpt Don Mc Jr. @.***> wrote:

@._pi SkywarnPlus]# head -n 100 /tmp/SkywarnPlus.log head: cannot open '/tmp/SkywarnPlus.log' for reading: No such file or directory @._pi SkywarnPlus]#

On Wed, Jun 28, 2023 at 9:12 AM Mason10198 @.***> wrote:

I forgot to mention, I need to see the beginning of the log file when the alert data is first retrieved. Please use this command instead:

head -n 100 /tmp/SkywarnPlus.log

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611389199, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCLRTWD6N47MMSOFZALXNQUSFANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

captdonm commented 1 year ago

ok you were answering pretty quickly so I assumed you were troubleshooting it right now...if your busy let me know and i'll close my shell interface and wait til you respond later....

On Wed, Jun 28, 2023 at 9:36 AM Cpt Don Mc Jr. @.***> wrote:

is that something I did wrong? This is a brand new Hamvoip install about 4 hours ago I started it. I have configured Supermon and Allmon and changed node number to callsigns. Then installed SkywarnPlus.

On Wed, Jun 28, 2023 at 9:19 AM Cpt Don Mc Jr. @.***> wrote:

@._pi SkywarnPlus]# head -n 100 /tmp/SkywarnPlus.log head: cannot open '/tmp/SkywarnPlus.log' for reading: No such file or directory @._pi SkywarnPlus]#

On Wed, Jun 28, 2023 at 9:12 AM Mason10198 @.***> wrote:

I forgot to mention, I need to see the beginning of the log file when the alert data is first retrieved. Please use this command instead:

head -n 100 /tmp/SkywarnPlus.log

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611389199, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCLRTWD6N47MMSOFZALXNQUSFANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

Mason10198 commented 1 year ago

The log file does not exist because SkywarnPlus has not been executed to generate any log data.

It's hard for me to troubleshoot from this end without being able to see everything.

The best thing you can do is clear out the temporary folder, then let SWP run once or twice, then provide the contents of both the log file and config file.

captdonm commented 1 year ago

Im not sure what you mean by the config file but here's the SkywarnPlus log file again and my AST Log from my Supermon Page. is there anyway I can let you in my node to troubleshoot it?

LOG FILE

2023-06-28 09:57:02,925 DEBUG getAlerts: Current time: 2023-06-28 13:57:02.925262+00:00 2023-06-28 09:57:02,927 DEBUG getAlerts: Using onset time for alerting 2023-06-28 09:57:04,091 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 09:57:04,690 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 09:57:04,696 DEBUG No change in alerts 2023-06-28 09:58:03,394 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 09:58:03,396 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 09:58:03,397 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 09:58:03,398 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 09:58:03,398 DEBUG Global Blocked events: [] 2023-06-28 09:58:03,400 DEBUG SayAlert Blocked events: [] 2023-06-28 09:58:03,400 DEBUG Tailmessage Blocked events: [] 2023-06-28 09:58:03,401 DEBUG getAlerts: Current time: 2023-06-28 13:58:03.401602+00:00 2023-06-28 09:58:03,403 DEBUG getAlerts: Using onset time for alerting 2023-06-28 09:58:04,264 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 09:58:04,902 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 09:58:04,907 DEBUG No change in alerts 2023-06-28 09:59:02,604 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 09:59:02,606 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 09:59:02,607 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 09:59:02,607 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 09:59:02,608 DEBUG Global Blocked events: [] 2023-06-28 09:59:02,610 DEBUG SayAlert Blocked events: [] 2023-06-28 09:59:02,610 DEBUG Tailmessage Blocked events: [] 2023-06-28 09:59:02,611 DEBUG getAlerts: Current time: 2023-06-28 13:59:02.611529+00:00 2023-06-28 09:59:02,613 DEBUG getAlerts: Using onset time for alerting 2023-06-28 09:59:03,376 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 09:59:04,211 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 09:59:04,217 DEBUG No change in alerts 2023-06-28 10:00:02,855 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 10:00:02,857 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 10:00:02,857 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 10:00:02,858 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 10:00:02,859 DEBUG Global Blocked events: [] 2023-06-28 10:00:02,860 DEBUG SayAlert Blocked events: [] 2023-06-28 10:00:02,861 DEBUG Tailmessage Blocked events: [] 2023-06-28 10:00:02,861 DEBUG getAlerts: Current time: 2023-06-28 14:00:02.861867+00:00 2023-06-28 10:00:02,863 DEBUG getAlerts: Using onset time for alerting 2023-06-28 10:00:04,033 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 10:00:04,888 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 10:00:04,892 DEBUG No change in alerts 2023-06-28 10:01:02,828 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 10:01:02,830 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 10:01:02,831 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 10:01:02,831 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 10:01:02,832 DEBUG Global Blocked events: [] 2023-06-28 10:01:02,834 DEBUG SayAlert Blocked events: [] 2023-06-28 10:01:02,834 DEBUG Tailmessage Blocked events: [] 2023-06-28 10:01:02,835 DEBUG getAlerts: Current time: 2023-06-28 14:01:02.835533+00:00 2023-06-28 10:01:02,837 DEBUG getAlerts: Using onset time for alerting 2023-06-28 10:01:03,733 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 10:01:04,382 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 10:01:04,387 DEBUG No change in alerts 2023-06-28 10:02:03,095 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 10:02:03,097 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 10:02:03,098 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 10:02:03,098 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 10:02:03,099 DEBUG Global Blocked events: [] 2023-06-28 10:02:03,100 DEBUG SayAlert Blocked events: [] 2023-06-28 10:02:03,101 DEBUG Tailmessage Blocked events: [] 2023-06-28 10:02:03,102 DEBUG getAlerts: Current time: 2023-06-28 14:02:03.102234+00:00 2023-06-28 10:02:03,104 DEBUG getAlerts: Using onset time for alerting 2023-06-28 10:02:04,165 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 10:02:05,025 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 10:02:05,031 DEBUG No change in alerts 2023-06-28 10:03:02,741 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 10:03:02,743 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 10:03:02,743 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 10:03:02,744 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 10:03:02,745 DEBUG Global Blocked events: [] 2023-06-28 10:03:02,746 DEBUG SayAlert Blocked events: [] 2023-06-28 10:03:02,747 DEBUG Tailmessage Blocked events: [] 2023-06-28 10:03:02,748 DEBUG getAlerts: Current time: 2023-06-28 14:03:02.748148+00:00 2023-06-28 10:03:02,749 DEBUG getAlerts: Using onset time for alerting 2023-06-28 10:03:03,537 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 10:03:04,147 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 10:03:04,151 DEBUG No change in alerts

AST LOG

[Jun 28 09:59:42] NOTICE[1958] dnsmgr.c: Managed DNS entries will be refreshed every 300 seconds. [Jun 28 09:59:42] NOTICE[1958] cdr.c: CDR simple logging enabled. [Jun 28 09:59:42] NOTICE[1958] loader.c: 117 modules will be loaded. [Jun 28 09:59:42] NOTICE[1958] chan_irlp.c: Unable to load config irlp.conf [Jun 28 09:59:42] WARNING[1958] cdr_odbc.c: cdr_odbc: Unable to load config for ODBC CDR's: cdr_odbc.conf [Jun 28 09:59:42] NOTICE[1958] chan_usbradio.c: Unable to load config usbradio.conf [Jun 28 09:59:42] ERROR[1958] chan_echolink.c: Unable to load config echolink.conf [Jun 28 09:59:42] NOTICE[1958] pbx_ael.c: Starting AEL load process. [Jun 28 09:59:42] NOTICE[1958] pbx_ael.c: AEL load process: calculated config file name '/usr/local/hamvoip-asterisk/etc/asterisk/extensions.ael'. [Jun 28 09:59:42] NOTICE[1958] pbx_ael.c: File /usr/local/hamvoip-asterisk/etc/asterisk/extensions.ael not found; AEL declining load [Jun 28 09:59:42] ERROR[1958] chan_voter.c: Unable to load config voter.conf [Jun 28 09:59:42] WARNING[1958] pbx_spool.c: Unable to create queue directory /var/spool/asterisk/outgoing -- outgoing spool disabled [Jun 28 09:59:42] ERROR[1958] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory [Jun 28 09:59:42] NOTICE[1967] app_rpt.c: Normal Repeater Init 588840 [Jun 28 09:59:42] NOTICE[1967] app_rpt.c: Normal Repeater Init 1999 [Jun 28 09:59:42] NOTICE[2004] chan_simpleusb.c: Loaded parameters from simpleusb_tune_usb.conf for device usb . [Jun 28 09:59:42] NOTICE[1970] chan_iax2.c: Registered IAX2 to '34.105.111.212', who sees us as 166.198.24.81:4569 with no messages waiting

[Jun 28 10:05:05] NOTICE[2298] manager.c: 127.0.0.1 failed to authenticate as 'admin' [Jun 28 10:05:13] NOTICE[2405] manager.c: 127.0.0.1 failed to authenticate as 'admin'

On Wed, Jun 28, 2023 at 9:56 AM Mason10198 @.***> wrote:

The log file does not exist because SkywarnPlus has not been executed to generate any log data.

It's hard for me to troubleshoot from this end without being able to see everything.

The best thing you can do is clear out the temporary folder, then let SWP run once or twice, then provide the contents of both the log file and config file.

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611461692, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCPCSBOEMBYPFAOCON3XNQZXXANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

captdonm commented 1 year ago

here's my config.yaml

# SkywarnPlus v0.3.0 Configuration File
# Author: Mason Nelson (N5LSN/WRKF394)
# Please edit this file according to your specific requirements.

# This config file is structured YAML. Please be sure to maintain the
structure when editing.
# YAML is very picky about indentation. Use spaces, not tabs.

################################################################################################################################

SKYWARNPLUS:

  # Toggle the entire SkywarnPlus operation.
  # Set to 'True' to activate or 'False' to disable.
  # Example: Enable: true
  Enable: true

################################################################################################################################

Asterisk:

  # List of node numbers for broadcasting alerts. Multiple nodes are
specified as a list.
  # Example:
  # Nodes:
  #   - 1998
  #   - 1999
  Nodes:
  - 588840

################################################################################################################################

Alerting:

  # Specify the county codes for which you want to pull weather data.
  # Find your county codes at https://alerts.weather.gov/.
  # Make sure to use county codes ONLY, NOT zone codes, otherwise you might
miss out on alerts.
  # Example:
  # CountyCodes:
  #   - ARC121
  #   - ARC021
  CountyCodes:
  - MIC099
  - MIC147

  # Enable instant voice announcement when new weather alerts are issued.
  # Set to 'True' for enabling or 'False' for disabling.
  # Example: SayAlert: true
  SayAlert: true

  # Specify a WAV file in the root of the SOUNDS directory to be appended
to the end of the alert message.
  #SayAlertSuffix:

  # Enable instant voice announcement when weather alerts are cleared.
  # Set to 'True' for enabling or 'False' for disabling.
  # Example: SayAllClear: true
  SayAllClear: true

  # Limit the maximum number of alerts to process in case of multiple
alerts.
  # SkywarnPlus fetches all alerts, orders them by severity, and processes
only the 'n' most severe alerts, where 'n' is the MaxAlerts value.
  #MaxAlerts: 5

  # Specify an alternative path to the directory where sound files are
located.
  # Default is SkywarnPlus/SOUNDS.
  #SoundsPath:

  # 'TimeType' Configuration
  #
  # This setting determines the timing reference for issuing weather
alerts.
  # You can choose between "onset" and "effective" time.
  #
  # 'onset': Alerts are issued based on the predicted start time of the
weather event.
  # This means the system will only send out alerts when the events are
imminent.
  # For example, even though a "Heat Advisory" can be forecasted accurately
a day or two in advance,
  # the alert will only be sent close to the actual occurrence of the event.
  #
  # 'effective': Alerts are sent as soon as they are received, based on the
effective time of the alert message.
  # The "effective" time is when the alert message is considered to be in
effect,
  # which could be earlier than the actual onset of the event.
  #
  # By using 'onset', you can ensure that alerts are relevant and timely
for the recipients.
  TimeType: onset

################################################################################################################################

Blocking:

  # List of globally blocked events. These alerts are ignored across the
entire SkywarnPlus operation.
  # Use a case-sensitive list. Wildcards can be used.
  # Example:
  # GlobalBlockedEvents:
  #   - Flood Watch
  #   - '*Statement'
  #   - '*Advisory'
  GlobalBlockedEvents:

  # List of events blocked from being announced when received. These alerts
will still be added to the tail message.
  # Use a case-sensitive list.
  SayAlertBlockedEvents:

  # List of events blocked from being added to the tail message. These
alerts will still be announced when received.
  # Use a case-sensitive list.
  TailmessageBlockedEvents:

################################################################################################################################

Tailmessage:
  # Configuration for the tail message functionality. Requires initial
setup in RPT.CONF.

  # Enable/disable automatic tail message.
  Enable: true

  # Specify a WAV file in the root of the SOUNDS directory to be appended
to the end of the tail message.
  #TailmessageSuffix:

  # Specify an alternative path and filename for saving the tail message.
  # Default is /tmp/SkywarnPlus/wx-tail.wav.
  #TailmessagePath: /tmp/SkywarnPlus/wx-tail.wav.

################################################################################################################################

CourtesyTones:
  # Configuration for automatic CT changing. Requires initial setup in
RPT.CONF.

  # Enable/disable automatic courtesy tones.
  Enable: false

  # Specify an alternative directory where tone files are located.
  # Default is SkywarnPlus/SOUNDS/TONES.
  #ToneDir:

  # Define the sound files for courtesy tones.
  Tones:

    # Audio file to feed Asterisk as ct1 in "normal" mode
    CT1: Boop.ulaw

    # Audio file to feed Asterisk as ct2 in "normal" mode
    CT2: Beep.ulaw

    # Audio file to feed Asterisk as ct1 AND ct2 in "wx" mode
    WXCT: Stardust.ulaw

    # The file rpt.conf is looking for as ct1
    RptCT1: CT1.ulaw

    # The file rpt.conf is looking for as ct2
    RptCT2: CT2.ulaw

  # Define the alerts that trigger the "wx" courtesy tone.
  # Use a case-sensitive list. One alert per line.
  CTAlerts:
  - Ashfall Warning
  - Avalanche Warning
  - Blizzard Warning
  - Blowing Dust Warning
  - Civil Danger Warning
  - Civil Emergency Message
  - Coastal Flood Warning
  - Dust Storm Warning
  - Earthquake Warning
  - Evacuation - Immediate
  - Extreme Wind Warning
  - Fire Warning
  - Hazardous Materials Warning
  - Hurricane Force Wind Warning
  - Hurricane Warning
  - Ice Storm Warning
  - Law Enforcement Warning
  - Local Area Emergency
  - Nuclear Power Plant Warning
  - Radiological Hazard Warning
  - Severe Thunderstorm Warning
  - Shelter In Place Warning
  - Storm Surge Warning
  - Tornado Warning
  - Tornado Watch
  - Tropical Storm Warning
  - Tsunami Warning
  - Typhoon Warning
  - Volcano Warning
  - Winter Storm Warning

################################################################################################################################

IDChange:
  # Configuration for Automatic ID Changing. Requires initial setup in
RPT.CONF and manual creation of audio files.

  # Enable/disable automatic ID changing.
  Enable: false

  # Specify an alternative directory where ID files are located.
  # Default is SkywarnPlus/SOUNDS/ID.
  #IDDir:

  # Define the sound files for IDs.
  IDs:

    # Audio file to feed Asterisk as ID in "normal" mode
    NormalID: NORMALID.ulaw

    # Audio file to feed Asterisk as ID in "wx" mode
    WXID: WXID.ulaw

    # Audio file rpt.conf is looking for as ID
    RptID: RPTID.ulaw

  # Define the alerts that trigger the weather ID.
  # Use a case-sensitive list. One alert per line.
  IDAlerts:
  - Ashfall Warning
  - Avalanche Warning
  - Blizzard Warning
  - Blowing Dust Warning
  - Civil Danger Warning
  - Civil Emergency Message
  - Coastal Flood Warning
  - Dust Storm Warning
  - Earthquake Warning
  - Evacuation - Immediate
  - Extreme Wind Warning
  - Fire Warning
  - Hazardous Materials Warning
  - Hurricane Force Wind Warning
  - Hurricane Warning
  - Ice Storm Warning
  - Law Enforcement Warning
  - Local Area Emergency
  - Nuclear Power Plant Warning
  - Radiological Hazard Warning
  - Severe Thunderstorm Warning
  - Shelter In Place Warning
  - Storm Surge Warning
  - Tornado Warning
  - Tornado Watch
  - Tropical Storm Warning
  - Tsunami Warning
  - Typhoon Warning
  - Volcano Warning
  - Winter Storm Warning

################################################################################################################################

SkyDescribe:
  # SkyDescribe is a feature that allows you to request a detailed
description of a weather alert.
  # VoiceRSS is a free service that SkyDescribe requires to function. You
must obtain an API key from VoiceRSS.org.
  # See VoiceRSS.ors/api/ for more information

  # API Key for VoiceRSS.org
  APIKey:

  # VoiceRSS language code
  Language: en-us

  # VoiceRSS speech rate. -10 is slowest, 10 is fastest.
  Speed: 1

  # VoiceRSS voice profile. See VoiceRSS.org/api/ for more information.
  Voice: John

  # Maximum number of words to be spoken by SkyDescribe.
  # CAUTION: Setting this value too high may cause SkyDescribe to exceed
the timeout timer of your node.
  # ~130 words is around 60 seconds at Speed: 0.
  MaxWords: 150

################################################################################################################################

AlertScript:
  # AlertScript allows you to map BASH or DTMF commands to be executed when
a weather alert is detected.

  # Completely enable/disable AlertScript
  Enable: false

  Mappings:
    # Define the mapping of alerts to either DTMF commands or bash scripts
here.
    # Examples:

    # 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.

    # - Type: DTMF
    #   Nodes:
    #     - 1999
    #   Commands:
    #     - "*123*456*789"
    #   Triggers:
    #     - Tornado Warning
    #     - Tornado Watch
    #   Match: ALL

    # This entry will execute the bash command
'/home/repeater/testscript.sh'
    # and the bash command '/home/repeater/saytime.sh' when an alert whose
    # title ends with "Statement" is detected.
    # - Type: BASH
    #   Commands:
    #     - "/home/repeater/testscript.sh"
    #     - "/home/repeater/saytime.sh"
    #   Triggers:
    #     - "*Statement"

    # 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
    # titled "Tornado Warning" OR "Tornado Watch" is detected.

    # - Type: DTMF
    #   Nodes:
    #     - 1998
    #     - 1999
    #   Commands:
    #     - "*123*456*789"
    #   Triggers:
    #     - Tornado Warning
    #     - Tornado Watch

    # 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"'
    # when an alert titled "Tornado Warning" OR "Tornado Watch" is detected.

    # - Type: DTMF
    #   Nodes:
    #     - 1999
    #   Commands:
    #     - "*123*456*789"
    #     - "*987*654*321"
    #   Triggers:
    #     - Tornado Warning
    #     - Tornado Watch
    #   Match: ANY

    # This is an example entry that will automatically execute SkyDescribe
and
    # announce the full details of a Tornado Warning when it is detected.

  - Type: BASH
    Commands:
    - /usr/local/bin/SkywarnPlus/SkyDescribe.py "Tornado Warning"
    Triggers:
    - Tornado Warning

################################################################################################################################

Pushover:
  # Configuration for Pushover integration. Pushover is a free notification
service. Register at https://pushover.net/.

  # Enable/disable Pushover integration.
  Enable: false

  # Provide your user key obtained from Pushover.
  UserKey:

  # Provide the API token obtained from Pushover.
  APIToken:

  # Enable verbose messaging
  Debug: false

################################################################################################################################

Logging:
  # Configuration for logging.

  # Enable verbose logging
  Debug: true

  # Specify an alternative log file path.
  #LogPath:

################################################################################################################################

DEV:
  # Configuration for development and testing.

  # Delete cached data on startup
  CLEANSLATE: false

  # Specify the TMP directory.
  TmpDir: /tmp/SkywarnPlus

  # Write alert titles to /tmp/AUTOSKY/alerts.txt for Supermon backwards
compatibility.
  SupermonCompat: true

  # Enable test alert injection instead of calling the NWS API by setting
'INJECT' to 'True'.
  INJECT: false

  # List the test alerts to inject. Use a case-sensitive list. One alert
per line.
  INJECTALERTS:
  - Tornado Warning
  - Tornado Watch
  - Severe Thunderstorm Warning
Mason10198 commented 1 year ago

Ah, I see I failed to give you the correct command earlier.

To get the beginning of the log file, please run this:

head -n 50 /tmp/SkywarnPlus/SkywarnPlus.log

captdonm commented 1 year ago

ok here's that....

@._pi SkywarnPlus]# head -n 50 /tmp/SkywarnPlus/SkywarnPlus.log 2023-06-28 09:41:17,241 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 09:41:17,242 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 09:41:17,243 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 09:41:17,244 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 09:41:17,244 DEBUG Global Blocked events: [] 2023-06-28 09:41:17,246 DEBUG SayAlert Blocked events: [] 2023-06-28 09:41:17,246 DEBUG Tailmessage Blocked events: [] 2023-06-28 09:41:17,247 DEBUG getAlerts: Current time: 2023-06-28 13:41:17.247352+00:00 2023-06-28 09:41:17,248 DEBUG getAlerts: Using onset time for alerting 2023-06-28 09:41:18,211 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 09:41:18,909 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 09:41:18,915 DEBUG No change in alerts 2023-06-28 09:42:02,543 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 09:42:02,545 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 09:42:02,545 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 09:42:02,546 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 09:42:02,547 DEBUG Global Blocked events: [] 2023-06-28 09:42:02,548 DEBUG SayAlert Blocked events: [] 2023-06-28 09:42:02,549 DEBUG Tailmessage Blocked events: [] 2023-06-28 09:42:02,549 DEBUG getAlerts: Current time: 2023-06-28 13:42:02.549738+00:00 2023-06-28 09:42:02,551 DEBUG getAlerts: Using onset time for alerting 2023-06-28 09:42:03,305 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 09:42:03,994 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 09:42:03,999 DEBUG No change in alerts 2023-06-28 09:43:02,621 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 09:43:02,623 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 09:43:02,623 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 09:43:02,624 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 09:43:02,625 DEBUG Global Blocked events: [] 2023-06-28 09:43:02,626 DEBUG SayAlert Blocked events: [] 2023-06-28 09:43:02,626 DEBUG Tailmessage Blocked events: [] 2023-06-28 09:43:02,627 DEBUG getAlerts: Current time: 2023-06-28 13:43:02.627671+00:00 2023-06-28 09:43:02,629 DEBUG getAlerts: Using onset time for alerting 2023-06-28 09:43:03,439 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 09:43:04,100 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 09:43:04,105 DEBUG No change in alerts 2023-06-28 09:44:02,731 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 09:44:02,733 DEBUG Temporary directory: /tmp/SkywarnPlus 2023-06-28 09:44:02,734 DEBUG Sounds path: /usr/local/bin/SkywarnPlus/SOUNDS 2023-06-28 09:44:02,734 DEBUG Tailmessage path: /tmp/SkywarnPlus/wx-tail.wav 2023-06-28 09:44:02,735 DEBUG Global Blocked events: [] 2023-06-28 09:44:02,736 DEBUG SayAlert Blocked events: [] 2023-06-28 09:44:02,737 DEBUG Tailmessage Blocked events: [] 2023-06-28 09:44:02,738 DEBUG getAlerts: Current time: 2023-06-28 13:44:02.738137+00:00 2023-06-28 09:44:02,739 DEBUG getAlerts: Using onset time for alerting 2023-06-28 09:44:03,585 DEBUG getAlerts: Checking for alerts in MIC099 at URL: https://api.weather.gov/alerts/active?zone=MIC099 2023-06-28 09:44:04,344 DEBUG getAlerts: Checking for alerts in MIC147 at URL: https://api.weather.gov/alerts/active?zone=MIC147 2023-06-28 09:44:04,349 DEBUG No change in alerts 2023-06-28 09:45:02,964 DEBUG Base directory: /usr/local/bin/SkywarnPlus 2023-06-28 09:45:02,966 DEBUG Temporary directory: /tmp/SkywarnPlus @._pi SkywarnPlus]#

On Wed, Jun 28, 2023 at 10:29 AM Mason10198 @.***> wrote:

Ah, I see I failed to give you the correct command earlier.

To get the beginning of the log file, please run this:

head -n 50 /tmp/SkywarnPlus/SkywarnPlus.log

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611525382, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCLIZC2TXIA3XRVYAFDXNQ5TBANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

Mason10198 commented 1 year ago

Me and Don have discovered that in his case, the current Air Quality Alert has the value "ends": null. This is causing an exception in SkywarnPlus as it is attempting to locate a valid end time and is not able to find one.

Will implement a fix in v0.3.1 soon.

Mason10198 commented 1 year ago

A fix for this has been implemented in v0.3.1. Please update to the new version and this issue should be resolved. https://github.com/Mason10198/SkywarnPlus/releases/tag/v0.3.1

captdonm commented 1 year ago

Awesome thanks! I'll give it a try now!

On Wed, Jun 28, 2023, 1:03 PM Mason10198 @.***> wrote:

A fix for this has been implemented in v0.3.1. Please update to the new version and this issue should be resolved. https://github.com/Mason10198/SkywarnPlus/releases/tag/v0.3.1

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611784350, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCPNGNDWKVV5DTACSE3XNRPW3ANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

captdonm commented 1 year ago

ok i noticed thats not a zip file like the install file. Im just learning all this allstar stuff How I update it while in the skywarm dir? Is there a command to do that? sorry for so many questions

On Wed, Jun 28, 2023 at 1:03 PM Mason10198 @.***> wrote:

A fix for this has been implemented in v0.3.1. Please update to the new version and this issue should be resolved. https://github.com/Mason10198/SkywarnPlus/releases/tag/v0.3.1

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611784350, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCPNGNDWKVV5DTACSE3XNRPW3ANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

Mason10198 commented 1 year ago

It is a ZIP file. Just follow the install instructions for the download. The URL used in the install instructions automatically points to the latest version.

captdonm commented 1 year ago

ok thanks!

On Wed, Jun 28, 2023 at 1:31 PM Mason10198 @.***> wrote:

It is a ZIP file. Just follow the install instructions for the download. The URL used in the install instructions automatically points to the latest version.

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611819438, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCOYYCPTQ4RU3X7PP5TXNRTAVANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

captdonm commented 1 year ago

works! Thanks again!!!

On Wed, Jun 28, 2023 at 1:34 PM Cpt Don Mc Jr. @.***> wrote:

ok thanks!

On Wed, Jun 28, 2023 at 1:31 PM Mason10198 @.***> wrote:

It is a ZIP file. Just follow the install instructions for the download. The URL used in the install instructions automatically points to the latest version.

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611819438, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCOYYCPTQ4RU3X7PP5TXNRTAVANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

captdonm commented 1 year ago

so question.... should this repeat the Air Quality Alert? cause it doesn't. I may be mis-understanding what that command does

cmd,/usr/local/bin/SkywarnPlus/SkyControl.py sayalert toggle

On Wed, Jun 28, 2023 at 1:41 PM Cpt Don Mc Jr. @.***> wrote:

works! Thanks again!!!

On Wed, Jun 28, 2023 at 1:34 PM Cpt Don Mc Jr. @.***> wrote:

ok thanks!

On Wed, Jun 28, 2023 at 1:31 PM Mason10198 @.***> wrote:

It is a ZIP file. Just follow the install instructions for the download. The URL used in the install instructions automatically points to the latest version.

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611819438, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCOYYCPTQ4RU3X7PP5TXNRTAVANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>

Mason10198 commented 1 year ago

That command simply turns on/off the ability for SWP to announce alerts. You want to leave it "on".

Message repeating after the initial message comes from tailmessages. You need to make sure you have tailmessages set up correctly. Lots of information out there on tailmessages with HAMVOIP/ASL.

captdonm commented 1 year ago

ok i ran that command a few times and it just gave a tone I hope I didn't turn it off....ugh Im pretty sure my tailmessages are set up correctly as i have a few custom ones that announce

On Wed, Jun 28, 2023 at 1:55 PM Mason10198 @.***> wrote:

That command simply turns on/off the ability for SWP to announce alerts. You want to leave it "on".

Message repeating after the initial message comes from tailmessages. You need to make sure you have tailmessages set up correctly. Lots of information out there on tailmessages with HAMVOIP/ASL.

— Reply to this email directly, view it on GitHub https://github.com/Mason10198/SkywarnPlus/issues/28#issuecomment-1611848339, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6MSZCNWMVGGH7YXY3J2KJDXNRV2PANCNFSM6AAAAAAZR5AZXA . You are receiving this because you authored the thread.Message ID: @.***>