From 9cdc2cd3b0fed48a323a962b1581e87fc2685010 Mon Sep 17 00:00:00 2001 From: Mark Jessop Date: Sun, 2 Jun 2024 09:36:04 +0930 Subject: [PATCH] Change PN9 variant sonde type name to WxR-301D-5k so it fits on the tracker sonde list. --- auto_rx/autorx/__init__.py | 2 +- auto_rx/autorx/sondehub.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/auto_rx/autorx/__init__.py b/auto_rx/autorx/__init__.py index e2a0fda1..2d1ddcc0 100644 --- a/auto_rx/autorx/__init__.py +++ b/auto_rx/autorx/__init__.py @@ -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 diff --git a/auto_rx/autorx/sondehub.py b/auto_rx/autorx/sondehub.py index e5137dd3..804a9250 100644 --- a/auto_rx/autorx/sondehub.py +++ b/auto_rx/autorx/sondehub.py @@ -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: