pwsweather enabled but no pressure

81 views
Skip to first unread message

S R

unread,
Mar 15, 2021, 5:29:49 PM3/15/21
to weewx-user

I have enabled pwsweather and it is receiving data, but it is reported as bad data because the pressure value is missing.

i have a Fine Offset WH2900c with EasyWeather v1.5.6 firmware.

I guess the pressure is not mapped the same?

S R

unread,
Mar 15, 2021, 6:26:22 PM3/15/21
to weewx-user
I see in interceptor.py pressure as mapped as follows;
            'baromabsin': 'pressure',
            'baromrelin' : 'altimeter',
I see in restx.py
            'barometer': 'baromin=%.3f',

i guess i need to override the PWS one with
baromrelin: baromin?

Am I able to do this in the weewx.conf?

gjr80

unread,
Mar 15, 2021, 6:49:34 PM3/15/21
to weewx-user
No. Two different things. What should be happening is the interceptor driver obtains what pressures it can from your station. Provided it obtains at least one of the three (pressure, altimeter and barometer) WeeWX will calculate any that are missing. The PWS uploader then takes WeeWX field barometer and uploads it as PWS field baromin.

I suggest you check that the interceptor driver is in fact obtaining at least one pressure from your station(maybe it is not and maybe that is why no pressure data is uploaded to PWS). You can do this in a number of ways you can run WeeWX directly and observe the loop packet and archive record contents or you can set debug = 1 in weewx.conf, restart WeeWX and observe the interceptor data in the log or you can run the interceptor driver directly (without WeeWX) and see what it returns.

Once you have confirmed that you have the required pressure data then worry about the PWS uploader.

Gary

S R

unread,
Mar 15, 2021, 7:10:18 PM3/15/21
to weewx-user
Hi Gary,

My system is successfully passing/receiving the below values. It has been running a couple of months already, I am just trying to enable PWS now.
            'baromabsin': 'pressure',
            'baromrelin' : 'altimeter',

I can see from a packet capture, the
baromin value being passed to PWS = baromrelin value.

So a value is being passed to PWS, but PWS "Observations" log is showing all values except the pressure value - which is missing and is most likely the reason for the Bad Data status

gjr80

unread,
Mar 15, 2021, 7:45:28 PM3/15/21
to weewx-user
So a pressure value is being uploaded to PWS Weather but it is being ignored/rejected. In that case there is either a problem within WeeWX (which could be the driver, the processing of the driver output by WeeWX or the upload to PWS Weather) or there is a problem with PWS Weather. Before looking at PWS Weather I would be tracing the pressure data from your station, through the interceptor driver, through WeeWX and then emitted by the uploader to ensure that the correct pressure data is being uploaded (you indicate that 'packet capture' indicates that baromrelin/altimeter data is being uploaded, since the PWS uploader uploads WeeWX field barometer this implies WeeWX field barometer is ending up with the same value as baromrelin/altimeter, that does not sound right to me). My previous post indicated how to monitor the data from your station into WeeWX. Setting debug = 2 in weewx.conf and restarting WeeWX will cause the PWS upload data to be included in the log.

Gary
Reply all
Reply to author
Forward
0 new messages