Weewx on Raspberry with Ecowitt clone and BME280

150 views
Skip to first unread message

Tomasz Lewicki

unread,
Sep 12, 2025, 3:31:51 PM (13 days ago) Sep 12
to weewx-user

Dear Weewx users.

I have a weather station (Ecowitt HP2550 clone) in which the internal temperature, pressure and humidity sensor (WN32P in Ecowitt terminology) is not working due to leaked battery. Of course, I can buy a new one, but I have a spare BME280 module at hand. Weewx runs on my Raspberry Pi which supports BME280 via I2C out-of-the-box. Is it possible to send readings from this module connected directly to the Raspberry to Weewx, and the other (wind, precipitation, etc.) from an external integrated module via WiFi? If so, how can this be achieved?

vince

unread,
Sep 12, 2025, 4:43:29 PM (13 days ago) Sep 12
to weewx-user

Tomasz Lewicki

unread,
Sep 13, 2025, 3:13:54 AM (13 days ago) Sep 13
to weewx-user
Thank you!

Tomasz Lewicki

unread,
Sep 16, 2025, 3:07:26 PM (9 days ago) Sep 16
to weewx-user

BME280 displays its readings in the logs every 2 seconds. Weewx uses almost 100% of the CPU. Is this normal? Can the frequency of readings be reduced, e.g., to every 60 seconds?


piątek, 12 września 2025 o 22:43:29 UTC+2 vince napisał(a):

Mark Fraser

unread,
Sep 16, 2025, 4:46:55 PM (9 days ago) Sep 16
to weewx-user
I made some changes to my version that stopped it logging as often.  https://gitlab.com/mfraz74/bme280wx/

--
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 weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/7e652ab9-6d88-447c-a0f4-c384e2c529b7n%40googlegroups.com.

Tomasz Lewicki

unread,
Sep 17, 2025, 3:31:26 AM (9 days ago) Sep 17
to weewx-user
Thank you, it's much better now :)

Mark Fraser

unread,
Sep 20, 2025, 4:05:39 AM (6 days ago) Sep 20
to weewx...@googlegroups.com

I've installed weewx from the repository and when I tried to run the extension weewx complained about permissions to access i2c, should I need to add weewx to the i2c group with:

sudo usermod -a -G i2c weewx


Mark.

Mark Fraser

unread,
Sep 20, 2025, 6:41:37 AM (5 days ago) Sep 20
to weewx-user
I've also installed this as I seem to be having problems with my WH25/WH32B and I've noticed that $trend.barometer.raw isn't changing. 

vince

unread,
Sep 20, 2025, 12:02:35 PM (5 days ago) Sep 20
to weewx-user
Sure. The weewx user, whichever user that is, needs permissions to access any hardware. 

If you run a pip installation as the default user pi you get that with no action required. If you run a dpkg installation (user weewx) or use pip with any non-default user you will likely need to add them to whichever group your particular os requires to access your hardware.

On Saturday, September 20, 2025 at 1:05:39 AM UTC-7 Mark Fraser wrote 
Reply all
Reply to author
Forward
0 new messages