Davis VP2, SDR, BMP280

132 views
Skip to first unread message

gary....@gmail.com

unread,
Jan 22, 2021, 9:52:25 PM1/22/21
to weewx-user
I have a retired friend who has been admiring my PWS and my website and now wishes his own.

He doesn't have any other way to obtain the data, so after suggesting the WLL or a logger and finding that his funds are tight, we decided on an SDR and a BMP280 in a Pi.

Thanks to Luc, the SDR is up and running. We interfaced with the BMP280, but I am unable to find a service to read the barometer info into WeeWX.

How do we go about adding the BMP to WeeWX with the SDR?



rob.s...@googlemail.com

unread,
Jan 23, 2021, 6:57:21 AM1/23/21
to weewx-user
I hacked sdr.py to add a pressure reading when it processes the packers from the other sensors. Seemed easier than tryi g to run a second service.

Greg Troxel

unread,
Jan 23, 2021, 8:55:40 AM1/23/21
to gary....@gmail.com, weewx-user

"gary....@gmail.com" <gary....@gmail.com> writes:

> Thanks to Luc, the SDR is up and running. We interfaced with the BMP280,
> but I am unable to find a service to read the barometer info into WeeWX.
>
> How do we go about adding the BMP to WeeWX with the SDR?

What I would do, perhaps more complicated than you need, is to run an
mqtt broker and publish the pressure and use MQTTSubscribe. But if
there's already a temp path, seems best to extend it for pressure.
(IIRC the BMP280 does not have humidity, and the BME280 does).

signature.asc

rob.s...@googlemail.com

unread,
Jan 23, 2021, 10:02:38 AM1/23/21
to weewx-user
I have just posted details of how to do it inside sdr.py. Seems a lot simpler that messing with the message queue.

gary....@gmail.com

unread,
Jan 24, 2021, 3:54:42 PM1/24/21
to weewx-user
I'll take a look at editing in the 280. Since it is a Davis, we have to use rtldavis, not the sdr.py driver. In the end, the SDR method gives the basic data that comes from the ISS. I may decide if I want to keep the WiFiLogger or the WLL and give the other to my friend. Either are easier in WeeWX, and more important for him, no worries about updating things. That's my main concern with editing/hacking a driver.

storm...@gmail.com

unread,
Jan 24, 2021, 5:33:38 PM1/24/21
to weewx-user
Take a look at this driver: https://gitlab.com/wjcarpenter/bme280wx.  It might work with the BMP280.

gary....@gmail.com

unread,
Jan 24, 2021, 7:41:15 PM1/24/21
to weewx-user
Excellent! Just what I was looking for.
Thanks!

Reply all
Reply to author
Forward
0 new messages