Just to be clear about relbarometer. Ecowitt gateway devices provide two 
pressure values, the first is what Ecowitt refers to as *absolute barometer* 
which is what we know as gauge or station pressure (what the driver refers 
to as absbarometer and what WeeWX knows as the WeeWX field pressure), the 
second is what Ecowitt refers to as *relative barometer*. *relative 
barometer* (what the driver knows as relbarometer) is an approximation to 
barometric pressure (what WeeWX knows as WeeWX field barometer) as it does 
not correct for temperature. The default mapping used by the Ecowitt 
gateway driver is to map the device absbarometer field to the WeeWX field 
pressure, the device field relbarometer is not mapped to WeeWX field 
barometer, rather it is mapped (or passed through) as relbarometer (this 
way WeeWX calculates barometer using a more sophisticated formula that does 
compensate for temperature and altitude and at the same time gives the user 
access to the Ecowitt approximated *relative barometer* field). The price 
you pay for this is that WeeWX needs 12 hours of pressure data before it 
can calculate barometer. Since barometric pressure is what most weather 
reports use and also what most folks display on web pages, you probably 
don't want to display pressure or relbarometer, just be patient and 
barometer will appear once you have 12 hours of pressure data.

You may find the WeeWX wiki page What is the difference between barometer, 
pressure and altimeter ? 
<https://github.com/weewx/weewx/wiki/Barometer,-pressure,-and-altimeter> 
provides useful background.

By all means adjust the Ecowitt relative barometer value to suit, though 
for all intents and purposes this value is only used by Ecowitt, it is not 
used by WeeWX.

In terms of extraTemp9, Vince is correct in that this is your first WN34x 
sensor temperature data. This is indeed by design. The Ecowitt gateway 
devices support many different sensor types and then on top of this 
multiple sensors (or channels) of most types. The driver could certainly 
attempt to automatically map these sensors/channels to the fields in the 
WeeWX schema, but this would have lead to some quite complex code as well 
as causing a support nightmare. Instead I decided to default map sensors to 
a fixed WeeWX field (eg the first WN34 channel is always mapped to 
extraTemp9) and give the user the ability to alter this default mapping by 
defining a new field map or extending/altering the existing field map. In 
the OPs case WeeWX is most likely using the wview_extended schema which 
only includes extraTemp1 to extraTemp8. You essentially have two options; 
either change the default mapping to map the WN34 data to some other WeeWX 
field in the wview_extended schema (using a [[field_map_extensions]] entry) 
or adding the extraTemp9 field to the database. In either case you may or 
may not need to make changes to the [DisplayOptions] stanza in the Seasons 
skin config file (skin.conf). Just remember, for WeeWX to save data to 
database two basic conditions must be met; first the data must exist in a 
field in WeeWX generated archive records and second the same field name 
must exist in the in-use database schema.

A similar situation exists with sensor battery and signal state data as 
does with extraTemp9, though is the case of sensor battery stay and signal 
data the field names used in the default field map are more self evident 
due to the use of sensor model and channel number in the field name in most 
cases.

The Ecowitt gateway driver wiki is far from complete, but if your system 
includes more than just the gateway device and an x-in-1 sensor suite I 
would suggest you become very familiar with the default field map used by 
the driver. This is covered on the Field map page 
<https://github.com/gjr80/weewx-gw1000/wiki/Field-map> in the driver wiki.

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/651965b7-f7f2-43eb-8ea6-803deb8c2c51n%40googlegroups.com.

Reply via email to