not1mm 24.9.10__py3-none-any.whl → 24.9.10.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
not1mm/lib/ft8_watcher.py CHANGED
@@ -23,9 +23,22 @@ class FT8Watcher:
23
23
  def __init__(self, *args, **kwargs):
24
24
  """Initialize"""
25
25
  super().__init__(*args, **kwargs)
26
- self.callback = None
26
+ self.multicast_group = "224.0.0.1"
27
+ self.multicast_port = 2237
28
+ self.interface_ip = "0.0.0.0"
27
29
  self.udp_socket = QtNetwork.QUdpSocket()
28
- self.udp_socket.bind(QtNetwork.QHostAddress.SpecialAddress.LocalHost, 2237)
30
+ b_result = self.udp_socket.bind(
31
+ QtNetwork.QHostAddress.SpecialAddress.AnyIPv4,
32
+ int(self.multicast_port),
33
+ QtNetwork.QAbstractSocket.BindFlag.ReuseAddressHint,
34
+ )
35
+ logger.info(f"multicast bind {b_result}")
36
+ join_result = self.udp_socket.joinMulticastGroup(
37
+ QtNetwork.QHostAddress(self.multicast_group)
38
+ )
39
+ logger.info(f"joinMulticastGroup result {join_result}")
40
+
41
+ self.callback = None
29
42
  self.udp_socket.readyRead.connect(self.on_udp_socket_ready_read)
30
43
 
31
44
  def set_callback(self, callback):
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.9.10"
3
+ __version__ = "24.9.10.1"
@@ -476,8 +476,6 @@ def ft8_handler(the_packet: dict):
476
476
 
477
477
  """
478
478
  logger.debug(f"{the_packet=}")
479
- print(f"{the_packet=}\n")
480
- print(f"{ALTEREGO.contact=}\n")
481
479
  if ALTEREGO is not None:
482
480
  ALTEREGO.callsign.setText(the_packet.get("CALL"))
483
481
  ALTEREGO.contact["Call"] = the_packet.get("CALL", "")
@@ -502,7 +500,6 @@ def ft8_handler(the_packet: dict):
502
500
  str(int(float(the_packet.get("FREQ", "0.0")) * 1000000))
503
501
  )
504
502
  logger.debug(f"{ALTEREGO.contact=}")
505
- print(f"{ALTEREGO.contact=}\n")
506
503
  ALTEREGO.other_1.setText(my_grid)
507
504
  ALTEREGO.other_2.setText(their_grid)
508
505
  ALTEREGO.save_contact()
@@ -444,8 +444,6 @@ def ft8_handler(the_packet: dict):
444
444
 
445
445
  """
446
446
  logger.debug(f"{the_packet=}")
447
- print(f"{the_packet=}\n")
448
- print(f"{ALTEREGO.contact=}\n")
449
447
  if ALTEREGO is not None:
450
448
  ALTEREGO.callsign.setText(the_packet.get("CALL"))
451
449
  ALTEREGO.contact["Call"] = the_packet.get("CALL", "")
@@ -470,7 +468,6 @@ def ft8_handler(the_packet: dict):
470
468
  str(int(float(the_packet.get("FREQ", "0.0")) * 1000000))
471
469
  )
472
470
  logger.debug(f"{ALTEREGO.contact=}")
473
- print(f"{ALTEREGO.contact=}\n")
474
471
  ALTEREGO.other_1.setText(my_grid)
475
472
  ALTEREGO.other_2.setText(their_grid)
476
473
  ALTEREGO.save_contact()
@@ -444,8 +444,6 @@ def ft8_handler(the_packet: dict):
444
444
 
