kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Merge pull request #819 from darksidelemm/testing
Fixes for iMet+XDATA. Don't add -Ozone onto the end of types anymore.pull/820/head
commit
d2000ab339
|
@ -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.1-beta1"
|
||||
__version__ = "1.7.1-beta2"
|
||||
|
||||
|
||||
# Global Variables
|
||||
|
|
|
@ -1602,8 +1602,9 @@ class SondeDecoder(object):
|
|||
# which is most likely an Ozone sensor (though could be something different!)
|
||||
# We append -Ozone to the sonde type field to indicate this.
|
||||
# TODO: Decode device ID from aux field to indicate what the aux payload actually is?
|
||||
if "aux" in _telemetry:
|
||||
_telemetry["type"] += "-Ozone"
|
||||
# 2023-10 - disabled this addition. Can be too misleading. -XDATA now appended on the web interface only.
|
||||
# if "aux" in _telemetry:
|
||||
# _telemetry["type"] += "-Ozone"
|
||||
|
||||
# iMet Specific actions
|
||||
if self.sonde_type == "IMET":
|
||||
|
|
|
@ -719,6 +719,11 @@
|
|||
sonde_id_data.other += sonde_id_data.batt.toFixed(1) + " V";
|
||||
}
|
||||
|
||||
if (sonde_id_data.hasOwnProperty('aux')){
|
||||
sonde_id_data.type += "-XDATA";
|
||||
}
|
||||
|
||||
|
||||
telem_data.push(sonde_id_data);
|
||||
});
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue