mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
don't publish default callsign
This commit is contained in:
parent
21ccd4dde1
commit
6a352e63b7
1 changed files with 6 additions and 0 deletions
|
@ -45,6 +45,12 @@ class explorer():
|
||||||
beacon = str(self.states.is_beacon_running)
|
beacon = str(self.states.is_beacon_running)
|
||||||
strength = str(self.states.s_meter_strength)
|
strength = str(self.states.s_meter_strength)
|
||||||
|
|
||||||
|
# stop pushing if default callsign
|
||||||
|
if callsign in ['XX1XXX-6']:
|
||||||
|
# Reschedule the push method
|
||||||
|
self.scheduler.enter(self.publish_interval, 1, self.push)
|
||||||
|
return
|
||||||
|
|
||||||
log.info("[EXPLORER] publish", frequency=frequency, band=band, callsign=callsign, gridsquare=gridsquare, version=version, bandwidth=bandwidth)
|
log.info("[EXPLORER] publish", frequency=frequency, band=band, callsign=callsign, gridsquare=gridsquare, version=version, bandwidth=bandwidth)
|
||||||
|
|
||||||
headers = {"Content-Type": "application/json"}
|
headers = {"Content-Type": "application/json"}
|
||||||
|
|
Loading…
Reference in a new issue