Updated pressure * 10
This commit is contained in:
parent
1da5037f49
commit
6c1ae8202d
|
@ -1,9 +1,15 @@
|
||||||
CHANGES
|
CHANGES
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
v0.3.0
|
||||||
|
------
|
||||||
|
|
||||||
|
* Take the pressure from pressure\_inHg
|
||||||
|
|
||||||
v0.2.0
|
v0.2.0
|
||||||
------
|
------
|
||||||
|
|
||||||
|
* update for 0.2.0
|
||||||
* Fixed pep8 failures
|
* Fixed pep8 failures
|
||||||
* Update to aprsd 3.0.0 and include config options!
|
* Update to aprsd 3.0.0 and include config options!
|
||||||
* don't dump the whole packet
|
* don't dump the whole packet
|
||||||
|
|
|
@ -317,9 +317,8 @@ class WeewxWXAPRSThread(threads.APRSDThread):
|
||||||
rain_last_24_hrs = float(wx_data.get("rain24_in", 0.00))
|
rain_last_24_hrs = float(wx_data.get("rain24_in", 0.00))
|
||||||
rain_since_midnight = float(wx_data.get("day_Rain_in", 0.00))
|
rain_since_midnight = float(wx_data.get("day_Rain_in", 0.00))
|
||||||
humidity = float(wx_data.get("outHumidity", 0.00))
|
humidity = float(wx_data.get("outHumidity", 0.00))
|
||||||
# * 330.863886667
|
# inHg * 330.863886667 = mBar
|
||||||
# inHg * 33.8639 = mBar
|
pressure = float(wx_data.get("pressure_inHg", 0.00)) * 330.863886667
|
||||||
pressure = float(wx_data.get("pressure_inHg", 0.00)) * 33.8639
|
|
||||||
return aprsd.packets.WeatherPacket(
|
return aprsd.packets.WeatherPacket(
|
||||||
from_call=self.callsign,
|
from_call=self.callsign,
|
||||||
to_call="APRS",
|
to_call="APRS",
|
||||||
|
|
Loading…
Reference in New Issue