Best way to run several copies of WeeWx

29 views
Skip to first unread message

DR

unread,
Feb 1, 2026, 4:03:10 PM (2 days ago) Feb 1
to 'Jon Fear' via weewx-user
Matthew Wall has a nice article on how to run several instances of WeeWx
in a Pi environment.


Have one which is stable and doing pretty much what I want it to now, I
am hoping to set  up, on the same Rasp Pi 5, another being fed with data
from a different station.

It came to mind that with virtual environments being championed as easy
to blow away and start fresh without interfering with other stuff
running on the Pi, to  set up another virtual environment, install WeeWx
again in there and be able to play around without endangering the
original setup I've got running.


Does this work OK?  Is there an advantage to running one install of
WeeWx and several configurations as Mr. Wall outlines in his Wiki
discussion on Github?  It was posted late in 2025 so I assume the
virtual environments were up and running at the time and the method of 
using multiple configurations was optimal?

Dale


Vince Skahan

unread,
Feb 1, 2026, 5:17:12 PM (2 days ago) Feb 1
to weewx-user
I’ve run as many as 4 easily on a pi5.  Just set up different x.conf y.conf z.conf files each pointing to different db names and public_html trees. Then enable/start weewx@x weewx@y weewx@z and so on.

I use pip here for other reasons but no reason it shouldn’t work for a packaged installation.

Systemd logging will be annoying by default so you might want to use rsyslogd and edit that utility’s conf file and uncomment the lines that make each instance log to its own file. Much easier to work out issues in one instance only.

If you go the multi route personally I’d not enable/default weewx.conf so you’ll remember that you’ll always need to specify which .conf file to run against but there aren’t any hard and fast rules.

Tom Keffer

unread,
Feb 1, 2026, 5:18:31 PM (2 days ago) Feb 1
to weewx...@googlegroups.com
You can use multiple virtual environments if you want, but there is no reason to.

The important thing is that each instance should have its own copy of weewx.conf, as well as the things it points to, particularly the database, and the HTML directory.

Skins, and extensions can be shared. You may or may not want to share the log --- it's up to you.

--
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/56ebaac4-bd45-45a9-b25b-0a6bbd56e095%40gmail.com.

DR

unread,
Feb 1, 2026, 5:26:50 PM (2 days ago) Feb 1
to weewx...@googlegroups.com
Thanks for the insight.  Knowing that one install of the Weewx stuff and
then individual files as noted for each station is important for me to know.


Thanks guys.  Dale


Reply all
Reply to author
Forward
0 new messages