svxlink icon indicating copy to clipboard operation
svxlink copied to clipboard

ModulePropagationMonitor no longer announces openings.

Open MidwestTechnologies opened this issue 2 years ago • 1 comments

A while back, I noticed that ModulePropagationMonitor stopped announcing band openings on my svxlink system. The only thing that has changed is that dxmaps has added identifiers to each email subject, such as the following:

Multi-hop sporadic-E opening on 6m. (id=XLByD1)

This results in a warning such as the following from the log: PropagationMonitor: ***WARNING: Unknown VHFDX alert encountered in /usr/var/spool/svxlink/propagation_monitor/vhfdx/msg.-WgB: Sporadic-E opening on 6m. Best estimated MUF 85 MHz above DM05 (id=90YabL)

So PropagationMonitor is reading this id as an unknown dx alert.

The ID changes but is always six characters long, alphanumeric, and both cases. Is there a way to modify line 123 of ModulePropagationModule.tcl that is currently:

if [regexp {^Subject: (.*)$} $line -> subject] {

to match the entire subject except for the id? My knowledge of regexp in tcl is lacking. Thank you for your help.

Clint, KC9S

MidwestTechnologies avatar Jun 07 '22 21:06 MidwestTechnologies

Looks like I found a solution although it may not be the most elegant. I had to study tcl for a while.

I added the following to the end of each propagation alert type in the vhfdx section of ModulePropagationMonitor.tcl: \((.*)\)

For example, line 173 of ModulePropagationMonitor is now: {^Sporadic-E opening on (\d+c?m)\. Best estimated MUF (\d+) MHz above (\w\w\d\d) \((.*)\)$} \

This essentially allows for anything in parentheses at the end of the message subject to pass. I have tested it with nearly every type of propagation alert that I had in my archive.

Could this be added to the next release? Please see attached.

Thanks.

Clint, KC9S ModulePropagationMonitor.zip

MidwestTechnologies avatar Jun 13 '22 03:06 MidwestTechnologies

My changes were made in vain. The id numbers have been eliminated from the subject line. Strange.

So please use the original ModulePropagationModule file without any changes.

Clint, KC9S

MidwestTechnologies avatar Oct 14 '22 16:10 MidwestTechnologies