Skip to content

Commit

Permalink
Merge pull request #885 from darksidelemm/testing
Browse files Browse the repository at this point in the history
Change PN9 variant sonde type name to WxR-301D-5k so it fits on the t…
  • Loading branch information
darksidelemm authored Jun 2, 2024
2 parents dd8a658 + 9cdc2cd commit 228910e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion auto_rx/autorx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# 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.3-beta13"
__version__ = "1.7.3-beta14"


# Global Variables
Expand Down
4 changes: 2 additions & 2 deletions auto_rx/autorx/sondehub.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ def reformat_data(self, telemetry):
# Double check for the subtype being present, just in case...
if "subtype" in telemetry:
if telemetry["subtype"] == "WXR_PN9":
_output["type"] = "WxR-301D (PN9)"
_output["subtype"] = "WxR-301D-5k"

elif telemetry["type"] == "WXRPN9":
_output["manufacturer"] = "Weathex"
_output["type"] = "WxR-301D (PN9)"
_output["type"] = "WxR-301D-5k"
_output["serial"] = telemetry["id"].split("-")[1]

else:
Expand Down

0 comments on commit 228910e

Please sign in to comment.