445
445
  """
446
446
  logger.debug(f"{the_packet=}")
447
- print(f"{the_packet=}\n")
448
- print(f"{ALTEREGO.contact=}\n")
449
447
  if ALTEREGO is not None:
450
448
  ALTEREGO.callsign.setText(the_packet.get("CALL"))
451
449
  ALTEREGO.contact["Call"] = the_packet.get("CALL", "")
@@ -470,7 +468,6 @@ def ft8_handler(the_packet: dict):
470
468
  str(int(float(the_packet.get("FREQ", "0.0")) * 1000000))
471
469
  )
472
470
  logger.debug(f"{ALTEREGO.contact=}")
473
- print(f"{ALTEREGO.contact=}\n")
474
471
  ALTEREGO.other_1.setText(my_grid)
475
472
  ALTEREGO.other_2.setText(their_grid)
476
473
  ALTEREGO.save_contact()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.9.10
3
+ Version: 24.9.10.1
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/mbridak/not1mm
@@ -229,6 +229,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
229
229
 
230
230
  ## Recent Changes
231
231
 
232
+ - [24-9-10-1] ft8_watcher now used default WSJT-X Multicast address and port.
232
233
  - [24-9-10] Add WSJT FT8/4 and fldigi support to ARRL VHF.
233
234
  - [24-9-9] Add IARU R1 Fieldday CW and SSB.
234
235
  - [24-9-8] Correct n1mm contact packet info.
@@ -615,8 +616,8 @@ appear. Those without will not.
615
616
 
616
617
  **FT8/FT4 Currently only working for ARRL Field Day.**
617
618
 
618
- not1mm listens for WSJT-X UDP traffic on the default localhost:2237. No setup is
619
- needed to be done on not1mm's side. That's good because I'm lazy.
619
+ not1mm listens for WSJT-X UDP traffic on the Multicast address 224.0.0.1:2237.
620
+ No setup is needed to be done on not1mm's side. That's good because I'm lazy.
620
621
 
621
622
  not1mm polls for fldigi QSOs via it's XMLRPC interface. It does this in a rather stupid
622
623
  way. It just keeps asking what was the last QSO and compares it to the previous response.
@@ -100,7 +100,7 @@ not1mm/lib/edit_macro.py,sha256=raKWBwsHInj5EUKmvyLQ6gqc3ZFDlstsD3xqoM4PC8E,517
100
100
  not1mm/lib/edit_opon.py,sha256=j3qJ1aBsQoIOnQ9yiBl3lyeISvKTP0I_rtBYBPAfgeI,359
101
101
  not1mm/lib/edit_station.py,sha256=doL21Hs6jzIE43ohAopdFt_iqnRJZHFcqzcnCS0-iio,1965
102
102
  not1mm/lib/fldigi_watcher.py,sha256=k_fAaJLdt4mwyKKnpiZrV-rSFtRbi2C8y1Dg3eyILIU,883
103
- not1mm/lib/ft8_watcher.py,sha256=M9R5OUs3i99u3IfKnv1KYIMfljPViSbk-VeyjsVQLp4,4100
103
+ not1mm/lib/ft8_watcher.py,sha256=npHTjO5mtg3lvYSK6G8BEMMrtZ_1M5xM6Q8NnEQ6MlI,4585
104
104
  not1mm/lib/ham_utility.py,sha256=uRErxCxZr8dfxzekPyett0e_BABDVOCvSUUTzXq6ctE,11790
105
105
  not1mm/lib/lookup.py,sha256=F2fl5QkMxaGSxl1XMWnLUub3T9Mt7LhCX4acOlAsks4,13952
106
106
  not1mm/lib/multicast.py,sha256=bnFUNHyy82GmIb3_88EPBVVssj7-HzkJPaH671cK8Qw,3249
@@ -111,7 +111,7 @@ not1mm/lib/plugin_common.py,sha256=yefvcX61fXSjs__OPssJqVlZyg1AlcV1VDkl2MQP6kk,9
111
111
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
112
112
  not1mm/lib/settings.py,sha256=MWiKXbasaFbzeHTjfzTaTqbCBrIijudP_-0a5jNmUAA,9265
113
113
  not1mm/lib/super_check_partial.py,sha256=p5l3u2ZOCBtlWgbvskC50FpuoaIpR07tfC6zTdRWbh4,2334
114
- not1mm/lib/version.py,sha256=g9qUOojshxk6H9MHOY9cNBQIaNsbEiy9QSMcnLMnj9o,48
114
+ not1mm/lib/version.py,sha256=FsT8NybU1I3-e0Sd5gaO4VWJIKAAhZz4pg_TeHhi4bY,50
115
115
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
116
116
  not1mm/plugins/10_10_fall_cw.py,sha256=IttjX1yy4nDdACGsiYlPteFG8eVseX_WtoFio6bqHE8,10953
117
117
  not1mm/plugins/10_10_spring_cw.py,sha256=ThCptdM3dX4ywhoy2JRcOEyHSqcJolFaT7O_PYzM1Mg,10958
@@ -125,9 +125,9 @@ not1mm/plugins/arrl_field_day.py,sha256=pivtEK5j9sLpta12_wuUQYvs7MuiP3JfhlO-AOID
125
125
  not1mm/plugins/arrl_rtty_ru.py,sha256=hKUS4isjdXo3EYxQrsqsDupPp2chW8fpoWj0T1pTgJ4,7994
126
126
  not1mm/plugins/arrl_ss_cw.py,sha256=4yN68xZMuJRaSUfdiY4hafC07A3lifl5q6DEUZ-oYPQ,13080
127
127
  not1mm/plugins/arrl_ss_phone.py,sha256=Yzc5sNjrY8TlnozbYF6k8hbEamyDuUAD_3-BNqHgXqY,13068
128
- not1mm/plugins/arrl_vhf_jan.py,sha256=pxaeIa2gcBB6XI8ktFHoFdUsx4t6dnGcp6CjTwniNFs,15716
129
- not1mm/plugins/arrl_vhf_jun.py,sha256=_nyyBaYK90NzwcFerPlkK3dNkt8H-ZCjRpkk8v2lZiE,14735
130
- not1mm/plugins/arrl_vhf_sep.py,sha256=klak5es7_GtDscsi90A_0CmAdALCYeTNOtGDUypsHi8,14735
128
+ not1mm/plugins/arrl_vhf_jan.py,sha256=8unKMzQFLGovp_nwhwb-CQoTcrdybhO5ezy15-pup7Q,15610
129
+ not1mm/plugins/arrl_vhf_jun.py,sha256=81of8nIKvmYoDdDA7ZA6xwaHIUhbKayutNWwrcyUGOo,14629
130
+ not1mm/plugins/arrl_vhf_sep.py,sha256=4d4P6OSFHkEoheAjCrzrmR-2eOXH98FCyj-YXVBd2ks,14629
131
131
  not1mm/plugins/canada_day.py,sha256=OVpcCl1Chse_zLHf6PayTrgawWM4W-pmrTw40Al-o9s,11998
132
132
  not1mm/plugins/cq_160_cw.py,sha256=5s6rIZdJEnmWe1SI06BEyz7p5vP0N2n9mI4l_mZ0icw,14139
133
133
  not1mm/plugins/cq_160_ssb.py,sha256=zIwSMAjHSt6W2edrDzVbyTf860JowHoFkU9BKO8Enag,14182
@@ -152,9 +152,9 @@ not1mm/plugins/ref_cw.py,sha256=aWjHHkqIKutjRUtzh09y5haFfnZK9poRQDWRQMDRxxU,1632
152
152
  not1mm/plugins/stew_perry_topband.py,sha256=CKBQbYl4ETxhXJd2dma4fg_C5pag_s7Nf61SCztZtqE,10668
153
153
  not1mm/plugins/weekly_rtty.py,sha256=DQcy3SY0Zn56EdlYGf3NxrRhTnkNa5IqRQPRQdKDSPs,14255
154
154
  not1mm/plugins/winter_field_day.py,sha256=4rcfRtobwjHO6BNL3WOTHzBmyyeuX79BNGBG8PfjrI8,10238
155
- not1mm-24.9.10.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
156
- not1mm-24.9.10.dist-info/METADATA,sha256=hBXp2P_yEb6rzjCXG7JIYLL6FPVwjyunMxMeuGWdVwg,30624
157
- not1mm-24.9.10.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
158
- not1mm-24.9.10.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
159
- not1mm-24.9.10.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
160
- not1mm-24.9.10.dist-info/RECORD,,
155
+ not1mm-24.9.10.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
156
+ not1mm-24.9.10.1.dist-info/METADATA,sha256=01uc-_drLCMliBrL12Y_2neEEpRBMnU-754H0O6Wucc,30714
157
+ not1mm-24.9.10.1.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
158
+ not1mm-24.9.10.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
159
+ not1mm-24.9.10.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
160
+ not1mm-24.9.10.1.dist-info/RECORD,,