You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a problem in the detection part of the script. If a Station calls "CQ POTA xyz" than "POTA" will be the caller which is never matching any POTA-Activator call. Same for OMs calling "CQ DX xyz". Maybe you could also match part "2" of the wsjtx split message?
vy73,
Karl, DD7KT
The text was updated successfully, but these errors were encountered:
Thank you for the bug report! In fairness, this was more meant as a proof of concept, so it's not something I'm actively working on. Nevertheless, the fix ought to be easily implemented, so I might as well make one.
If you have the opportunity to do so, could you check if the following change fixes the issue? I'm not really in a position to hunt at the moment.
diff --git a/potassium/__init__.py b/potassium/__init__.py
index c740949..99a5ee5 100755
--- a/potassium/__init__.py
+++ b/potassium/__init__.py
@@ -24,6 +24,8 @@ while True:
if type(decoded_packet) == pywsjtx.DecodePacket:
try:
caller = decoded_packet.message.split()[1].translate(str.maketrans("", "", "<>"))
+ if caller in ["POTA", "DX"]:
+ caller = decoded_packet.message.split()[2].translate(str.maketrans("", "", "<>"))
except IndexError:
print("DEBUG: Can't split payload: {}".format(decoded_packet.message))
continue
Thank you so much for this script!
I found a problem in the detection part of the script. If a Station calls "CQ POTA xyz" than "POTA" will be the caller which is never matching any POTA-Activator call. Same for OMs calling "CQ DX xyz". Maybe you could also match part "2" of the wsjtx split message?
vy73,
Karl, DD7KT
The text was updated successfully, but these errors were encountered: