mirror of
https://github.com/weewx/weewx.git
synced 2026-04-19 17:16:56 -04:00
Fixed bug in drivers/vantage.py that causes below sea-level altitudes to be read as a large positive number.
This commit is contained in:
5
TODO.txt
5
TODO.txt
@@ -1,5 +1,6 @@
|
||||
Should the archive file be backed up before adding the daily summaries?
|
||||
- Probably.
|
||||
Links to Wunderfixer seem to have gotten lost on the website.
|
||||
|
||||
wee_config_device --dump should be able to dump to a metric units database.
|
||||
|
||||
See if it is possible to make cheetahgenerator not require a default wx_binding
|
||||
|
||||
|
||||
@@ -1088,7 +1088,7 @@ class Vantage(weewx.drivers.AbstractDevice):
|
||||
setup_bits = self._getEEPROM_value(0x2B)[0]
|
||||
self.rain_year_start = self._getEEPROM_value(0x2C)[0]
|
||||
self.archive_interval_ = self._getEEPROM_value(0x2D)[0] * 60
|
||||
self.altitude = self._getEEPROM_value(0x0F, "<H")[0]
|
||||
self.altitude = self._getEEPROM_value(0x0F, "<h")[0]
|
||||
self.altitude_vt = weewx.units.ValueTuple(self.altitude, "foot", "group_altitude")
|
||||
|
||||
barometer_unit_code = unit_bits & 0x03
|
||||
|
||||
@@ -8,6 +8,9 @@ installs.
|
||||
|
||||
Added a wait-and-check to the stop option in the weewx.debian rc script.
|
||||
|
||||
Fixed bug in the Vantage driver that causes below sea-level altitudes
|
||||
to be read as a large positive number.
|
||||
|
||||
|
||||
3.0.1 12/07/14
|
||||
|
||||
|
||||
Reference in New Issue
Block a user