kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Merge pull request #897 from darksidelemm/testing
Fix uploading of PS15 telemetry to Sondehubpull/898/head
commit
d2c9af427b
|
@ -12,7 +12,7 @@ from queue import Queue
|
|||
# MINOR - New sonde type support, other fairly big changes that may result in telemetry or config file incompatability issus.
|
||||
# PATCH - Small changes, or minor feature additions.
|
||||
|
||||
__version__ = "1.7.4-beta2"
|
||||
__version__ = "1.7.4-beta3"
|
||||
|
||||
# Global Variables
|
||||
|
||||
|
|
|
@ -168,6 +168,18 @@ class SondehubUploader(object):
|
|||
# for our packets to pass the Sondehub z-check.
|
||||
self.slower_uploads = True
|
||||
|
||||
elif telemetry["type"] == "PS15":
|
||||
_output["manufacturer"] = "Graw"
|
||||
_output["type"] = "PS-15"
|
||||
_output["subtype"] = "PS-15"
|
||||
_output["serial"] = telemetry["id"].split("-")[1]
|
||||
if "dfmcode" in telemetry:
|
||||
_output["dfmcode"] = telemetry["dfmcode"]
|
||||
|
||||
# We are handling DFM packets. We need a few more of these in an upload
|
||||
# for our packets to pass the Sondehub z-check.
|
||||
self.slower_uploads = True
|
||||
|
||||
elif telemetry["type"].startswith("M10") or telemetry["type"].startswith("M20"):
|
||||
_output["manufacturer"] = "Meteomodem"
|
||||
_output["type"] = telemetry["type"]
|
||||
|
|
Ładowanie…
Reference in New Issue