Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change PN9 variant sonde type name to WxR-301D-5k so it fits on the t… #885

Merged
merged 1 commit into from
Jun 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading