Fine Offset WH25: barometer values are received, but not shown in graphic

90 views
Skip to first unread message

Tomasz End

unread,
Sep 24, 2018, 2:25:27 PM9/24/18
to weewx-user
weewx 3.8.2
rtl_433 18.05

I can see that barometer readings from the WH25 are received via rtl_433 directly and via weewx syslog messages, but the values do not get plotted in the barometer graphs.
After 24h of weewx collecting data, all I get is an empty barometer graph:

http://rpi3/_media/raspi/weewx_wh25_no_barometer_shown.png?cache=

From syslog:
Sep 24 20:20:12 rpi3 weewx[26968]: sdr: MainThread: lines=['{"time" : "2018-09-24 18:20:09", "model" : "Fine Offset Electronics, WH25", "id" : 72, "temperature_C" : 227.200, "humidity" : 45, "pressure_hPa" : 1023.400, "mic" : "CHECKSUM"}\n']
Sep 24 20:20:12 rpi3 weewx[26968]: sdr: MainThread: packet={'pressure': None, 'inTemp': 227.2, 'usUnits': 16, 'dateTime': 1537813209}

Does anybody have an idea what could be causing this?

gjr80

unread,
Sep 24, 2018, 10:20:04 PM9/24/18
to weewx-user
Hi,

Could be any one of a number of things. Have you worked through the steps in the sdr driver readme? Might help to see some of the output from those steps along with a sanitised copy of weewx.conf. You can use wee_debug to produce a sanitised weewx.conf, just make sure you check the wee_debug output for sensitive info before posting, wee_debug does a good job at removing sensitive info but it's not perfect.

Gary

Tomasz End

unread,
Sep 25, 2018, 5:51:51 PM9/25/18
to weewx-user

Searching through the weewx-sdr sources I found this as a possible rootcause:

https://github.com/matthewwall/weewx-sdr/blob/master/bin/user/sdr.py#L974


pkt['pressure'] = Packet.get_float(obj, 'pressure') → is missing the _hPa extension, i.e. it should be

pkt['pressure'] = Packet.get_float(obj, 'pressure_hPa')


WH25 barometer values are now shown in the weewx graphics.

mwall

unread,
Sep 25, 2018, 7:19:48 PM9/25/18
to weewx-user
yup!  looks like there was a change in the rtl_433 output from 'pressure' to 'pressure_hPa'

weewx-sdr has been updated

thank you!
 
Reply all
Reply to author
Forward
0 new messages