Adding BME280 to WeeWX

92 views
Skip to first unread message

dave.sp...@gmail.com

unread,
May 11, 2022, 7:24:40 PM5/11/22
to weewx...@googlegroups.com

Ok, I have been doing a lot of research, but can’t seem to find what I need to do exactly.

 

My setup is as follows:

              WeeWX Version 4.5.1 running on a Raspberry Pi 3

              Station_type of SDR to get the weather data from acurite atlas 5-n-1.

 

I am trying to add a BME280. I have it connected to the same RPi that is running weewx. I can run a test program to verify that it does in fact get the temp, humidity, pressure, altitude.

 

What I would like to have done is when I go and view weewx web pages, I mainly want the barometer reading to populate. I am not too concerned about the others. With that being said does this mean that I need to have 2 instances of weewx running or can I add this sensor into the weewx.conf file and still have all of my SDR config.

 

Any help would be appreciated

Thanks

 

storm...@gmail.com

unread,
May 11, 2022, 9:19:36 PM5/11/22
to weewx-user
Take a look at this extension:
 
https://gitlab.com/wjcarpenter/bme280wx

Glenn Vadney

unread,
May 12, 2022, 12:33:31 AM5/12/22
to weewx-user
I am successfully using the BMP180 for barometer with weewx.  I followed this guys tutorial to the letter and it explains everything pretty well ... so I didn't have any issues at all.  I got 5 BMP180 sensors on Ebay.  They shipped from China & made it here in 6 days.  The author of the tutorial explains that the BMP180 is the most weewx friendly of the Baro sensors.  Don't know if that's true but I took him at his word and everything is working perfect for me.  You might want to go with the BMP180 and follow his tutorial and you will be good to go.  Here's the link & I would make a save a copy of his tutorial webpage just in case it were to go away while you are working on this issue:


Scroll down to the bottom where he discusses the barometer sensor add-on.  Good luck !!!!

GV

Glenn Vadney

unread,
May 12, 2022, 12:40:56 AM5/12/22
to weewx-user
Oh and I forgot to say that if you are using Python3 you will have to go into the "extra_sensors_service.py" and change line 23 to read : "except Exception as e:" and restart weewx.

GV

Reply all
Reply to author
Forward
0 new messages