Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allmon3 showing incorrect mode(s) when placing node into Monitor #260

Open
KD5KNR opened this issue Nov 5, 2024 · 7 comments
Open

Allmon3 showing incorrect mode(s) when placing node into Monitor #260

KD5KNR opened this issue Nov 5, 2024 · 7 comments
Assignees
Labels
bug Something isn't working waiting_on_user

Comments

@KD5KNR
Copy link

KD5KNR commented Nov 5, 2024

Describe the bug
Using iaxRpt as the primary connection to a node, if one connects another node into Monitor Mode, Allmon3 will show all connections as being in Monitor mode. But when one runs "rpt xnode " the response in RPT_ALINKS shows the iaxRPT node is in Transcieve mode (which it should be).

Also, if one changes a node to "Local Monitor" the mode for that node is displayed as UNSET and is not heard by anything.

Expected behavior

  1. Nodes that are in Transceive should remain in Tranceive, recardless of the settings of other nodes.
  2. Nodes specifically placed into Monitor Mode should be changed appropriately. Placing any one node into Monitor Mode should not change or affect any other nodes.
  3. Changing a node to Local Monitor should change any other node, just the one being changed to Local Monitor.

Screenshots
image

Output from "rpt xnode 451050"
RPT_TXKEYED=0
RPT_NUMLINKS=20
RPT_LINKS=20,TKD5KNR,R516220,R3372418,RKB5GLV,R473543,RKD5KNR,RKB5GLV,RWD5M,R590981,RKB5GLV,RWD5M,RWD5M,R473542,RWD5M,RKB5GLV,RKD5KNR,R473541,RWD5M,RKB5GLV,RKD5KNR
RPT_NUMALINKS=2
RPT_ALINKS=2,KD5KNRTU,516220RU
RPT_ETXKEYED=0
RPT_RXKEYED=0
RPT_AUTOPATCHUP=0

Version Info
Allmon v3 1.4.1

@KD5KNR KD5KNR added the bug Something isn't working label Nov 5, 2024
@jxmx
Copy link
Member

jxmx commented Nov 5, 2024

if one changes a node to "Local Monitor" the mode for that node is displayed as UNSET and is not heard by anything.

I"m not sure what you mean by this? Are you talking about an Allmon3 display issue or are you talking about a functional issue with app_rpt?

@KD5KNR
Copy link
Author

KD5KNR commented Nov 5, 2024 via email

@jxmx
Copy link
Member

jxmx commented Nov 5, 2024

Ok. THanks for the clarification. I'll do some testing. The Local Monitor mode is not commonly used.

@KD5KNR
Copy link
Author

KD5KNR commented Nov 5, 2024 via email

@wd5m
Copy link

wd5m commented Nov 5, 2024

Billy and I volunteer together for the WX5FWD team. After looking at this further, the reason this occurs is because the node list returned in LinkedNodes from AMI includes nodes connected to adjacent connected nodes. Our IaxRpt client may be connected to both the monitoring hub, e.g. 516220, and remote base node(s), e.g. 473541, which is also connected to the hub node in monitor mode. This results in LinkedNodes containing multiple entries for our IaxRpt node(s), and those may have the "T" or "R" flag. We select the hub node in IaxRpt when monitoring multiple remote bases, then we select the desired remote base node on IaxRpt to transmit.

The RPT_ALINKS list of nodes only contains adjacent connected nodes. If the status flag is pulled from that list, it should display correctly in Allmon3. I modified Supermon locally to do exactly this, and it works. RPT_ALINKS is returned from AMI by "xstat", while LinkedNodes is returned by "sawstat".

As for the UNSET being displayed, nodes connected in Local Monitor mode are not included in the LinkedNodes or RPT_ALINKS lists. Perhaps change code to display "Local Monitor" instead of UNSET when the node connected but not found in the RPT_ALINKS/LinkedNodes list, and the mode is left unset ?

Thanks for your work on Allmon3!

Regards,
David McAnally, WD5M
WX5FWD SKYWARN Team

@jxmx
Copy link
Member

jxmx commented Nov 27, 2024

The connections table is built using the xstat AMI command with the value being set looping through the LinkedNodes attribute. It will not display adjacent nodes's links but there may be a special case for linking in loops. However the status will always follow a "last one wins" strategy if a node appears more than once. I'm not able to replicate your issue however.

@jxmx
Copy link
Member

jxmx commented Nov 27, 2024

When allmon3 is showing the weirst status, can you stop the allmon3 process and run it manually as allmon3 --debug and capture a few cycles of the output?

@jxmx jxmx self-assigned this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting_on_user
Projects
None yet
Development

No branches or pull requests

3 participants