mirror of
https://github.com/hemna/aprsd-weewx-plugin.git
synced 2024-12-11 17:35:45 -05:00
another try
This commit is contained in:
parent
6c1ae8202d
commit
e4904f6d56
@ -1,6 +1,11 @@
|
||||
CHANGES
|
||||
=======
|
||||
|
||||
v0.3.1
|
||||
------
|
||||
|
||||
* Updated pressure \* 10
|
||||
|
||||
v0.3.0
|
||||
------
|
||||
|
||||
|
@ -317,8 +317,9 @@ class WeewxWXAPRSThread(threads.APRSDThread):
|
||||
rain_last_24_hrs = float(wx_data.get("rain24_in", 0.00))
|
||||
rain_since_midnight = float(wx_data.get("day_Rain_in", 0.00))
|
||||
humidity = float(wx_data.get("outHumidity", 0.00))
|
||||
# inHg * 330.863886667 = mBar
|
||||
pressure = float(wx_data.get("pressure_inHg", 0.00)) * 330.863886667
|
||||
# * 330.863886667
|
||||
# inHg * 33.8639 = mBar
|
||||
pressure = float(wx_data.get("pressure_inHg", 0.00)) * 33.8639 * 10
|
||||
return aprsd.packets.WeatherPacket(
|
||||
from_call=self.callsign,
|
||||
to_call="APRS",
|
||||
|
Loading…
Reference in New Issue
Block a user