dan,

it is quite possible that the driver is coded incorrectly.  luc and i did 
the development and testing of the ws28xx driver, and all three locations 
were within 200 feet of sea level.  so it is quite possible that the device 
reports barometer, not pressure.  (if the device reports barometer, then it 
must have some way for a user to calibrate it, and i do not recall whether 
that is an explicit altitude or if it is an adjustment to the sensor output)

anyway, just change 'pressure' to 'barometer' in the driver, then restart 
weewx.  there are two places where this happens - one for loop data, one 
for historical data.

for loop data, change this:

        packet['pressure']    = get_datum_diff(data._PressureRelative_hPa,

to this:

        packet['barometer']    = get_datum_diff(data._PressureRelative_hPa,

for historical data, change this:

'pressure': self.PressureRelative,

to this:

'barometer': self.PressureRelative,



-- 
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/631aff67-68e6-4921-a821-fd78aa037a8d%40googlegroups.com.

Reply via email to